Top "Spatial" questions

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

Adding scale bar to ggplot map

I've produced this map in ggplot2: library(maptools); library(ggplot2) data(wrld_simpl) world <- fortify(wrld_simpl) worldUk &…

r map ggplot2 spatial
SQL Geometry find all points in a radius

I am fluent in SQL but new to using the SQL Geometry features. I have what is probably a very …

sql spatial spatial-query
How can I speed up this Sql Server Spatial query?

I have (what I think) is a simple Sql Server spatial query: Grab all the USA States that exist inside …

sql-server-2008 performance spatial spatial-index
How to remove the box frame in "plot.raster" in R package "raster"

I need to remove the box frame around the figure in R package "raster", but I cannot figure out which …

r plot spatial raster
Create Grid in R for kriging in gstat

lat long 7.16 124.21 8.6 123.35 8.43 124.28 8.15 125.08 Consider these coordinates, these coordinates correspond to weather stations that measure rainfall data. The intro to the gstat …

r spatial kriging gstat
Getting a slot's value of S4 objects?

So I have a spatialpolygons object in R; but I am not sure why I am unable to retrieve the "…

r spatial s4
find the nearest location by latitude and longitude in postgresql

Hi i'm trying find the nearest location by latitude and longitude in postgresql database.But when i run the below …

sql postgresql spatial
System.Data.Spatial DbGeography.Distance units?

When measuring the distance between two locations using the DbGeography.Distance(otherLocation) what is the unit of the distance? Even …

c# gps entity-framework-5 spatial
R: How can I count how many points are in each cell of my grid?

I have made a reference grid, cells 50x50m, based on GPS locations of a collared animal. I want to …

r spatial sp
3D clustering Algorithm

Problem Statement: I have the following problem: There are more than a billion points in 3D space. The goal is …

algorithm 3d cluster-analysis spatial data-partitioning