[GeoSciML] RE : srsName, srsDimension, and GML shapes [SEC=UNCLASSIFIED]

Simon.Cox at csiro.au Simon.Cox at csiro.au
Tue Oct 23 02:50:21 EDT 2012


The rule should check for an SRS designator on _either_ an envelope on the collection of which the geometry is a member, _or_ another geometry within which the geometry of interest is nested. 

-----Original Message-----
From: geosciml-bounces+simon.cox=csiro.au at lists.opengeospatial.org [mailto:geosciml-bounces+simon.cox=csiro.au at lists.opengeospatial.org] On Behalf Of Oliver.Raymond at ga.gov.au
Sent: Tuesday, 23 October 2012 2:26 PM
To: geosciml at lists.opengeospatial.org
Subject: Re: [GeoSciML] RE : srsName, srsDimension, and GML shapes [SEC=UNCLASSIFIED]

Thanks Eric,

So it looks like if you have this at the top of your WFS instance:

<wfs:FeatureCollection>
	<wfs:boundedBy>
		<gml:Envelope srsName="http://www.opengis.net/def/crs/EPSG/0/4939" srsDimension="3">
			<gml:lowerCorner>-25.014 119.014 88</gml:lowerCorner>
			<gml:upperCorner>-25.0 119.0 210</gml:upperCorner>
		</gml:Envelope>
	</wfs:boundedBy>

then all geometries of wfs:members of the collection are assumed to use the same SRS unless specifically stated otherwise.

That simplifies things a bit.  It suggests that the Schematron rule should check for a parent gml:Envelope with srsName and srsDimension at the top of the WFS response, then any further checking for srs is not needed?

Cheers,
Ollie

__________________________________________________________________

Ollie Raymond
Senior Geologist  - Information Management  |  Continental Geology Section Minerals and Natural Hazards Division  |  GEOSCIENCE AUSTRALIA

Oceania Councillor & Interoperability Working Group IUGS Commission for the Management and Application of Geoscience Information __________________________________________________________

Phone:  +61 2 6249 9575    Fax:  +61 2 6249 9971
Email:  Oliver.Raymond at ga.gov.au    Web:  www.ga.gov.au
Cnr Jerrabomberra Avenue and Hindmarsh Drive, Symonston, ACT GPO Box 378, Canberra, ACT, 2601, Australia

Applying geoscience to Australia's most important challenges
 



 

-----Original Message-----
From: geosciml-bounces+oliver.raymond=ga.gov.au at lists.opengeospatial.org [mailto:geosciml-bounces+oliver.raymond=ga.gov.au at lists.opengeospatial.org] On Behalf Of Boisvert, Eric
Sent: Tuesday, 23 October 2012 11:11
To: A mailing list for GeoSciML
Subject: [GeoSciML] RE : srsName, srsDimension, and GML shapes [SEC=UNCLASSIFIED]

interesting: 07-036 (GML 3.2) Clause 9.10, p. 54





For convenience in constructing feature and feature collection instances, the value of the srsName attribute on the gml:Envelope which is the value of the gml:boundedBy property of the feature shall be inherited by all directly expressed geometries in all properties of the feature or members of the collection, unless overruled by the presence of a local srsName. Thus it is not necessary for a geometry to carry a srsName attribute, if it uses the same coordinate reference system as given on the gml:boundedBy property of its parent feature. Inheritance of the coordinate reference system continues to any depth of nesting, but if overruled by a local srsName declaration, then the new coordinate reference system is inherited by all its children in turn.

Notwithstanding this rule, all the geometries used in a feature or feature collection may carry srsName attributes, in order to indicate the reference system used locally, even if they are the same as the parent.


if I read correctly, srsName are inherited from parent elements, you just need to define a new one when you local srsName is different from the parent (essentially, overriding it)


________________________________
De : geosciml-bounces+eric.boisvert=rncan-nrcan.gc.ca at lists.opengeospatial.org [geosciml-bounces+eric.boisvert=rncan-nrcan.gc.ca at lists.opengeospatial.org] de la part de Oliver.Raymond at ga.gov.au [Oliver.Raymond at ga.gov.au] Date d'envoi : 22 octobre 2012 19:33 À : geosciml at lists.opengeospatial.org Objet : [GeoSciML] srsName, srsDimension, and GML shapes [SEC=UNCLASSIFIED]

Hi all,

            <sams:shape>
                        <gml:CompositeCurve gml:id="DDH123.curve" srsDimension="3" srsName="http://www.opengis.net/def/crs/EPSG/0/4939">
                                    <gml:description>The 'real-world' shape of the drill hole. This is calculated from the borehole survey data.</gml:description>
                                    <gml:curveMember>
                                                <gml:LineString gml:id="DDH123.curve.segment.1" srsDimension="3" srsName="http://www.opengis.net/def/crs/EPSG/0/4939">
                                                            <gml:posList srsDimension="3" srsName="http://www.opengis.net/def/crs/EPSG/0/4939">
                                                                        -25.0 119.0 210
                                                                        -25.0 119.01 177
                                                            </gml:posList>
                                                </gml:LineString>
                                    </gml:curveMember>

There are 3 places that you can encode srsName and srsDimension for a curved borehole shape - in gml:CompositeCurve, gml:LineString, and gml:posList.  Currently the GeoSciML v3.0 schematron enforces srsDimension and srsName in the top two levels in the hierarchy (ie, CompositeCurve and LineString), but not in posList.

I just would like to check in which elements srsDimension and srsName are actually required.  In two or all three elements?  In just the top element?  Is there a hard and fast encoding rule, or is there just a convention?

Cheers,
Ollie

__________________________________________________________________

Ollie Raymond
Senior Geologist  - Information Management  |  Continental Geology Section Minerals and Natural Hazards Division  |  GEOSCIENCE AUSTRALIA

Oceania Councillor & Interoperability Working Group IUGS Commission for the Management and Application of Geoscience Information __________________________________________________________

Phone:  +61 2 6249 9575    Fax:  +61 2 6249 9971
Email:  Oliver.Raymond at ga.gov.au<mailto:Oliver.Raymond at ga.gov.au>    Web:  www.ga.gov.au<http://www.ga.gov.au/>
Cnr Jerrabomberra Avenue and Hindmarsh Drive   Symonston   ACT
GPO Box 378   Canberra   ACT   2601   Australia

Applying geoscience to Australia's most important challenges





Geoscience Australia Disclaimer: This e-mail (and files transmitted with it) is intended only for the person or entity to which it is addressed. If you are not the intended recipient, then you have received this e-mail by mistake and any use, dissemination, forwarding, printing or copying of this e-mail and its file attachments is prohibited. The security of emails transmitted cannot be guaranteed; by forwarding or replying to this email, you acknowledge and accept these risks.
-------------------------------------------------------------------------------------------------------------------------

Geoscience Australia Disclaimer: This e-mail (and files transmitted with it) is intended only for the person or entity to which it is addressed. If you are not the intended recipient, then you have received this e-mail by mistake and any use, dissemination, forwarding, printing or copying of this e-mail and its file attachments is prohibited. The security of emails transmitted cannot be guaranteed; by forwarding or replying to this email, you acknowledge and accept these risks.
-------------------------------------------------------------------------------------------------------------------------




More information about the GeoSciML mailing list