Tagged Questions
6
votes
1answer
733 views
Performance Gain Through GIST Index for Point in Polygon Query
I have two tables: locations(id,region_id,the_geom) and regions(id,the_geom). For each location point I want to determine the region it is located in:
UPDATE locations SET region_id =
(SELECT id ...
3
votes
1answer
362 views
Shorter Version of this SpatiaLite Query
I've been doing some spatial queries using spatialite, and they're large enough that a spatial index becomes a must. An example of using an index is given in the tutorial
spatialite> SELECT ...
5
votes
3answers
2k views
ST_Intersection slow query
I am trying to perform an intersection between two layers:
Polyline layer representing some roads (~5500 rows)
Polygon layer representing irregularly shaped buffers around various points of interest ...