[georss] [Mass-Market-GEO] OpenSearch Geo - Feedback

Noyori Tatsuya nojorin at gmail.com
Thu Oct 11 09:49:49 EDT 2007


Hi Andrew,

I would like to suggest that OpenSearch has the following search functions.

  1. distance search to geo object.
  2. time search to time object.
  3. term search to term object.

I think PostGIS has distance search function. The syntax is as follows:

SELECT * from Table WHERE distance( geo_column, 'POINT(Lon, Lat)') ) = Distance;

This function is very useful.

Also, I like Google syntax like the following.

http://www.google.co.jp/search?q=site%3Awww.georss.org+point

This means  searchTerms="site:www.georss.org point ". I like this
'name':'value' syntax.

So I would like to suggest the following syntax.

  1. distance search to geo object.

      searchTerms="point:139.745411 35.658632 distance:10km"

  2. time search to time object.

     searchTerms="dateTime:2007-10-11T22:30:00+09:00"
     searchTerms="period:2007-10-11T22:30:00+09:00 2007-10-11T23:00:00+09:00"

  3. term search to words.

     searchTerms="temperature"
     searchTerms="temperature:10"
     searchTerms="temperature:10 20"
                         this means    10<= temperature <= 20

  4. mixed search examples.

      searchTerms="feed:http://earthquake.usgs.gov/eqcenter/catalogs/eqs7day-M5.xml
point:139.745411 35.658632 distance:10km
period:2007-10-11T22:30:00+09:00 2007-10-11T23:00:00+09:00 magnitude:5
15"

I think this function is very useful. How do you think?

Best regards,

-- 
Tatsuya Noyori (^o^)/


More information about the georss mailing list