Hi GeoNetwork-Users,
I'm a little bit confused when using GetRecordbyId. Although I set
"elementSetName" to "full", GN gives me not all the information that I see
when using the webinterface.
For example:
Visit http://129.187.38.216:8080/geonetwork/srv/en/main.home & press Search.
Then sort by Rating and the first Metadata-Record should be "Forest Area
Map 1990 of Mecklenburg Vorpommern". With "Metadata" I can see the
properties of that record, no problem so far.
The id of this record by example is 544ee4cc-f102-448d-86ff-fcba4ffe5424.
So, imho, the following csw-request should give me all the information that
I see in the webinterface:
http://129.187.38.216:8080/geonetwork/srv/en/csw?request=GetRecordById
<http://129.187.38.216:8080/geonetwork/srv/en/csw?request=GetRecordById&elem
entSetName=full&service=CSW&version=2.0.2&id=544ee4cc-f102-448d-86ff-fcba4ff
e5424>
&elementSetName=full&service=CSW&version=2.0.2&id=544ee4cc-f102-448d-86ff-fc
ba4ffe5424
That works & there is some information, but not all. For example I miss the
temporal extent or the metadata author.
Why are these not shown even when elementSetName is full?
Can anybody give me a hint how I can get GN to give me all information when
using csw?
Thanks a lot,
Michael
Hi Michael,
Can anybody give me a hint how I can get GN to give me all information when
using csw?
By default outputSchema parameter is set to csw:Record (dublin core format),
you have to define another output schema is you want to see the whole
metadata.
Try to specify the outpuSchema csw:IsoRecord, you will get the whole iso
metadata record.
http://129.187.38.216:8080/geonetwork/srv/en/csw?request=GetRecordById&elementSetName=full&service=CSW&version=2.0.2&id=544ee4cc-f102-448d-86ff-fcba4ffe5424&OutputSchema=csw:IsoRecord
HTH,
Cheers,
Mathieu
Thanks a lot,
Michael
------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with
Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code
to
build responsive, highly engaging applications that combine the power of
local
resources and data with the reach of the web. Download the Adobe AIR SDK
and
Ajax docs to start building applications today-
http://p.sf.net/sfu/adobe-com
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork
--
Mathieu Coudert
mcoudert@anonymised.com