[auscope-geosciml] RE : GeoSciML v3.0 instance documents top feature?

Alistair Ritchie RitchieA at landcareresearch.co.nz
Wed Aug 31 19:32:08 EDT 2011


"But some services (like Mapserver) "cheat" and assume that the prefix you use (eg TYPENAME=gsml:MappedFeature) will match the prefix exposed in the GetCapabilities."

Geoserver does the same. Deegree used to be very strict about it, forcing the use of the namespace KVP, but they have relaxed that recently. I think they even call it cheat mode.

From: auscope-geosciml-bounces at lists.arcs.org.au [mailto:auscope-geosciml-bounces at lists.arcs.org.au] On Behalf Of Boisvert, Eric
Sent: Thursday, 1 September 2011 10:36
To: auscope-geosciml at lists.arcs.org.au
Subject: [auscope-geosciml] RE : GeoSciML v3.0 instance documents top feature?

>Secondly, for query purposes, do we have to agree on these namespace abbreviations as part of the GeoSciML v3 profile?

No.  Only the namespace matters.  The prefix is just a shortcut that points to the full namespace.  You can take whatever you want, as long as the correct namespace is provided.

As far as the service is concerned, you can use xmlns:beer=<http://xmlns.geosciml.org/GeoSciML-Core/3.0>http://xmlns.geosciml.org/GeoSciML-Core/3.0 and beer:MappedFeature  must work. The XML parser internally replaces all "beer" occurences by "http://xmlns.geosciml.org/GeoSciML-Core/3.0".

Note, that namespace declaration shall also be declared in a KVP request (HTTP GET)

