[auscope-geosciml] GSML namespace prefixes [SEC=UNCLASSIFIED]

Oliver.Raymond at ga.gov.au Oliver.Raymond at ga.gov.au
Wed Aug 31 21:25:04 EDT 2011


Hi all,

Gilly's email of 24 August listing the GSMLv3 namespace prefixes was incorrect (I should read my emails more closely...).  The namespace prefixes are stipulated in the version 3.0 UML model and XML schemas as follows:

gsml       GeoSciML-Core
gsmlbh   Borehole
gmslu     CGI_Utilities
gsmlc     Collection
gsmlem  EarthMaterial
gsmlga   GeologicAge
gsmlst    GeologicStructure
gsmlgt    GeologicTimescale
gsmlgu   GeologicUnit
gsmlgm  Geomorphology
gsmlla    LaboratoryAnalysis-Specimen
gsmltrs  TemporalReferenceSystem
gsmlpp   PhysicalProperties
gsmlp     Portrayal

For consistency, we should all be using these prefixes in our services.  If you wish to change these namespace prefixes (I haven't seen a reason to yet) then we need to change them in the UML and the schemas so that there is no confusion about what to use.

The only possible opportunity for confusion is that the prefix for GeoSciML version 2 ("gsml") is the same for GeoSciML-Core in version 3.  Is that a problem?  You won't be mixing GeoSciML versions in your services, will you?

Cheers,
Ollie

_______________________________________________________________________

Ollie Raymond

Project Leader
National Geological Maps and Data Standards Project<http://www.ga.gov.au/minerals/projects/current-projects/geological-maps-standards.html>
Geoscience Australia

Interoperability Working Group<https://www.seegrid.csiro.au/wiki/bin/view/CGIModel/InteroperabilityWG>
IUGS Commission for the Management and Application of Geoscience Information

Address: GPO Box 378, Canberra, ACT, 2601, Australia | ABN: 80 091 799 039
Ph: +61 2 62499575  |  Fax: +61 2 62479992  |  Email: oliver.raymond at ga.gov.au<mailto:oliver.raymond at ga.gov.au>  |  Google Map<http://maps.google.com/maps?f=q&hl=en&geocode=&q=canberra+australia&ie=UTF8&ll=-35.344028,149.158362&spn=0.007684,0.016404&t=h&z=17&iwloc=addr&om=1>
_______________________________________________________________________

--- This message was created with 100% recycled electrons ---

________________________________
From: auscope-geosciml-bounces at lists.arcs.org.au [mailto:auscope-geosciml-bounces at lists.arcs.org.au] On Behalf Of Alistair Ritchie
Sent: Thursday, 1 September 2011 9:39 AM
To: auscope-geosciml at lists.arcs.org.au
Subject: Re: [auscope-geosciml] RE : GeoSciML v3.0 instance documents top feature?

The former. The latter is a hack.

From: auscope-geosciml-bounces at lists.arcs.org.au [mailto:auscope-geosciml-bounces at lists.arcs.org.au] On Behalf Of Bruce.Simons at dpi.vic.gov.au
Sent: Thursday, 1 September 2011 11:36
To: auscope-geosciml at lists.arcs.org.au
Subject: Re: [auscope-geosciml] RE : GeoSciML v3.0 instance documents top feature?

I understand that the server replaces the namespace abbreviation.
However, if a service is providing both GeoSciML v2, v3 and Portrayal the filter doesn't know which version of  GeologicUnit to query unless the namespace is included. So this query works:

http://geology.data.vic.gov.au/services-test/geosciml/testbed/250k/wfs?SERVICE=WFS&VERSION=1.1.0&REQUEST=GetFeature&TYPENAME=gsmlp:GeologicUnitView&MAXFEATURES=1

but this won't:
http://geology.data.vic.gov.au/services-test/geosciml/testbed/250k/wfs?SERVICE=WFS&VERSION=1.1.0&REQUEST=GetFeature&TYPENAME=GeologicUnitView&MAXFEATURES=1

So all the querys have to have the full namespace or we agree on abbreviations. Yes?

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:        "Boisvert, Eric" <Eric.Boisvert at RNCan-NRCan.gc.ca>
To:        <auscope-geosciml at lists.arcs.org.au>
Date:        01/09/2011 08:35 AM
Subject:        [auscope-geosciml] RE :  GeoSciML v3.0 instance documents top feature?
Sent by:        auscope-geosciml-bounces at lists.arcs.org.au
________________________________



>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 <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 <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 <http://www.someserver.com/wfs.cgi> ? SERVICE=WFS&
VERSION=2.0.0&REQUEST=GetFeature&NAMESPACES=xmlns(myns,http://www.someserver.com<http://www.someserver.com/>),xmlns(yourns,http://www.someotherserver.com<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 <http://xmlns.geosciml.org/GeoSciML-Core/3.0> "
      xmlns:cgu="http://xmlns.geosciml.org/Utilities/3.0 <http://xmlns.geosciml.org/Utilities/3.0> "
      xmlns:gt="http://xmlns.geosciml.org/GeologicTime/3.0 <http://xmlns.geosciml.org/GeologicTime/3.0> "
      xmlns:gbh="http://xmlns.geosciml.org/Borehole/3.0 <http://xmlns.geosciml.org/Borehole/3.0> "
      xmlns:glab="http://xmlns.geosciml.org/LaboratoryAnalysis-Specimen/3.0 <http://xmlns.geosciml.org/LaboratoryAnalysis-Specimen/3.0> "
      xmlns:gpp="http://xmlns.geosciml.org/PhysicalProperties/3.0 <http://xmlns.geosciml.org/PhysicalProperties/3.0> "
      xmlns:trs="http://xmlns.geosciml.org/TemporalReferenceSystem/3.0 <http://xmlns.geosciml.org/TemporalReferenceSystem/3.0> "
      xmlns:gsmlc="http://xmlns.geosciml.org/Collection/3.0 <http://xmlns.geosciml.org/Collection/3.0> "
      xmlns:gsmlem="http://xmlns.geosciml.org/EarthMaterial/3.0 <http://xmlns.geosciml.org/EarthMaterial/3.0> "
      xmlns:gsmlga="http://xmlns.geosciml.org/GeologicAge/3.0 <http://xmlns.geosciml.org/GeologicAge/3.0> "
      xmlns:gsmlgm="http://xmlns.geosciml.org/Geomorphology/3.0 <http://xmlns.geosciml.org/Geomorphology/3.0> "
      xmlns:gsmlgu="http://xmlns.geosciml.org/GeologicUnit/3.0 <http://xmlns.geosciml.org/GeologicUnit/3.0> "
      xmlns:gsmlst="http://xmlns.geosciml.org/GeologicStructure/3.0 <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 <http://xmlns.geosciml.org/GeoSciML-Core/3.0> "
      xmlns:gsmlcgu="http://xmlns.geosciml.org/Utilities/3.0 <http://xmlns.geosciml.org/Utilities/3.0> "
      xmlns:gsmlgt="http://xmlns.geosciml.org/GeologicTime/3.0 <http://xmlns.geosciml.org/GeologicTime/3.0> "
      xmlns:gsmlbh="http://xmlns.geosciml.org/Borehole/3.0 <http://xmlns.geosciml.org/Borehole/3.0> "
      xmlns:gsmllab="http://xmlns.geosciml.org/LaboratoryAnalysis-Specimen/3.0 <http://xmlns.geosciml.org/LaboratoryAnalysis-Specimen/3.0> "
      xmlns:gsmlpp="http://xmlns.geosciml.org/PhysicalProperties/3.0 <http://xmlns.geosciml.org/PhysicalProperties/3.0> "
      xmlns:trs="http://xmlns.geosciml.org/TemporalReferenceSystem/3.0 <http://xmlns.geosciml.org/TemporalReferenceSystem/3.0> "
      xmlns:gsmlc="http://xmlns.geosciml.org/Collection/3.0 <http://xmlns.geosciml.org/Collection/3.0> "
      xmlns:gsmlem="http://xmlns.geosciml.org/EarthMaterial/3.0 <http://xmlns.geosciml.org/EarthMaterial/3.0> "
      xmlns:gsmlga="http://xmlns.geosciml.org/GeologicAge/3.0 <http://xmlns.geosciml.org/GeologicAge/3.0> "
      xmlns:gsmlgm="http://xmlns.geosciml.org/Geomorphology/3.0 <http://xmlns.geosciml.org/Geomorphology/3.0> "
      xmlns:gsmlgu="http://xmlns.geosciml.org/GeologicUnit/3.0 <http://xmlns.geosciml.org/GeologicUnit/3.0> "
      xmlns:gsmlgs="http://xmlns.geosciml.org/GeologicStructure/3.0 <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/ <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 <http://xmlns.geosciml.org/GeoSciML-Core/3.0> "
      xmlns:cgu="http://xmlns.geosciml.org/Utilities/3.0 <http://xmlns.geosciml.org/Utilities/3.0> "
      xmlns:gt="http://xmlns.geosciml.org/GeologicTime/3.0 <http://xmlns.geosciml.org/GeologicTime/3.0> "
      xmlns:gbh="http://xmlns.geosciml.org/Borehole/3.0 <http://xmlns.geosciml.org/Borehole/3.0> "
      xmlns:glab="http://xmlns.geosciml.org/LaboratoryAnalysis-Specimen/3.0 <http://xmlns.geosciml.org/LaboratoryAnalysis-Specimen/3.0> "
      xmlns:gpp="http://xmlns.geosciml.org/PhysicalProperties/3.0 <http://xmlns.geosciml.org/PhysicalProperties/3.0> "
      xmlns:trs="http://xmlns.geosciml.org/TemporalReferenceSystem/3.0 <http://xmlns.geosciml.org/TemporalReferenceSystem/3.0> "
      xmlns:gsmlc="http://xmlns.geosciml.org/Collection/3.0 <http://xmlns.geosciml.org/Collection/3.0> "
      xmlns:gsmlem="http://xmlns.geosciml.org/EarthMaterial/3.0 <http://xmlns.geosciml.org/EarthMaterial/3.0> "
      xmlns:gsmlga="http://xmlns.geosciml.org/GeologicAge/3.0 <http://xmlns.geosciml.org/GeologicAge/3.0> "
      xmlns:gsmlgm="http://xmlns.geosciml.org/Geomorphology/3.0 <http://xmlns.geosciml.org/Geomorphology/3.0> "
      xmlns:gsmlgu="http://xmlns.geosciml.org/GeologicUnit/3.0 <http://xmlns.geosciml.org/GeologicUnit/3.0> "
      xmlns:gsmlst="http://xmlns.geosciml.org/GeologicStructure/3.0 <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 <http://xmlns.geosciml.org/Utilities/3.0> "
schemaLocation="http://schemas.geosciml.org/cgiutilities/3.0/cgiUtilities.xsd <http://schemas.geosciml.org/cgiutilities/3.0/cgiUtilities.xsd> "

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

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

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

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

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

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

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

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

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

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

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

namespace="http://xmlns.geosciml.org/Geomorphology/3.0 <http://xmlns.geosciml.org/Geomorphology/3.0> "
schemaLocation="http://schemas.geosciml.org/geomorphology/3.0/geomorphology.xsd <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 <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 <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.







_______________________________________________
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/f74a34cb/attachment.htm>


More information about the GeoSciML mailing list