Changes between Version 10 and Version 11 of ExtendedRegions


Ignore:
Timestamp:
Jan 3, 2013, 6:39:21 AM (12 years ago)
Author:
jesseeichar
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ExtendedRegions

    v10 v11  
    125125The !XmlSearch API will be modified so the geom parameter can either be WKT or have the form: region:id, where id is the id of the region to use as a geometry.  If the region has a geometry then that geometry will be loaded otherwise the bbox will be used to create a polygon geometry.
    126126
    127 The !CatalogSearcher (part of Csw !GetRecords) will be modified to replace elements with the attribute gml:id which have the form: region:id
     127For example:
     128
     129 * Search for metadata intersecting with france:
     130  * http://localhost:8080/geonetwork/srv/eng/q?fast=index&from=1&to=20&geometry=region: http%3A%2F%2Fgeonetwork-opensource.org%2Fregions%2368
     131 * Search within the union of France and Switzerland
     132  * http://localhost:8080/geonetwork/srv/eng/q?fast=index&from=1&to=20&geometry=region:kantone:22,kantone:10
     133
     134The !CatalogSearcher (part of Csw !GetRecords) will be modified to replace elements with the attribute gml:id which have the form: region:id.
     135
     136For example:
     137
     138
     139'''Implementation Notes'''
    128140
    129141The actual implementation will consist of the services and a strategy object that can be configured the geonetwork configuration files.  The intention is that for a particular application the strategy object can be implemented and configured for use.  The default implementation will be the current implementation factored out into the strategy object.
     142
     143The main strategy object is called:
     144
     145RegionsDAO which is the entry point into searching and querying regions.  See the javadocs of this class for information on how to use the class and implement new custom regions strategies.
    130146
    131147'''Example URLS'''