spatial-query Questions
1
I have implemented a simple spatial indexing schema based on bounding boxes by following the SQLite R*Tree tutorial, which has given me the following schema:
CREATE VIRTUAL TABLE events_region USI...
Haileyhailfellowwellmet asked 3/2, 2015 at 5:49
2
Solved
I have a database with various defined polygons which represent the outer boundarys of buildings on a map of a business park.
If I perform a Select within Management Studio, I get a result similar...
Particiaparticipant asked 30/1, 2015 at 13:46
4
I want to convert geom (geometry) datatype to GeoJSON. How could I do that?
For example, the geometry in WKT:
POLYGON((455216.346127297 4288433.28426224,455203.386722146 4288427.76317716,455207....
Jamshid asked 21/3, 2016 at 20:50
2
Solved
I have a list of points P=[p1,...pN] where pi=(latitudeI,longitudeI).
Using Python 3, I would like to find a smallest set of clusters (disjoint subsets of P) such that every member of a cluster is...
Westminster asked 31/10, 2018 at 2:34
1
I need to find all properties that are contained in a user searched location; a location can be a city, county etc. Every property has a lat and long which can be used to create a POINT in MySQL. T...
Refectory asked 5/8, 2017 at 16:23
1
I need to do a spatial intersection between two spatial tables with a geometry column in each within SQL Server 2016. I have a piece of T-SQL where I take a single set of polygons from one table (t...
Glume asked 16/1, 2018 at 18:46
2
I am trying to create a Circle Geometry in MySQL using the co-ordinates of the center and a radius. I searched everywhere...all i could find in the MySQL doc on the site were for polygons. May be i...
Fulltime asked 10/6, 2013 at 18:6
2
Solved
I would like to know what people suggest as efficient ways of doing a spatial query in an Amazon Web Services SimpleDB?
By spatial query I mean finding objects in a given radius of a latitude and ...
Cataphyll asked 7/8, 2012 at 9:56
2
Solved
I am fluent in SQL but new to using the SQL Geometry features. I have what is probably a very basic problem to solve, but I haven't found any good resources online that explain how to use geometry ...
Outburst asked 10/2, 2014 at 6:10
4
Solved
I have a table containing about 500 points and am looking for duplicates within a tolerance. This takes less than a second and gives me 500 rows. Most have a distance of zero because it gives the s...
Warder asked 30/12, 2013 at 4:48
2
Solved
I am writing from two varChar formatted columns named 'lattitude' and 'longitude' to a Point formatted column named 'coordinate' using the statement below.
"UPDATE table_name SET coordinate = Poin...
Thundersquall asked 20/4, 2013 at 1:53
3
Solved
I'm having some fun trying to pick a decent SQL Server 2008 spatial index setup for a data set I am dealing with.
The dataset is polygons, representing contours over the whole globe. There are 106...
Hackworth asked 27/5, 2010 at 12:14
2
I am working on Grails 1.3.2 with MySql. I need to store the latitude and longitude of certain locations in the database and then on the basis of the user's current location, I need to return the i...
Sachiko asked 13/7, 2010 at 10:30
1
Solved
Does The Microsoft StCrosses() function for Geography data support Spatial Index?
When I try to execute this function with Spatial Index I get this error message:
"The query processor could not p...
Deepseated asked 6/6, 2012 at 9:25
1
Solved
I am trying to work out the most efficient query to get points within a radius of a given point. The results do not have to be very accurate so I would favor speed over accuracy.
We have tried usi...
Appliance asked 16/6, 2011 at 12:13
3
Solved
I am currently writing a plugin for a game where one feature includes the ability to set areas defined by 2 two dimensional coordinates ( The upper left and lower right areas of a rectangle). These...
Romanaromanas asked 30/5, 2011 at 18:33
2
Solved
I am looking to refactor this method (from Massive.cs by Rob Conery):
public static void AddParam(this DbCommand cmd, object item) {
var p = cmd.CreateParameter();
p.ParameterName = string.Forma...
Songer asked 13/4, 2011 at 23:39
1
Solved
I have a table in a MySQL database with a spatial geometry column of type POINT. I'd like to be able to take a point at the center of a map and find all records within X miles (or whatever di...
Help asked 9/7, 2010 at 0:44
5
Solved
We have a list of x,y pairs. Every pair represents a point on a 2D space. I want to find the closest point from this list, to a specific point xq,yq. What is the best performance-critical algorithm...
Shirleneshirley asked 28/10, 2009 at 20:3
4
Solved
I have a list of records in my database and each record is associated with a zip code.
What is the "best-practice" for querying all the records in my database to find all entries that are within n...
Analogical asked 9/2, 2009 at 9:21
1
© 2022 - 2025 — McMap. All rights reserved.