[OSGeo-Standards] Proposal for Open Search Geo extension support of point and line

Pedro Gonçalves pereira.goncalves at gmail.com
Fri Jan 28 03:22:36 EST 2011


Hi Douglas

Probably the Geo Extension already covers that request using the geometry parameter.
With this you can specify a WKT (POINT, LINESTRING, POLYGON, MULTIPOINT, MULTILINESTRING, MULTIPOLYGON) directly on this parameter 
Something like 

http://example.com/?q=pizza&geometry=LINESTRING(-111.032,42.943,-119.856,43.039)&format=rss

http://example.com/?q=pizza&geometry=POINT(-111.032,42.943)&format=rss

would this be in accordance with your needs ? 

btw... the geo:rss elements are in fact used in the atom xml response not in the request http parameters

best regards

Pedro

On Jan 26, 2011, at 3:31 PM, Douglas J Newman wrote:

> 
> The NASA ECHO project (www.echo.nasa.gov) is in the process of
> providing a search capability, via an ESIP interface (using the Open
> Search standard with Geo extension), by point and line.
> 
> The current implementation can be seen at https://api.echo.nasa.gov/echo-esip/
> 
> The http://www.georss.org/simple specification (which I believe the
> geo
> extension is based on) provides this support and we would like to
> propose
> it's addition to the open search geo spec.
> 
> For example,
> 
> Example URL templates:
> 
> http://example.com/?q={searchTerms}&pw={startPage?}&line={geo:line?}&format=rss
> 
> http://example.com/?q={searchTerms}&pw={startPage?}&point={geo:point?}&format=rss
> 
> Example requests:
> 
> http://example.com/?q=pizza&line=-111.032,42.943,-119.856,43.039&format=rss
> 
> http://example.com/?q=pizza&point=-111.032,42.943,-&format=rss
> 
> I note that the section of the Geo extension on atom responses has the
> element,
> 
> <georss:line>40.73763 -73.9972 40.73519 -73.99167 40.737015 -73.99035
> 40.73643 -73.98914 40.734640 -73.990431 40.731617 -73.991504</
> georss:line>
> 
> we propose an additional element for point,
> 
> <georss:point>40.73763 -73.9972</georss:point>
> 
> Please let us know if this is proposal is acceptable._______________________________________________
> Standards mailing list
> Standards at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/standards

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/standards/attachments/20110128/bef3079c/attachment.html


More information about the Standards mailing list