spatial Questions

5

Solved

I've produced this map in ggplot2: library(maptools); library(ggplot2) data(wrld_simpl) world <- fortify(wrld_simpl) worldUk <- subset(world, id=="GBR") ggplot() + geom_path(aes(long, lat, g...
Phagy asked 17/6, 2013 at 15:17

4

Solved

I found some open source R-Tree implementations in C#, but none with documentation nor signs of being used by someone else than the developer.
Birdsall asked 11/1, 2010 at 12:43

4

Solved

I have a SQL Server instance that I've added a linked server to another SQL instance. The table I'm accessing on the linked server contains spatial types. When I try to query the table I receive an...
Esquiline asked 11/3, 2011 at 21:53

4

I have a database-first .net core 3.1 web application which connects to SQL Server database table with a geography column. The database scaffolding and application build completes without any issue...
Sniggle asked 5/11, 2020 at 20:23

3

Before maptools and rgdal were deprecated, I used this code to import a shapefile, centroids csv and commuting count data, to create a flow map using the code below (I removed the ggplot code for l...
Doby asked 5/3 at 12:23

2

Solved

I am trying to change the CRS of a raster tif file. When I assign new CRS using the following code: with rio.open(solar_path, mode='r+') as raster: raster.crs = rio.crs.CRS({'init': 'epsg:27700'}...
Caen asked 18/2, 2020 at 20:27

3

Solved

I can query and get nearest locations to the client with degrees: serviceQuery = serviceQuery.Where(s => s.Location.Distance(currentLocation) < <degree>) .OrderBy(s => s.Location.D...

4

Solved

I have some models that use geospatial fields like POINT, POLYGON or MULTIPOLYGON. I would like to tell my model to process these attributes in a special way, for me to get the desired model attrib...
Pruritus asked 12/3, 2014 at 18:42

2

Solved

I have a database with various defined polygons which represent the outer boundarys of buildings on a map of a business park. If I perform a Select within Management Studio, I get a result similar...
Particiaparticipant asked 30/1, 2015 at 13:46

4

Solved

SF is the R-Spatial package designed to work with tidy syntax like dyplr and pipes. I would like to do a simple spatial filter on a simple features collection object. Given a simple features coll...
Espy asked 12/7, 2019 at 21:49

4

I am an R novice, especially when it comes to spatial data. I am trying to find a way to efficiently import multiple (~600) single-band raster (.tif) files into R, all stored in the same folder. No...
Julienne asked 10/10, 2018 at 18:50

2

Solved

I am new to geopandas and would like to plot only the outline of a polygon, similar to the function ST_Boundary() in PostGIS I have a geodataframe states containing polygons for each state states =...
Bornie asked 10/12, 2020 at 7:4

3

Solved

I'm trying to populate my DB with geographical places of my country. One of my tables have 4 fields: ID[PK], latitude. longitude ande geoPoint EDIT `SCDBs`.`Punto_Geografico`; SET @lat = 18.4696...
Excrescency asked 13/3, 2011 at 22:56

2

Solved

In my spring boot application, I am trying to store spatial data using spring data with hibernate (jpa). Full source code of minimal reproducing example is available at github. In my pom.xml, I hav...
Yuzik asked 1/8, 2019 at 13:14

2

Solved

I have a dataframe with two columns of type numeric. foo <- data.frame(replicate(2,sample(10.1:15.2,100,rep=TRUE))) X1 X2 1 13.1 15.1 2 13.1 11.1 3 13.1 15.1 4 10.1 13.1 5 15.1 11.1 6 13.1 11....
Checkroom asked 11/4, 2022 at 8:35

4

Solved

I want to do some spatial statistic analysis with the county-level crop yield data in Nebraska for the STAT class. For that I need the longitude and latitude of the geographic centroids of each cou...
Rahm asked 27/10, 2014 at 1:59

1

Solved

I am looking for an R package which can run "Spatial Vector Autoregression". tandfonline.com/doi/full/10.1080/17421770701346689 According to Chen and Conley (2001), this is a "vector...
Fireproofing asked 14/2, 2021 at 14:21

2

Solved

I'm making GIS maps in R using the sf package (and related packages) to read in shapefiles, and ggplot2 (and friends) for plotting. This works fine, but I can find no way to (automatically/programm...
Mortenson asked 6/2, 2020 at 0:34

3

I've downloaded from openstreetmaps administrative borders (city, region, country, etc...) in geoJson format. I'm trying to store the json data related to the polygons in my ms sql server using sp...
Blandishments asked 27/10, 2015 at 15:20

2

Solved

I am making a convex hull using the scipy.spatial package http://docs.scipy.org/doc/scipy/reference/generated/scipy.spatial.ConvexHull.html#scipy.spatial.ConvexHull I've tried searching, but have ...
Lowborn asked 14/7, 2015 at 10:55

3

Solved

The Question: What is the best way to calculate inverse distance weighted (IDW) interpolation in Python, for point locations? Some Background: Currently I'm using RPy2 to interface with R and its ...
Luu asked 23/6, 2010 at 19:18

2

Solved

I am looking for Ripley's k function implementation in Python. But so far haven't been able to find any spatial modules implementing this in scipy or elsewhere. I have created Voronoi tessellatio...
Catalano asked 23/4, 2015 at 16:8

0

I have a dataset that contains 100 million points. I need to spatially join them to the area they intersect with. I'm using sf and st_join, but unsurprisingly when I try to perform this operation m...
Catboat asked 24/8, 2021 at 13:36

0

I just downloaded spatial information from the National Wetlands Inventory (NWI). I'm trying to manipulate the geometries in R (st_transform, st_cast, st_crop, etc.), but I've never seen a geometry...
Areopagus asked 16/8, 2021 at 23:0

2

Solved

I'm trying to simulate some data for a project, and basically I need to draw an irregular oval-ish shape, then make a bunch of random points inside that shape, and I'm at a total loss for how to do...
Carma asked 12/8, 2021 at 16:31

© 2022 - 2024 — McMap. All rights reserved.