W3C home > Mailing lists > Public > www-zig@w3.org > June 2005

Re: Explain file for Geo searches

From: Eliot Christian <echristi@usgs.gov>
Date: Tue, 14 Jun 2005 18:28:38 -0400
Message-Id: <6.2.0.14.0.20050614182214.04470720@gsvaresm06.er.usgs.gov>
To: Dr Robert Sanderson <azaroth@liverpool.ac.uk>
Cc: www-zig@w3.org, Archie Warnock <warnock@awcubed.com>

At 05:55 PM 6/14/2005, Dr Robert Sanderson wrote:

>>  (dc.title any "water")and(geo.coordinates geo.overlap/geo.coordinate 
>> "-106.7,25.8,-93.5,36.5")
>
>geo.overlap could be cql.within/cql.partial

OK, I've changed the demonstrator at http://www.gils.net/sru-geo.html to 
generate

   (dc.title any "water")and(geo.coordinates 
cql.within/cql.partial/geo.coordinate "-106.7,25.8,-93.5,36.5")

>>I see how to encode the index "geo.coordinates" in the Explain file, but 
>>I don't see how to encode "geo.overlap" and "geo.coordinate". Can anyone 
>>help me here?
>
>
>You need to put them within a configInfo section in the index.
>
><index>
>   <map><name set="geo">coordinates</name></map>
>   <configInfo>
>     <supports type="relation">within</supports>
>     <supports type="relationModifier">geo.coordinate</supports>
>     <supports type="relationModifier">cql.partial</supports>
>   </configInfo>
></index>
>
>This allows us to include a lot of information without having to include a 
>bunch of new elements.\

OK, I've changed the Explain file at 
http://www.serach.gov/scienceExplain.xml to include:

   <index search="true" scan="false" sort="false">
     <title>coordinates</title>
     <map><name>coordinates</name></map>
     <map><name set="gils">coordinates</name></map>
     <map><name set="geo">coordinates</name></map>
     <configInfo>
       <supports type="relation">within</supports>
       <supports type="relationModifier">geo.coordinate</supports>
       <supports type="relationModifier">cql.partial</supports>
     </configInfo>
   </index>

Thanks!

Eliot
Received on Tuesday, 14 June 2005 22:29:01 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 29 October 2009 06:12:23 GMT