[auscope-geosciml] change to geosciml-portrayal xml schema [SEC=UNCLASSIFIED]

Boisvert, Eric Eric.Boisvert at RNCan-NRCan.gc.ca
Tue Feb 28 19:09:31 EST 2012


The caveat is that a client relying on the xsd to discover queriable fields won't see those extra fields, unless the DescribeFeatureType returns an extra schemaLocation that leads to the definition of the extra fields (but it will probably require a specific client).

But +1 nonetheless.

________________________________
De : auscope-geosciml-bounces at lists.arcs.org.au [mailto:auscope-geosciml-bounces at lists.arcs.org.au] De la part de Stephen M Richard
Envoyé : 28 février 2012 19:07
À : auscope-geosciml at lists.arcs.org.au
Objet : Re: [auscope-geosciml] change to geosciml-portrayal xml schema [SEC=UNCLASSIFIED]

Slightly modified response from our OneGeology US gsmlp service on GeoServer
(http://services.azgs.az.gov/geoserver/ows?service=wfs&version=1.1.0&request=GetFeature&typeName=GeologicUnitView&maxfeatures=5)

<gml:featureMember>
                              <gsmlp:GeologicUnitView gml:id="GeologicUnitView.13132">
                                             <gsmlp:identifier>GMNApoly.1645</gsmlp:identifier>
                                             <gsmlp:name>Miocene sedimentary rock</gsmlp:name>
                                             <gsmlp:description>Miocene sedimentary rock; GMNA poly ID 1645</gsmlp:description>
                                             <gsmlp:geologicunittype>Geologic Unit</gsmlp:geologicunittype>
                                             <gsmlp:rank>Not Specified</gsmlp:rank>
                                             <gsmlp:lithology>Sedimentary rock</gsmlp:lithology>
                                             <gsmlp:geologichistory>Miocene</gsmlp:geologichistory>
                                             <gsmlp:source>OGU.DataSources.3</gsmlp:source>
                                             <gsmlp:geologicunittype_uri>http://resource.geosciml.org/classifier/cgi/geologicunittype/0008</gsmlp:geologicunittype_uri>
                                             <gsmlp:representativelithology_uri>http://resource.geosciml.org/classifier/cgi/lithology/0234</gsmlp:representativelithology_uri>
                                             <gsmlp:representativeage_uri>http://resource.geosciml.org/classifier/ics/ischart/Miocene</gsmlp:representativeage_uri>
                                             <gsmlp:representativelowerage_uri>http://resource.geosciml.org/classifier/ics/ischart/Miocene</gsmlp:representativelowerage_uri>
                                             <gsmlp:representativeupperage_uri>http://resource.geosciml.org/classifier/ics/ischart/Miocene</gsmlp:representativeupperage_uri>
                                             <gsmlp:specification_uri>http://www.opengis.net/def/nil/OGC/0/missing</gsmlp:specification_uri>
                                             <gsmlp:metadata_uri>http://metadata.usgin.org/resource/4e6b8f72f7d6c3856f092c6b8501c570/html</gsmlp:metadata_uri>
                                             <gsmlp:genericsymbolizer>mT</gsmlp:genericsymbolizer>
                                             <gsmlp:shape>
                                                            <gml:Polygon srsDimension="2" srsName="urn:x-ogc:def:crs:EPSG:4326">
                                                                           <gml:exterior>
                                                                                          <gml:LinearRing>
                                                                                                         <gml:posList>34.06000165000006 -118. ....</gml:posList>
                                                                                          </gml:LinearRing>
                                                                           </gml:exterior>
                                                            </gml:Polygon>
                                             </gsmlp:shape>
<!-extra stuff -->
                                             <gsmlp:gml_geometry_property>shape</gsmlp:gml_geometry_property>
                                             <gsmlp:globalid>{9D8FC488-9C58-4415-9620-49FF363CC724}</gsmlp:globalid>
                                             <gsmlp:st_area_shape_>0.01357042</gsmlp:st_area_shape_>
                              </gsmlp:GeologicUnitView>
               </gml:featureMember>

Or from ArcGIS server (http://services.azgs.az.gov/ArcGIS/services/OneGeology/USGIN_AZGS_Geology_WFS/MapServer/WFSServer?service=wfs&version=1.1.0&request=GetFeature&typeName=GeologicUnitView&maxfeatures=5)


<gml:featureMember>
               <gsmlp:GeologicUnitView gml:id='F9__1'>
                              <gsmlp:identifier>GMNApoly.1646</gsmlp:identifier>
                              <gsmlp:name>Paleogene intermediate volcanic rocks</gsmlp:name>
                              <gsmlp:description>Paleogene intermediate rocks; GMNA poly ID 1646</gsmlp:description>
                              <gsmlp:geologicunittype>Geologic Unit</gsmlp:geologicunittype>
                              <gsmlp:rank>Not Specified</gsmlp:rank>
                              <gsmlp:lithology>Intermediate volcanic rock</gsmlp:lithology>
                              <gsmlp:geologichistory>Paleogene</gsmlp:geologichistory>
                              <gsmlp:source>OGU.DataSources.3</gsmlp:source>
                              <gsmlp:geologicunittype_uri>http://resource.geosciml.org/classifier/cgi/geologicunittype/0008</gsmlp:geologicunittype_uri>
                              <gsmlp:representativelithology_uri>http://resource.geosciml.org/classifier/cgi/lithology/0224</gsmlp:representativelithology_uri>
                              <gsmlp:representativeage_uri>http://resource.geosciml.org/classifier/ics/ischart/Paleogene</gsmlp:representativeage_uri>
                              <gsmlp:representativelowerage_uri>http://resource.geosciml.org/classifier/ics/ischart/Paleogene</gsmlp:representativelowerage_uri>
                              <gsmlp:representativeupperage_uri>http://resource.geosciml.org/classifier/ics/ischart/Paleogene</gsmlp:representativeupperage_uri>
                              <gsmlp:specification_uri>http://www.opengis.net/def/nil/OGC/0/missing</gsmlp:specification_uri>
                              <gsmlp:metadata_uri>http://catalog.usgin.org/geoportal/catalog/publication/downloadMetadata.jsp?uuid={C6952CDC-3093-4617-AAB8-39E2714A9D28}</gsmlp:metadata_uri>
                              <gsmlp:genericsymbolizer>pgTvi</gsmlp:genericsymbolizer>
                              <gsmlp:gml_geometry_property>shape</gsmlp:gml_geometry_property>
                              <gsmlp:st_area_shape_>0.043552010000000002</gsmlp:st_area_shape_>
                              <gsmlp:st_length_shape_>0</gsmlp:st_length_shape_>
                              <gsmlp:shape>
                                             <gml:MultiSurface>
                                                            <gml:surfaceMember>
                                                                           <gml:Polygon>
                                                                                          <gml:exterior>
                                                                                                         <gml:LinearRing>
                                                                                                                        <gml:posList> 34.547954034000043 -114.85510453699993 ...</gml:posList>
                                                                                                         </gml:LinearRing>
                                                                                          </gml:exterior>
                                                                           </gml:Polygon>
                                                            </gml:surfaceMember>
                                             </gml:MultiSurface>
                              </gsmlp:shape>
<!-here's the extra stuff... -->
                              <gsmlp:objectid>1</gsmlp:objectid>
                              <gsmlp:gml_id>GeologicUnitView.GMNApoly.1646</gsmlp:gml_id>
                              <gsmlp:shape_Length>1.3122734570727288</gsmlp:shape_Length>
                              <gsmlp:shape_Area>0.043552007793930266</gsmlp:shape_Area>
               </gsmlp:GeologicUnitView>
</gml:featureMember>

Stephen M. Richard
Arizona Geological Survey
416 W. Congress St., #100
Tucson, Arizona, 85701   USA
phone: 520 209-4127
AZGS Main: (520) 770-3500.  FAX: (520) 770-3505
email: steve.richard at azgs.az.gov

From: auscope-geosciml-bounces at lists.arcs.org.au [mailto:auscope-geosciml-bounces at lists.arcs.org.au] On Behalf Of Oliver.Raymond at ga.gov.au
Sent: Tuesday, February 28, 2012 4:52 PM
To: auscope-geosciml at lists.arcs.org.au
Subject: Re: [auscope-geosciml] change to geosciml-portrayal xml schema [SEC=UNCLASSIFIED]

Hi Steve,

Seems OK at first look.  Could you provide an example instance xml fragment containing "some added stuff (like Atom)".

Cheers,
Ollie

_______________________________________________________________________

Ollie Raymond

Section Leader
National Geological Maps and Data Standards Section<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 62499917 | 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> [mailto:auscope-geosciml-bounces at lists.arcs.org.au]<mailto:[mailto:auscope-geosciml-bounces at lists.arcs.org.au]> On Behalf Of Stephen M Richard
Sent: Wednesday, February 29, 2012 10:45 AM
To: auscope-geosciml at lists.arcs.org.au<mailto:auscope-geosciml at lists.arcs.org.au>
Cc: celia Coleman
Subject: [auscope-geosciml] change to geosciml-portrayal xml schema

In many cases, there are additional fields that want to be tacked onto a WFS response (ESRI's objectID..., some fields I'd like to attach for compatibility with the USGS/AASG NCGMP09), and I'd like to propose we modify the schema to allow xs:any after the standard fields. This will allow schema valid docs with some added stuff (like Atom) without breaking interop based on the conventional fields,  and would be backward compatible with any existing schema-valid services. It looks something like this:

<complexType name="ShearDisplacementStructureViewType">
                              <complexContent>
                                             <extension base="gml:AbstractFeatureType">
                                                            <sequence>
                                                                           <element name="identifier" type="string"/>
                                                                           <element name="name" type="string" minOccurs="0"/>
                                                                           <element name="description" type="string" minOccurs="0"/>
                                                                           <element name="faultType" type="string" minOccurs="0"/>
                                                                           <element name="movementType" type="string" minOccurs="0"/>
                                                                           <element name="deformationStyle" type="string" minOccurs="0"/>
                                                                           <element name="displacement" type="string" minOccurs="0"/>
                                                                           <element name="geologicHistory" type="string" minOccurs="0"/>
                                                                           <element name="observationMethod" type="string" minOccurs="0"/>
                                                                           <element name="positionalAccuracy" type="string" minOccurs="0"/>
                                                                           <element name="source" type="string" minOccurs="0"/>
                                                                           <element name="faultType_uri" type="string"/>
                                                                           <element name="movementType_uri" type="string"/>
                                                                           <element name="deformationStyle_uri" type="string"/>
                                                                           <element name="representativeAge_uri" type="string">
                                                                           <element name="representativeLowerAge_uri" type="string"/>
                                                                           <element name="representativeUpperAge_uri" type="string"/>
                                                                           <element name="specification_uri" type="string"/>
                                                                           <element name="metadata_uri" type="string"/>
                                                                           <element name="genericSymbolizer" type="string" minOccurs="0"/>
                                                                           <element name="shape" type="gml:GeometryPropertyType"/>
                                                                           <any processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
                                                            </sequence>
                                             </extension>
                              </complexContent>
               </complexType>

Stephen M. Richard
Arizona Geological Survey
416 W. Congress St., #100
Tucson, Arizona, 85701   USA
phone: 520 209-4127
AZGS Main: (520) 770-3500.  FAX: (520) 770-3505
email: steve.richard at azgs.az.gov<mailto:steve.richard at azgs.az.gov>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengeospatial.org/pipermail/geosciml/attachments/20120229/7a1e3ded/attachment.htm>


More information about the GeoSciML mailing list