Difference between revisions of "CEDEUS CSW"

From stgo
Jump to: navigation, search
(Created page with ">> return to Cedeus IDE ---- Geonode comes with pyCSW installed (see [http://pycsw.org/faq/ FAQ pyCSW]). A request can look like that: http://datos.cedeus.cl/catalogue/c...")
 
(Using GeoNode CSW)
 
(7 intermediate revisions by one user not shown)
Line 1: Line 1:
 
>> return to [[Cedeus IDE]]
 
>> return to [[Cedeus IDE]]
 
----
 
----
 +
There exists two options to retrieve metadata from GeoNode:
 +
* using OGC CSW standard, and
 +
* using the GeoNode - Django API.
  
Geonode comes with pyCSW installed (see [http://pycsw.org/faq/ FAQ pyCSW]). A request can look like that:
+
 
  http://datos.cedeus.cl/catalogue/csw?service=CSW&version=2.0.2&request=GetRecords&typenames=csw:Record&elementsetname=full&resulttype=
+
=== Using GeoNode CSW ===
As one can see it includes spatial and non-spatial records. Another option is to use a CSW plugin for GeoServer (but this is of course not installed for GeoNode).
+
 
 +
Geonode comes with pyCSW installed (see [http://pycsw.org/faq/ FAQ pyCSW]).  
 +
The general backend is:
 +
http://datos.cedeus.cl/catalogue/csw
 +
And a request can look like that:
 +
  http://datos.cedeus.cl/catalogue/csw?service=CSW&version=2.0.2&request=GetRecords&typenames=csw:Record&elementsetname=full&resulttype=results
 +
As one can see the results include spatial and non-spatial records (i.e. the first document below is a pdf). Another option is to use a CSW plugin for GeoServer (but this is of course not installed for GeoNode).
 +
 
 +
[[image:Screenshot-csw-output.png|center|600px|CSW Output - Screenshot]]
 +
 
 +
=== Using GeoNode API ===
 +
 
 +
when using the Search field of GeoNode an API request is done. However, unfortunately the response seems to be a html document. So, I am not sure we can use this for a search from a remote website.
 +
 
 +
A GET request (as send from the search field) looks like this:
 +
http://datos.cedeus.cl/search/api?type=all&limit=10&sort=none&start=0&q=Copiapo
 +
 
 +
And the response starts like this:
 +
{"success": true, "facets": {"map": 0, "layer": 2, "raster": 1, "vector": 1, "user": 0, "document": 0},
 +
"results": [{"category": "imageryBaseMapsEarthCover", "rating": 0.0, "_type": "layer", "name": "cediz-images:COPIAPO", "links": ...

Latest revision as of 11:07, 13 October 2016

>> return to Cedeus IDE


There exists two options to retrieve metadata from GeoNode:

  • using OGC CSW standard, and
  • using the GeoNode - Django API.


Using GeoNode CSW

Geonode comes with pyCSW installed (see FAQ pyCSW). The general backend is:

http://datos.cedeus.cl/catalogue/csw

And a request can look like that:

http://datos.cedeus.cl/catalogue/csw?service=CSW&version=2.0.2&request=GetRecords&typenames=csw:Record&elementsetname=full&resulttype=results

As one can see the results include spatial and non-spatial records (i.e. the first document below is a pdf). Another option is to use a CSW plugin for GeoServer (but this is of course not installed for GeoNode).

CSW Output - Screenshot

Using GeoNode API

when using the Search field of GeoNode an API request is done. However, unfortunately the response seems to be a html document. So, I am not sure we can use this for a search from a remote website.

A GET request (as send from the search field) looks like this:

http://datos.cedeus.cl/search/api?type=all&limit=10&sort=none&start=0&q=Copiapo

And the response starts like this:

{"success": true, "facets": {"map": 0, "layer": 2, "raster": 1, "vector": 1, "user": 0, "document": 0}, 
"results": [{"category": "imageryBaseMapsEarthCover", "rating": 0.0, "_type": "layer", "name": "cediz-images:COPIAPO", "links": ...