Top "Spatial" questions

Spatial data types store geometric data, that is data related to an object's position in space.

Intersecting Points and Polygons in R

I am working with shapefiles in R, one is point.shp the other is a polygon.shp. Now, I would …

r spatial shapefile intersect
Inserting coordinates into MySQL - PolyFromText SQL syntax error / returning null

I'm trying to insert geographic coordinates of a polygon into my MySQL database. I have a field named polygon of …

mysql polygon geospatial spatial
SpatialPolygons - Creating a set of polygons in R from coordinates

I am trying to take create a set of polygons from vertex locations, saved in X,Y format. Here is …

r spatial rgdal sp
leaflet with R: add text labels

This code is taken from this page: library(leaflet) leaflet(data = quakes[1:20,]) %>% addTiles() %>% addMarkers(~long, ~lat, popup = ~as.…

r leaflet geospatial data-visualization spatial
How to Import shape file into MySQL

I need to import the spatial data in shape file into MySQL tables. I am able to import into PostGreSQL. …

mysql import spatial shapefile
How to attach a simple data.frame to a SpatialPolygonDataFrame in R?

I have (again) a problem with combining data frames in R. But this time, one is a SpatialPolygonDataFrame (SPDF) and …

r merge polygon spatial dataframe
st_intersects Vs st_overlaps

What is the difference between these two queries : select a.gid, sum(length(b.the_geom)) from polygons as a , …

sql postgis spatial overlap
How to replace NA's in a raster object

I need to replace the NA's in the raster object (r) from the example below. library(raster) filename <- …

r spatial raster
Know of any C# spatial data libraries?

I'm looking at implementing spatial queries in .NET without using SQL2008. The first requirement is to be able to create …

c# .net spatial spatial-index
Spatial vs. Temporal locality

I understand the definitions of the terms, but I am having trouble applying their concepts to code. For an exercise, …

c spatial temporal