Top "Geospatial" questions

pertaining to the geographic location and characteristics of natural or constructed features and boundaries on, above, or below the earth's surface; esp.

Saving and restoring geometries in OpenLayers

Context: I'm a just-hours-old newbie at OpenLayers, please be gentle. Fundamentally, I have a map with some drawn objects on …

json persistence geospatial openlayers geojson
spatial clustering in R (simple example)

I have this simple data.frame lat<-c(1,2,3,10,11,12,20,21,22,23) lon<-c(5,6,7,30,31,32,50,51,52,53) data=data.frame(lat,lon) The idea is …

r geospatial spatial hierarchical-clustering
Units to use for maxdistance and MongoDB?

I am trying to get my head around MongoDB and geospatial searches. Basically what I want is for users to …

mongodb geospatial
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
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 get the bounding coordinates for a US postal(zip) code?

Is there a service/API that will take a postal/zip code and return the bounding(perimeter) coordinates so I …

sql-server geocoding geospatial
Create & Find GeoLocation in mongoose

I'm trying to save the longitude/latitude of a location in my user Model and query it with $geoNear. I've …

node.js mongodb mongoose mongodb-query geospatial
Get Distance in Meters instead of degrees in Spatialite

I have the following query: select distance(GeomFromText('POINT(8 49)',4326),GeomFromText('LINESTRING(8.329969 49.919323,8.330181 49.919468)',4326)) this gives me 0.97 degrees. But I need …

sql geospatial spatialite
MongoDB print distance between two points

When I am firing this query on MongoDB, I am getting all the places in the proximity of 500 miles to …

mongodb mongodb-query geospatial
R_Extracting coordinates from SpatialPolygonsDataFrame

Is it only me who have the problem with extracting coordinates of a polygon from SpatialPolygonsDataFrame object? I am able …

r geospatial slot