From 38150cca47c15426b03fcc27a3190f2dc57d7231 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A0=20Mercader?= Date: Fri, 18 Mar 2011 13:53:25 +0000 Subject: [PATCH] Update README with the new API call --- README.rst | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.rst b/README.rst index 2b58511..bc37f03 100644 --- a/README.rst +++ b/README.rst @@ -68,3 +68,22 @@ the config explicitly though:: paster harvester sources --config=../ckan/development.ini + +API +=== + +The extension adds the following call to the CKAN search API, which returns +packages with an extent that intersects with the bounding box provided:: + + /api/2/search/package/geo?bbox={minx,miny,maxx,maxy}[&crs={srid}] + +If the bounding box coordinates are not in the same projection as the one +defined in the database, a CRS must be provided, in one of the following +forms: + +- urn:ogc:def:crs:EPSG::4258 +- EPSG:4258 +- 4258 + + +