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
1 answer

Distance Value from RavenDB Spatial query

Is there a way to get the distance calculation value from RavenDB when doing a spatial search. I tried converting the suggested _ = SpatialIndex.Generate(r.Latitude, r.Longitude) to distance = SpatialIndex.Generate(r.Latitude,…
Eric Rohlfs
  • 1,811
  • 2
  • 19
  • 29
2
votes
1 answer

How to perform a geo search inside the difference of two circles in MongoDB=

Is it possible to perform a geospatial search in MongoDB in the resulting area from the difference of two circles. Let's say that I have a circle A of radius x and another circle B of radius y where y > x. I need to find all the points that are…
GuidoMB
  • 2,191
  • 3
  • 25
  • 40
2
votes
2 answers

Solr performance on EC2 for geospatial queries

EC2 Configuration mlarge machine - 4 CPU, 7.5G, EBS volume, JVM Memory - 6G, Solr Version tested on both 4.0-ALPHA and 3.6.1 schema.xml
curiosity
  • 73
  • 3
2
votes
1 answer

What's the tile format used by leaflet?

I'm planning a website which will use huge schematics, that is, raster images that are not photos. If they were photos and I were interested on displaying them as so, I would use either zoomify, IIPImage or PanoJS. Although all of these solutions…
dsign
  • 12,340
  • 6
  • 59
  • 82
2
votes
1 answer

MySql Geospatial bug..?

This question is for Mysql geospatial-extension experts. The following query doesn't the result that I'm expecting: create database test_db; use test_db; create table test_table (g polygon not null); insert into test_table (g) values…
sivabudh
  • 31,807
  • 63
  • 162
  • 228
2
votes
1 answer

Algorithm for routing through space filled with polygons

I have a (geographic) map built up of polygons depicting land and a boat trying to get from A to B without hitting any of the land. Preferably, it should follow the shortest available path. I have an algorithm that works most of the time, but it is…
Jaap Versteegh
  • 761
  • 7
  • 15
2
votes
1 answer

Best way to search a point across several polygons

I need to match a given point (lat, lon) against several polygons to decide if there is a match. The easiest way would be to iterate over each polygon and apply the point-in-polygon check algorithm, but that is prohibitively expensive. The next…
user1474341
  • 125
  • 1
  • 12
2
votes
1 answer

How to find points, sort them based on closeness, and get 1-20, 21-40, etc. Efficiently using Myisam and mysql and spatial index

Say I want to find 20 closest business near me. Latter I want to see the next 20 closest, etc. Yes I have myisam. I have spatial indexes on the point. I am looking for actual SQL command I should send. To make it clear: Note: I am using mysql…
user4951
  • 32,206
  • 53
  • 172
  • 282
2
votes
1 answer

R plot grid value on maps

I have several file with the following format: lat,lon,value. I would like to plot a colored grid map with such value for each one of the lat,lon point and overlapping it over the EU map. Thanks for support.
user1256539
2
votes
2 answers

update trigger updating all rows in target, not just updated?

I have a very suspicious feeling that this update trigger is updating ALL rows on the target, not just those that satisfy the "update(shape)" test. Performance was fine 'till I added the second operation. A single spatial join occurs much faster,…
tpcolson
  • 716
  • 1
  • 11
  • 27
2
votes
1 answer

Sql Server 2008 Spatial query slow

I have a database with a datatable within 2 000 000 lines with 1 geography type field containting Point. In another datatable I have 600 lines with 1 geography type field containting Polygon. This query to retrieve all the POINT in a POLYGON is very…
seb49
  • 107
  • 7
2
votes
1 answer

Solr Distance Filtering

I am trying to do distance range search using Solr. I know its very easy to do a search for filtering within the 5km range &q=*:*&fq={!geofilt pt=45.15,-93.85 sfield=store d=5} What I am after is how to do the same thing if I am looking in a range…
user975027
  • 319
  • 7
  • 11
2
votes
1 answer

Dividing a geographic region

I have a certain geographic region defined by the bottom left and top right coordinates. How can I divide this region into areas of 20x20km. I mean in practial the shape of the earth is not flat it's round. The bounding box is just an approximation.…
rajan sthapit
  • 4,194
  • 10
  • 42
  • 66
2
votes
1 answer

Intersecting Polygon in R, importing polygon for Spatial Clustering Analysis in Spatstat

I am trying to import a polygon into R using the readShapePoly command and turn the polygon in to a border using as(filename,"owin"). I keep getting the response that the polygon contains duplicate vertices and self-intersecting polygons: Polygon 1…
2
votes
2 answers

Is there a convenient way to create spatial index with Sqlalchemy or Geoalchemy?

Yesterday someone told me that Geoalchemy was a good choice to support spatial extensions if I want to use Sqlalchemy. It really did good. Thanks for him a lot. But I have not found a convenient way to create spatial index with Geoalchemy. Must I…
flypen
  • 2,515
  • 4
  • 34
  • 51