spatial Questions
1
Solved
I'm taking the code I use to create a static map to include on a shiny app. I have an issue though where the plot size is much larger than the actual plot, so the layout looks off. Is there any way...
2
Solved
What is the equivalent of DbGeography in EF core?
I want to convert the following code from EF to EF Core:
using System.Data.Entity.Spatial;
namespace Domain
{
public class City
{
public int C...
Vortical asked 10/7, 2021 at 7:6
1
Solved
I just noticed that terra::cellSize() produces cell area estimates that do not match those produced by raster::area().
First, why do these two methods not provide the same answer? Second, which est...
6
Solved
I have (again) a problem with combining data frames in R. But this time, one is a SpatialPolygonDataFrame (SPDF) and the other one is usual data.frame (DF). The SPDF has around 1000 rows the DF onl...
1
Solved
Does anyone know how to plot a map with a zoomed region adjacent to it similar to this:
A close answer can be found here:
R - Map Zoom Function, making the plot a circle rather than a square
But t...
2
Solved
I have a SpatialPointsDataFrame in R that looks like this:
coordinates id order hole piece group box_id
326 (-94.4, 27.6586) 47 1 FALSE 1 47.1 1
327 (-93.64, 27.6232) 47 2 FALSE 1 47.1 1
328 (...
3
Solved
I'm working with the HURDAT dataset to plot hurricane tracks.
I have currently produced a SpatialPointsDataFrame object in R which looks something like this for the year 2004.
> str(cluster.20...
0
I am modelling fish depth in a river based on acoustic tag detections (meaning the data are not exactly a perfectly spaced continuous time series). I predict that depth will differ based on spatial...
Clemons asked 3/3, 2021 at 17:20
5
Solved
Sorry for not included any example data for my problem. I couldn’t find a way to easily produce an example shape file. Hopefully, experienced users of ggplot can see what I’d like to do from the de...
2
Solved
Using the sf package in R, I am reading in a series of layers stored in a geopackage, filtering them and then re-saving them as a new geopackage.
When I set up my script I tested one of the layers ...
Shae asked 6/1, 2020 at 22:0
3
Solved
I would like to create a map showing the bi-variate spatial correlation between two variables. This could be done either by doing a LISA map of bivariate Moran's I spatial correlation or using the ...
Autarch asked 18/7, 2017 at 21:42
2
Dear stackoverflow readers,
I'm currently working on an application that has the requirement to load specific items based on its coordinates. Example: I want all shops from coordinates x or within...
Othaothe asked 2/5, 2013 at 8:47
2
I am looking to draw a radius around a lat long point, then use that buffer to filter other points that fit within it. For example:
#stores datasets
stores = data.frame(store_id = 1:3,
lat = c("4...
2
Solved
I'm trying to insert geographic coordinates of a polygon into my MySQL database. I have a field named polygon of type POLYGON, and I've tried running all of these queries but continue to get SQL sy...
Winegar asked 16/3, 2013 at 18:34
3
I've been banging my head on this one for days. I have a very simple query I'm trying to run in C#, it looks like this in the shell.
db.runCommand({geoNear: "items", near: {type: "Point", coordina...
Prosecutor asked 29/11, 2015 at 18:8
2
Solved
I have been following this workflow to convert coordinates from Eastings / Northings to Latitude / Longitude in R. Up until today it has been working fine. Here is a reproducible example:
require(...
5
Solved
Hi i'm trying find the nearest location by latitude and longitude in postgresql database.But when i run the below query it showing column distance does not exists.
ERROR: column "distance" does no...
Kufic asked 15/6, 2016 at 6:17
3
Solved
I have multiple sets of points (for different years ~20)
I want to generate thiessen polygons for each set of points using r spatial packages.
I know this can be done using GIS but as i want a b...
5
I'm getting org.hibernate.MappingException: No Dialect mapping for JDBC type: 2002 when I try to do a JPA nativeQuery to get a geometry field type.
I'm using Oracle and org.hibernatespatial.oracle...
1
Solved
I have some code that loops over a list of study IDs (ids) and turns them into separate polygons/spatial points. On the first execution of the loop it produces the following error:
Error in (funct...
4
Solved
I'm looking at implementing spatial queries in .NET without using SQL2008. The first requirement is to be able to create a (BTree styled) spatial index and be able to query it.
Although SQL ...
Iaria asked 2/2, 2010 at 13:54
1
Solved
I would like to rewrite the following query in a Predicate/Specification so that i can link them.
this query filters all my defined OptEvent Entitys within a specific area
@Query(value = "SELECT ...
Coagulant asked 8/4, 2020 at 10:47
3
Solved
I have a set of begin and end coordinates that look like this:
begin.coord <- data.frame(lon=c(-85.76,-85.46,-85.89), lat=c(38.34,38.76,38.31))
end.coord <- data.frame(lon=c(-85.72,-85.42,-8...
1
Solved
I am trying to get rid of the spatial geometry that falls outside of the shapefile boundary I read. Is it possible to do this without manual software like Photoshop? Or me manually removing the tra...
Claytonclaytonia asked 12/3, 2020 at 21:26
1
I would like to plot a legend with two axes. Specifically, I have combined two spatial objects that have been classified, the first showing intensity of an event and the second showing the probabil...
© 2022 - 2024 — McMap. All rights reserved.