http://www.someserver.com/wfs.cgi? SERVICE=WFS&
VERSION=2.0.0&REQUEST=GetFeature&NAMESPACES=xmlns(myns,http://www.someserver.com),xmlns(yourns,http://www.someotherserver.com) ...

But some services (like Mapserver) "cheat" and assume that the prefix you use (eg TYPENAME=gsml:MappedFeature) will match the prefix exposed in the GetCapabilities.

Eric



________________________________
De: auscope-geosciml-bounces at lists.arcs.org.au de la part de Bruce.Simons at dpi.vic.gov.au
Date: mer. 2011-08-31 18:14
À: auscope-geosciml at lists.arcs.org.au
Objet : Re: [auscope-geosciml] GeoSciML v3.0 instance documents top feature?
Hi all,
Gilly has proposed the following namespaces:
        xmlns:gsml="http://xmlns.geosciml.org/GeoSciML-Core/3.0"
       xmlns:cgu="http://xmlns.geosciml.org/Utilities/3.0"
       xmlns:gt="http://xmlns.geosciml.org/GeologicTime/3.0"
       xmlns:gbh="http://xmlns.geosciml.org/Borehole/3.0"
       xmlns:glab="http://xmlns.geosciml.org/LaboratoryAnalysis-Specimen/3.0"
       xmlns:gpp="http://xmlns.geosciml.org/PhysicalProperties/3.0"
       xmlns:trs="http://xmlns.geosciml.org/TemporalReferenceSystem/3.0"
       xmlns:gsmlc="http://xmlns.geosciml.org/Collection/3.0"
       xmlns:gsmlem="http://xmlns.geosciml.org/EarthMaterial/3.0"
       xmlns:gsmlga="http://xmlns.geosciml.org/GeologicAge/3.0"
       xmlns:gsmlgm="http://xmlns.geosciml.org/Geomorphology/3.0"
       xmlns:gsmlgu="http://xmlns.geosciml.org/GeologicUnit/3.0"
       xmlns:gsmlst="http://xmlns.geosciml.org/GeologicStructure/3.0"

Firstly, for consistency and uniqueness purposes, shouldn't we use:
        xmlns:gsml30="http://xmlns.geosciml.org/GeoSciML-Core/3.0"
       xmlns:gsmlcgu="http://xmlns.geosciml.org/Utilities/3.0"
       xmlns:gsmlgt="http://xmlns.geosciml.org/GeologicTime/3.0"
       xmlns:gsmlbh="http://xmlns.geosciml.org/Borehole/3.0"
       xmlns:gsmllab="http://xmlns.geosciml.org/LaboratoryAnalysis-Specimen/3.0"
       xmlns:gsmlpp="http://xmlns.geosciml.org/PhysicalProperties/3.0"
       xmlns:trs="http://xmlns.geosciml.org/TemporalReferenceSystem/3.0"
       xmlns:gsmlc="http://xmlns.geosciml.org/Collection/3.0"
       xmlns:gsmlem="http://xmlns.geosciml.org/EarthMaterial/3.0"
       xmlns:gsmlga="http://xmlns.geosciml.org/GeologicAge/3.0"
       xmlns:gsmlgm="http://xmlns.geosciml.org/Geomorphology/3.0"
       xmlns:gsmlgu="http://xmlns.geosciml.org/GeologicUnit/3.0"
       xmlns:gsmlgs="http://xmlns.geosciml.org/GeologicStructure/3.0"

Secondly, for query purposes, do we have to agree on these namespace abbreviations as part of the GeoSciML v3 profile? If I use gsmlgs and others use gsmlst for "http://xmlns.geosciml.org/GeologicStructure/3.0<http://xmlns.geosciml.org/GeoSciML-Core/3.0>" then can a request to both services for 'Contact" be made, and if so is it only if the full namespace is included in the request?
If we have to agree on the abbreviations then this will need to be formally documented.

Cheers
Bruce Simons
----------------------------------------------------
Senior Information Systems Analyst
Prospectivity & Exploration, Earth Resources Development Division
IUGS-Commission for Geoscience Information Oceania Councillor
Level 9, 55 Collins St
PO Box 4440
Melbourne, Victoria, 3001
Australia

Ph: +61-3-9658 4502
Fax: +61-3-9658 4555
Mobile: +61 429 177155



From:        <Guillaume.Duclaux at csiro.au>
To:        <auscope-geosciml at lists.arcs.org.au>
Date:        24/08/2011 11:13 PM
Subject:        [auscope-geosciml] GeoSciML v3.0 instance documents top feature?
Sent by:        auscope-geosciml-bounces at lists.arcs.org.au
________________________________



Hi folks,

Could one of the WFS guru advised me on (1) what version of WFS, and (2) what top feature  should be used for drafting the instance doc?

<wfs:FeatureCollection> seems to be the most common top feature in the instance doc available here (https://www.seegrid.csiro.au/subversion/GeoSciML/branches/3.0.0/instances/), or should we use a <gsmlc:Collection>, or something else?

If you're looking for them, here is the list of all the GeoSciML v.3.0 namespaces:

       xmlns:gsml="http://xmlns.geosciml.org/GeoSciML-Core/3.0"
       xmlns:cgu="http://xmlns.geosciml.org/Utilities/3.0"
       xmlns:gt="http://xmlns.geosciml.org/GeologicTime/3.0"
       xmlns:gbh="http://xmlns.geosciml.org/Borehole/3.0"
       xmlns:glab="http://xmlns.geosciml.org/LaboratoryAnalysis-Specimen/3.0"
       xmlns:gpp="http://xmlns.geosciml.org/PhysicalProperties/3.0"
       xmlns:trs="http://xmlns.geosciml.org/TemporalReferenceSystem/3.0"
       xmlns:gsmlc="http://xmlns.geosciml.org/Collection/3.0"
       xmlns:gsmlem="http://xmlns.geosciml.org/EarthMaterial/3.0"
       xmlns:gsmlga="http://xmlns.geosciml.org/GeologicAge/3.0"
       xmlns:gsmlgm="http://xmlns.geosciml.org/Geomorphology/3.0"
       xmlns:gsmlgu="http://xmlns.geosciml.org/GeologicUnit/3.0"
       xmlns:gsmlst="http://xmlns.geosciml.org/GeologicStructure/3.0"

and the schema location associated to each namespace is as follow:

namespace="http://xmlns.geosciml.org/Utilities/3.0"
schemaLocation="http://schemas.geosciml.org/cgiutilities/3.0/cgiUtilities.xsd"

namespace="http://xmlns.geosciml.org/GeoSciML-Core/3.0"
schemaLocation="http://schemas.geosciml.org/geosciml-core/3.0/geosciml-core.xsd"

namespace="http://xmlns.geosciml.org/GeologicTime/3.0"
schemaLocation="http://schemas.geosciml.org/geotime/3.0/geologicTime.xsd"

namespace="http://xmlns.geosciml.org/Borehole/3.0"
schemaLocation="http://schemas.geosciml.org/borehole/3.0/borehole.xsd"

namespace="http://xmlns.geosciml.org/LaboratoryAnalysis-Specimen/3.0"
schemaLocation="http://schemas.geosciml.org/laboratoryanalysis-specimen/3.0/laboratoryAnalysis-Specimen.xsd"

namespace="http://xmlns.geosciml.org/PhysicalProperties/3.0"
schemaLocation="http://schemas.geosciml.org/physicalproperties/3.0/physicalProperties.xsd"

namespace="http://xmlns.geosciml.org/TemporalReferenceSystem/3.0"
schemaLocation="http://schemas.geosciml.org/temporalreferencesystem/3.0/trs.xsd"

namespace="http://xmlns.geosciml.org/Collection/3.0"
schemaLocation="http://schemas.geosciml.org/collection/3.0/collection.xsd"

namespace="http://xmlns.geosciml.org/EarthMaterial/3.0"
schemaLocation="http://schemas.geosciml.org/earthmaterial/3.0/earthMaterial.xsd"

namespace="http://xmlns.geosciml.org/GeologicAge/3.0"
schemaLocation="http://schemas.geosciml.org/geologicage/3.0/geologicAge.xsd"

namespace="http://xmlns.geosciml.org/GeologicStructure/3.0"
schemaLocation="http://schemas.geosciml.org/geologicstructure/3.0/geologicStructure.xsd"

namespace="http://xmlns.geosciml.org/GeologicUnit/3.0"
schemaLocation="http://schemas.geosciml.org/geologicunit/3.0/geologicUnit.xsd"

namespace="http://xmlns.geosciml.org/Geomorphology/3.0"
schemaLocation="http://schemas.geosciml.org/geomorphology/3.0/geomorphology.xsd"
Cheers

Gilly

Dr Guillaume Duclaux
CSIRO Earth Science and Resource Engineering
guillaume.duclaux at csiro.au<mailto:guillaume.duclaux at csiro.au>
Address: Australian Resources Research Centre, 26 Dick Perry Avenue, Kensington WA 6151



_______________________________________________
auscope-geosciml mailing list
auscope-geosciml at lists.arcs.org.au
http://lists.arcs.org.au/cgi-bin/mailman/listinfo/auscope-geosciml

Notice:
This email and any attachments may contain information that is personal, confidential,
legally privileged and/or copyright. No part of it should be reproduced, adapted or communicated without the prior written consent of the copyright owner.

It is the responsibility of the recipient to check for and remove viruses.

If you have received this email in error, please notify the sender by return email, delete it from your system and destroy any copies. You are not authorised to use, communicate or rely on the information contained in this email.

Please consider the environment before printing this email.







________________________________
Please consider the environment before printing this email
Warning: This electronic message together with any attachments is confidential. If you receive it in error: (i) you must not read, use, disclose, copy or retain it; (ii) please contact the sender immediately by reply email and then delete the emails.
The views expressed in this email may not be those of Landcare Research New Zealand Limited. http://www.landcareresearch.co.nz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengeospatial.org/pipermail/geosciml/attachments/20110901/d3c6e181/attachment.htm>


More information about the GeoSciML mailing list