Questions tagged [geospatial]

pertaining to the geographic location and characteristics of natural or constructed features and boundaries on, above, or below the earth's surface; esp. referring to data that is geographic and spatial in nature.

Geospatial (adj) Definition: pertaining to the geographic location and characteristics of natural or constructed features and boundaries on, above, or below the earth's surface; esp. referring to data that is geographic and spatial in nature.

[Source]

4809 questions
2
votes
2 answers

Calculate distance in Java Using MongoDB

I am working on location calculation in Java and MongoDB. I pass latitude and longitude to method and find nearest location from provided input. I am able to get Location name from my master table where i have all landmarks with latitude and…
swati
  • 21
  • 1
  • 3
2
votes
1 answer

How can I calculate dynamic default radius for map search based on population density of the area?

I am looking to do this for a community sublet advertising website, but theoretically the algorithm would be similar for any local search. The less populated the area searched, the higher should be the default radius to search. On the other hand…
fmalina
  • 6,120
  • 4
  • 37
  • 47
2
votes
1 answer

PostGIS SQL to generate separate line segments from a set of points, with varying IDs

All, I'm probably trying to push the SQL angle too far, but I need to generate simple two vertice line segment from a set of GPS tracking points as a feed from many vehicles(veh_id). The resulting line segments are also grouped in the input by…
blammo
  • 21
  • 3
1
vote
1 answer

mongomapper geospatial 'within' query

I'm trying to do a 'within' query using mongomapper. When I execute the command in the shell everything works fine: box = [[32.476750,-117.246094],[32.850173,-116.806641]] db.locations.find({"location" : {"$within" : {"$box" : box}}}) // Bunch of…
rforte
  • 1,167
  • 1
  • 11
  • 21
1
vote
0 answers

Django caching and spatial queries

This is a simple question and I'm not sure where to look up for the answer. Will Django honor any (or specifically memcached) caching strategy while running spatial queries? Or it will hit the database everytime? I have a certain process that I need…
George Silva
  • 3,454
  • 10
  • 39
  • 64
1
vote
1 answer

Geography Point data type requires longitude and latitude as a float, but suggested data type is decimal. Who's right?

If you see the Microsoft SQL Server 2008 R2 documentation for the Point data type it expects a latitude and longitude to be given as floats. However, this post on SO suggests that the better data type for storing long and lat is decimal(9,6). So,…
Rebecca
  • 13,914
  • 10
  • 95
  • 136
1
vote
1 answer

Pentaho Geokettle and Geospatial Analysis Tutorials/EBooks

I'm looking for good resources to refer to, when configuring geokettle. The docs folder in the installation does not contain a user guide. I have googled for tutorials to no avail. Searching community.pentaho.com does not seem to yield any useful…
Cassia
  • 93
  • 1
  • 12
1
vote
0 answers

mysql polygons (How to substitude the bounds)

I am storing the bounds returned by google. These are in the form of ne_lat, ne_lng, sw_lat and sw_lng coordinates. i was looking in mysql ploygons function for some implementation, here is sample function with some sample…
Suleman Siddiqui
  • 411
  • 2
  • 5
  • 16
1
vote
1 answer

Different result for Haversine formulas

I am using mysql to count the proximity and for that i have created one procedure named distance which is as follows but that procedure is not working properly but the sql statement is working so what is the difference over here as both are i guess …
Hunt
  • 8,215
  • 28
  • 116
  • 256
1
vote
2 answers

SpatialLite for Android NDK Geos Configure Error

I'm trying to build the following project for Android: http://code.google.com/p/spatialite-android/ Does anyone know why there may be errors when running ndk-build for LineIntersector.cpp? jni/geos-3.2.2/source/algorithm/LineIntersector.cpp:223:…
1
vote
2 answers

Is spacial search in P2P network possible?

I want to build a Javascript/HTML5 geolocation based social network and I wonder the best choice of possible architectures. Client-server can be simple to develop but drawback is the system ressources that could be very high, especially because the…
user1022668
1
vote
1 answer

points stored in geoJSON do not show up on map

I've got a geoJSON file consisting of: { "type": "FeautureCollection", "features": [ { "type": "Feature", "id": "1", "geometry": { "type": "Point", "coordinates": [ 5.709531, …
stUrb
  • 6,612
  • 8
  • 43
  • 71
1
vote
1 answer

Extract raster values of particular polygons of a SpatialPolygonsDataFrame (indexation)

I have a SpatialPolygonsDataFrame with 120 Polygons and some associated data. Now I’d like to extract the mean of the values on a raster within each polygon separately. I succeded in plotting individual polygons…
te_ar
  • 115
  • 1
  • 13
1
vote
1 answer

Inverse of the System.Device.Location.GeoCoordinate.GetDistanceTo() Method

I have an instance of GeoCoordinate from the Bing Maps Silverlight control. I'm trying to draw a line on the map control at a given bearing. My current approach is to: Figure out a distance suitable for the current ZoomLevel. Combine this distance…
Daniel Ballinger
  • 13,187
  • 11
  • 69
  • 96
1
vote
0 answers

AllegroGraph POINT function

I am using AllegroGraph's geospatial extensions for SparQL. However I have a trouble with POINT function. When I use HAVERSINE function for the points in the radius, I can't give custom points. However if I get a person's gelocation and give it…
Ozan Kılıç
  • 571
  • 2
  • 8
1 2 3
99
100