PiRSquared17 / stoqs

Automatically exported from code.google.com/p/stoqs
GNU General Public License v3.0
0 stars 0 forks source link

Add ability to select a geographic region from the map for addition to the query constraints #13

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Using either an OpenLayers polygon drawing widget or a Shift-mouse-click & drag 
operation get a geographic region and apply it to the query constraint. The 
text format for the geometric representation should be simple such that it is 
easily edited in a request URL.

ArcGIS online 9.3 describes a format that is a good candidate:

  http://resources.esri.com/help/9.3/arcgisserver/apis/rest/query.html

And OpenLayers presents options for various vector formats:

  http://openlayers.org/dev/examples/vector-formats.html

GeoDjango supports all of the OGC spatial lookups so actually performing the 
geospatial query should be straight-forward once the UI "plumbing" is in place:

  https://docs.djangoproject.com/en/dev/ref/contrib/gis/db-api/#spatial-lookup-compatibility

Original issue reported on code.google.com by MBARIm...@gmail.com on 25 Jul 2012 at 5:26

GoogleCodeExporter commented 9 years ago

Original comment by MBARIm...@gmail.com on 22 Jan 2014 at 5:56