[GeoNetwork-users] Retrieving FGDC XML Records Externally to GN

Dear Francois and everyone else,

I'd like to get the full XML FGDC record via an http Post from another server. I tried CSW, but could only get the Dublin Core pieces, less than 10% of the full FGDC record (If I understand right). I'm using this CSW request:

<csw:GetRecords xmlns:csw="http://www.opengis.net/cat/csw/2.0.2&quot; service="CSW" version="2.0.2"
                            resultType="results" startPosition="1" maxRecords="10">
                            <csw:Query>
                                <csw:ElementSetName>full</csw:ElementSetName>
                            </csw:Query>
                        </csw:GetRecords>

Is there some other way I can get the full XML FGDC record? I'm sure the answer is obvious, but I'm new to this.

Thanks,
Roger

Roger Bedell, President Sylvan Ascent Inc.
800-362-8971
+34 626 855 662
roger@anonymised.com <mailto:roger@anonymised.com>
www.sylvanascent.com <http://www.sylvanascent.com/&gt;
www.topodepot.com <http://www.topodepot.com/&gt;

Hi Sylvan,

On dim, 2008-11-23 at 14:58 -0500, Sylvan Ascent Inc. wrote:

Dear Francois and everyone else,

I'd like to get the full XML FGDC record via an http Post from another server. I tried CSW, but could only get the Dublin Core pieces, less than 10% of the full FGDC record (If I understand right). I'm using this CSW request:

<csw:GetRecords xmlns:csw="http://www.opengis.net/cat/csw/2.0.2&quot; service="CSW" version="2.0.2"
                            resultType="results" startPosition="1" maxRecords="10">
                            <csw:Query>
                                <csw:ElementSetName>full</csw:ElementSetName>
                            </csw:Query>
                        </csw:GetRecords>

Is there some other way I can get the full XML FGDC record? I'm sure the answer is obvious, but I'm new to this.

Have a look to the SearchController, retrieveMetadata method:

if (schema.equals("fgdc-std") || schema.equals("dublin-core") ||
schema.equals("iso19115"))
   if (outSchema != OutputSchema.OGC_CORE)
     return null;

For non iso19139 records, via CSW you could only retrieve dublin core
information (in brief/summary or full mode). If you want to add FGDC
support, you should probably extend CSW and add a new outputSchema and
then take care of that schema in the GetRecords operation.

Another option is to use the xml.metadata.get?id=XYZ service of
GeoNetwork.

HTH.

Francois

Dear Francois,
Can you tell me more about (like how do I use it, where do I find the documentation etc) :slight_smile:

"Another option is to use the xml.metadata.get?id=XYZ service of
GeoNetwork."

Thanks!!
Roger

Good day people,

Just out of context, can someonne help me with converting the table below
to degrees, minutes and seconds
Your help will be highly appreciated (you can just send me the formula.

Bayanda James
GIS Officer

Regional Office for Southern Africa (ROSA)
UN Office for the Coordination of Humanitarian Affairs (OCHA)
Merafe House, 11 Naivasha Road
Sunninghill 2157 - Johannesburg, South Africa
Tel.: +27 11 517 1594; Fax: +27 11 517 1638
Direct: +27 11 517 1589; Cell: +27 72 415 0975
E-mail: jamesb@anonymised.com
http://ochaonline.un.org/rosa

"Sylvan Ascent Inc." <sylvanascent@anonymised.com>
11/24/2008 12:43 PM

To
<francois-xavier.prunayre@anonymised.com>
cc
GeoNetwork-users@lists.sourceforge.net
Subject
Re: [GeoNetwork-users] Retrieving FGDC XML Records Externally to GN

Dear Francois,
Can you tell me more about (like how do I use it, where do I find the
documentation etc) :slight_smile:

"Another option is to use the xml.metadata.get?id=XYZ service of
GeoNetwork."

Thanks!!
Roger

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the
world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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

(attachments)

TEST.xlsx (9.12 KB)

After rummaging around in Nabble, I found this:

Here is an exemple :
- first you do an xml search :
http://localhost:8080/geonetwork/srv/en/xml.search?any=africa
- then you parse your xml result, and loop over each id
- then you proceed to a specific xml metadata search by id, for each id :
http://localhost:8080/geonetwork/srv/en/xml.metadata.get?id=n

That is sure easy! I'm more impressed with GN every day.

Roger Bedell, President Sylvan Ascent Inc.
800-362-8971
+34 626 855 662
roger@anonymised.com <mailto:roger@anonymised.com>
www.sylvanascent.com <http://www.sylvanascent.com/&gt;
www.topodepot.com <http://www.topodepot.com/&gt;

________________________________

From: Sylvan Ascent Inc. [mailto:sylvanascent@anonymised.com]
Sent: Mon 11/24/2008 5:43 AM
To: francois-xavier.prunayre@anonymised.com
Cc: GeoNetwork-users@lists.sourceforge.net
Subject: Re: [GeoNetwork-users] Retrieving FGDC XML Records Externally to GN

Dear Francois,
Can you tell me more about (like how do I use it, where do I find the documentation etc) :slight_smile:

"Another option is to use the xml.metadata.get?id=XYZ service of
GeoNetwork."

Thanks!!
Roger

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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

Hi Roger,
There's a fair bit of documentation on GeoNetwork directly accessible from the Help link in the user interface of GeoNetwork, both in HTML and PDF format.
Ciao,
Jeroen

On Nov 24, 2008, at 11:43 AM, Sylvan Ascent Inc. wrote:

where do I find the documentation