[auscope-geosciml] RE : GeoSciML-Portrayal Schema [SEC=UNCLASSIFIED]
Alistair Ritchie
RitchieA at landcareresearch.co.nz
Thu Aug 4 21:04:11 EDT 2011
If I remember correctly the _ notation denotes an abstract type.
Out of curiosity I replaced all the substitutionGroup="gml:AbstractFeature" values with substitutionGroup="gml:_Feature" and removed the gml:AssociationAttributeGroup and gml:OwnershipAttributeGroup attribute group references from the xxxPropertyType complexTypes (the look like new GML3.2 artefacts) and got a valid XSD.
-----Original Message-----
From: auscope-geosciml-bounces at lists.arcs.org.au [mailto:auscope-geosciml-bounces at lists.arcs.org.au] On Behalf Of Boisvert, Eric
Sent: Friday, 5 August 2011 12:52
To: auscope-geosciml at lists.arcs.org.au; auscope-geosciml at lists.arcs.org.au
Subject: [auscope-geosciml] RE : GeoSciML-Portrayal Schema [SEC=UNCLASSIFIED]
unless I'm wrong, gml:_Feature is the 3.1 equivalent of gml:AbstractFeature
________________________________
De: auscope-geosciml-bounces at lists.arcs.org.au de la part de Oliver.Raymond at ga.gov.au
Date: jeu. 2011-08-04 19:52
À: auscope-geosciml at lists.arcs.org.au
Objet : Re: [auscope-geosciml] GeoSciML-Portrayal Schema [SEC=UNCLASSIFIED]
Hi Alistair,
1. "Shouldn't that be 1.0?" - correct
2. I already tried changing the GML import and xmlns:gml="http://www.opengis.net/gml", but the schema then gives me validation errors regarding 'substitutionGroup' and 'gml:OwnershipAttributeGroup' that I don't know how to fix with confidence.
Comparing our GeoSciML v2 and GeoSciML v3 schemas suggests that the FeatureType substitutionGroup is "gml:_Feature" in gml3.1, but is "gml:AbstractFeature" in gml3.2, etc, etc. These are GML technical details that I am not familiar enough with.
Cheers,
Ollie
-----Original Message-----
From: auscope-geosciml-bounces at lists.arcs.org.au [mailto:auscope-geosciml-bounces at lists.arcs.org.au] On Behalf Of Alistair Ritchie
Sent: Friday, 5 August 2011 9:30 AM
To: auscope-geosciml at lists.arcs.org.au
Subject: Re: [auscope-geosciml] GeoSciML-Portrayal Schema [SEC=UNCLASSIFIED]
Hi Ollie,
Isn't it simply a matter of changing the GML import in the XSD from
<import namespace="http://www.opengis.net/gml/3.2" schemaLocation="http://schemas.opengis.net/gml/3.2.1/gml.xsd"/>
to
<import namespace="http://www.opengis.net/gml" schemaLocation="http://schemas.opengis.net/gml/3.1.1/base/gml.xsd"/>?
Also, I notice in one of Gilly's earlier emails that the publication URL was for version 3.0 (http://schemas.geosciml.org/geosciml-portrayal/3.0/). Shouldn't that be 1.0?
Cheers
Alistair
-----Original Message-----
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: Friday, 5 August 2011 11:01
To: Guillaume.Duclaux at csiro.au; bruce.simons at dpi.vic.gov.au
Cc: auscope-geosciml at lists.arcs.org.au
Subject: Re: [auscope-geosciml] GeoSciML-Portrayal Schema [SEC=UNCLASSIFIED]
Bruce, Gilly, Steve, Alistair, et al,
I had a quick look and unfortunately I think the differences between GML3.1 and GML3.2 schema encodings are beyond my limited manual editing skills. I think we have to run the model through FullMoon again using a GML3.1 encoding.
I have updated the tagged values for xmlns, targetNamespace, schemaLocation and xsdDocument in the uml (GeoSciML-ThematicView.xml) in preparation for a new FullMoon run when Francois gets back in a week's time.
Cheers,
Ollie
PS. The GeoSciML-ThematicViewRC2.xml xmi file should be moved out of the trunk and into a tag or branch directory.
-----Original Message-----
From: Guillaume.Duclaux at csiro.au [mailto:Guillaume.Duclaux at csiro.au]
Sent: Thursday, 4 August 2011 6:51 PM
To: Raymond Oliver; bruce.simons at dpi.vic.gov.au
Subject: Re: [auscope-geosciml] GeoSciML-Portrayal Schema [SEC=UNCLASSIFIED]
Bruce, Ollie,
Do you want me to publish the new schema or hold it til a decision has been taken regarding gml version?
Cheers
G
Dr Guillaume Duclaux
Research Team Leader
CSIRO Earth Science and Resource Engineering
Phone: +61 8 6436 8728 | Fax: +61 8 6436 8559 | Mobile: +61 459 835 992
guillaume.duclaux at csiro.au<mailto:guillaume.duclaux at csiro.au> | www.csiro.au<http://www.csiro.au/> |
Address: Australian Resources Research Centre, 26 Dick Perry Avenue, Kensington WA 6151
PLEASE NOTE
The information contained in this email may be confidential or privileged. Any unauthorised use or disclosure is prohibited. If you have received this email in error, please delete it immediately and notify the sender by return email. Thank you. To the extent permitted by law, CSIRO does not represent, warrant and/or guarantee that the integrity of this communication has been maintained or that the communication is free of errors, virus, interception or interference.
Please consider the environment before printing this email.
On 03/08/2011, at 2:51 PM, <Oliver.Raymond at ga.gov.au<mailto:Oliver.Raymond at ga.gov.au>> <Oliver.Raymond at ga.gov.au<mailto:Oliver.Raymond at ga.gov.au>> wrote:
Done. Thereâ*?s a new geosciml-portrayal.xsd in the svn repository.  I have left the old gsmltv schema doc there just so people can compare the old and new.
(The source element is indeed mandatory, so no change made there)
Cheers,
Ollie
________________________________
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] On Behalf Of Raymond Oliver
Sent: Wednesday, 3 August 2011 4:38 PM
To: auscope-geosciml at lists.arcs.org.au<mailto:auscope-geosciml at lists.arcs.org.au>
Subject: [QUAR] Re: [auscope-geosciml] GeoSciML-Portrayal Schema [SEC=UNCLASSIFIED]
Importance: Low
ok
________________________________
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] On Behalf Of Bruce.Simons at dpi.vic.gov.au<mailto:Bruce.Simons at dpi.vic.gov.au>
Sent: Wednesday, 3 August 2011 4:37 PM
To: auscope-geosciml at lists.arcs.org.au
Subject: Re: [auscope-geosciml] GeoSciML-Portrayal Schema [SEC=UNCLASSIFIED]
Hi Ollie,
If you can do it then I can reconfigure my (Alistair's) test services for further testing.
Cheers
Bruce
----------------------------------------------------
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: <Oliver.Raymond at ga.gov.au<mailto:Oliver.Raymond at ga.gov.au>>
To: <auscope-geosciml at lists.arcs.org.au<mailto:auscope-geosciml at lists.arcs.org.au>>
Date: 03/08/2011 04:30 PM
Subject: Re: [auscope-geosciml] GeoSciML-Portrayal Schema [SEC=UNCLASSIFIED]
Sent by: auscope-geosciml-bounces at lists.arcs.org.au<mailto:auscope-geosciml-bounces at lists.arcs.org.au>
________________________________
Hi Bruce,
Editing the xsd schema doc on the svn (points 1, 3, 4 & 5) is a 5 minute job. Let me know if youâ*?d like me to do that. (Francois is on hols for another week). The UML model tags (for xmlns, schemaLocation, and xsdDocumentName) should also be updated to reflect the changes to the schema doc.
Gilly will have to upload the amended xsd doc to the geosciml.org<http://geosciml.org <http://geosciml.org/> > website, and change the schema location URI.
Cheers,
Ollie
________________________________
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] On Behalf Of Bruce.Simons at dpi.vic.gov.au<mailto:Bruce.Simons at dpi.vic.gov.au>
Sent: Wednesday, 3 August 2011 4:11 PM
To: auscope-geosciml at lists.arcs.org.au
Subject: Re: [auscope-geosciml] GeoSciML-Portrayal Schema [SEC=UNCLASSIFIED]
1. You are missing a mandatory gsmlp:source attribute. (I think this is a mistake in the schema, because I thought all the attributes were intended to be optional.)
2. You are missing a gml:id on gml:Polygon
These were the configuration bugs I had to fix that I was referring to! 1. is easy, I'll need to seek external GeoServer help for 2.
I agree with points 3, 4 & 5. Can this be done in the Schema by Francois?
Bruce
----------------------------------------------------
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: <Oliver.Raymond at ga.gov.au<mailto:Oliver.Raymond at ga.gov.au>>
To: <auscope-geosciml at lists.arcs.org.au<mailto:auscope-geosciml at lists.arcs.org.au>>
Date: 03/08/2011 04:03 PM
Subject: Re: [auscope-geosciml] GeoSciML-Portrayal Schema [SEC=UNCLASSIFIED]
Sent by: auscope-geosciml-bounces at lists.arcs.org.au<mailto:auscope-geosciml-bounces at lists.arcs.org.au>
________________________________
Hi Bruce et al,
Your Ben-corrected-gml3.2 instance does not validate for me because:
1. You are missing a mandatory gsmlp:source attribute. (I think this is a mistake in the schema, because I thought all the attributes were intended to be optional.)
2. You are missing a gml:id on gml:Polygon
Additionally, I think there are some more things to fix in the GSML-Portrayal schema before final release.
3. The namespace does not conform to the pattern we have used for GeoSciML in path name and version number. And â*?thematicviewâ*? should be replaced with â*?portrayalâ*?.
xmlns:gsmlp=â*?http://geosciml.org/xmlns/geosciml-thematicview/1.0.0â*?
should be
xmlns:gsmlp=â*?http://xmlns.geosciml.org/geosciml-portrayal/1.0â*?
4. The schema location has the wrong version number, and schema doc name should be updated from â*?thematicviewâ*? to â*?portrayalâ*?
http://schemas.geosciml.org/geosciml-portrayal/3.0/geosciml-thematicview.xsd
should be
http://schemas.geosciml.org/geosciml-portrayal/1.0/geosciml-portrayal.xsd
5. The prefix used in the schema doc is gsmltv (the old ThematicView prefix), but Bruce uses gsmlp for GSML-Portrayal in his WFS. The schema doc should also probably use â*?gsmlpâ*? for consistency.
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> [mailto:auscope-geosciml-bounces at lists.arcs.org.au] On Behalf Of Bruce.Simons at dpi.vic.gov.au<mailto:Bruce.Simons at dpi.vic.gov.au>
Sent: Wednesday, 3 August 2011 3:25 PM
To: Ben Caradoc-Davies
Cc: auscope-geosciml at lists.arcs.org.au
Subject: Re: [auscope-geosciml] GeoSciML-Portrayal Schema
Thanks Ben, you're a gem!
Now I can fix up the configuration bugs in the service.
This also explained why I couldn't get Alistair's GeoSciML v3 WFS to respond correctly.
Cheers
Bruce
----------------------------------------------------
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: Ben Caradoc-Davies <Ben.Caradoc-Davies at csiro.au<mailto:Ben.Caradoc-Davies at csiro.au>>
To: "auscope-geosciml at lists.arcs.org.au<mailto:auscope-geosciml at lists.arcs.org.au>" <auscope-geosciml at lists.arcs.org.au<mailto:auscope-geosciml at lists.arcs.org.au>>
Cc: "Bruce.Simons at dpi.vic.gov.au<mailto:Bruce.Simons at dpi.vic.gov.au>" <Bruce.Simons at dpi.vic.gov.au<mailto:Bruce.Simons at dpi.vic.gov.au>>
Date: 03/08/2011 03:06 PM
Subject: Re: [auscope-geosciml] GeoSciML-Portrayal Schema
________________________________
Bruce,
because thematic view is a GML 3.2 schema, WFS 1.1 requests must specify
OUTPUTFORMAT=gml32 so that the service is permitted to return a GML 3.2
response. (WFS 1.1 is required to return a GML 3.1 response in the
absence of this parameter, and it will be invalid because GML 3.2
features are not in the GML 3.1 feature substitution group that permits
them to be contained in a WFS 1.1 FeatureCollection.)
Please try this:
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&OUTPUTFORMAT=gml32
Kind regards,
Ben.
On 03/08/11 12:37, Bruce.Simons at dpi.vic.gov.au<mailto:Bruce.Simons at dpi.vic.gov.au> wrote:
> GSV's GeoSciML-Portrayal WFS responses are not validating. eg:
> 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
>
> The error is:
> "Element<gsmlp:GeologicUnitView> is not allowed under element<gml:featureMember>."
>
> The schema being used is:
> xsi:schemaLocation="http://geosciml.org/xmlns/geosciml-thematicview/1.0.0 https://www.seegrid.csiro.au/subversion/GeoSciML/thematic_view/trunk/schema/geosciml-thematicview.xsd http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd">
>
> Is this a problem with the GeoSciML-Portrayal schema or is the GSV service incorrectly configured?
>
> 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
>
> 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.
>
>
>
>
>
>
>
--
Ben Caradoc-Davies <Ben.Caradoc-Davies at csiro.au<mailto:Ben.Caradoc-Davies at csiro.au>>
Software Engineering Team Leader
CSIRO Earth Science and Resource Engineering
Australian Resources Research Centre
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<mailto:auscope-geosciml at lists.arcs.org.au>
http://lists.arcs.org.au/cgi-bin/mailman/listinfo/auscope-geosciml
"DåY'#9ß"M4Â-ŸÔ?8Ô¬7ã"?â*OE[1]8bé?...Vuòª??rEURoek'(Ö¢)ߢ*'ÊiʧjW(z{bjPQè?^\+â?¨â*OEu??Ü¢mSLSMâª"h.Öiê«¡EUR?yÖ?j^vÜ¢i'ç¿?ã"?ã"?â*OE[1]*+¸é?¢{â*OEÚfm ?¯ñ?µ¿Å¸Ô¿<ñ?µ»"Í-8ÔfiÇ*&"جzʨÈ?XÊ?í?ª?"*bz{mÈirGè-©?-é¨?뢮ëi"ñ?µ¿Å¸Ô¿<ñ?µ·Ú±à«?l7!zz+?¶Ø¢é?...Xzè®?^jǧØfÊ?^é?ºò-«®wj)]zWz+_ê¬...Ëi?µë-®'('b騵Ⱨmëi"xj?¨Ê?í?¨~æª?ʧyاzfñ?µ¿Ï?SMâª~(Ò?{cå'«â*OErì?~yÖi~?oe)à¶?zfñ?µ¿Ï?SMâª?"Í-ã"?)ó§®..._______________________________________________
auscope-geosciml mailing list
auscope-geosciml at lists.arcs.org.au<mailto:auscope-geosciml at lists.arcs.org.au>
http://lists.arcs.org.au/cgi-bin/mailman/listinfo/auscope-geosciml
________________________________
ŸÔfiÇ*&,??Ú-Ç¿ã"?ã""Ü¥x[1](dNP<?8}4Ó*QSLSNÈ"{aN57Ú±à«?S+â*OEjwZ&!é-"fríª©â?º+b{ajجꬢvrß??§&^eÊ?â?©^ç??ߨʩʸß?8Ô?8ÔfiÇ*&6ZÚfEUR¡é?-êioeÇ?iÖ©ç¨-Êoe颱^wñ?µ±N57Ú±à«?pبEUR¡zâ¢?+EURiʧé-¡ayʩʸڰê¿?ã"?SOó??£S,??SMí¸"í¸...âª'-Ë¡zì?¸Ü¨~Øiç¢oe'Ú?ç¤?Ú?Úi??*?ã"?SOó??£S}â*OE[1]È"{bÂ-Ê-jí?¯í'?ç-?+â*OEwé?oezz-ëi??«o*?¶ê§ºf?¥z?¢è?ª.̬é???iڨɩò"...¢zƨ?iZب+â*OEvÚ®ç¨?kÆ-zëº?Øiwè®oeÜ¢{Zw{aÇoej)ã"?ó?¸?ß©Ç*&rhM<ÓY,7>Wç¨iÈ?zayé¯...'é--ç¨-ê«...{b
aÇoej)ã"?ó?¸?ß©Ç*&,??ñ?µ'EUR"Ï?vì§"Ï?)
_______________________________________________
auscope-geosciml mailing list
auscope-geosciml at lists.arcs.org.au<mailto:auscope-geosciml at lists.arcs.org.au>
http://lists.arcs.org.au/cgi-bin/mailman/listinfo/auscope-geosciml
_______________________________________________
auscope-geosciml mailing list
auscope-geosciml at lists.arcs.org.au
http://lists.arcs.org.au/cgi-bin/mailman/listinfo/auscope-geosciml
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 <http://www.landcareresearch.co.nz/>
_______________________________________________
auscope-geosciml mailing list
auscope-geosciml at lists.arcs.org.au
http://lists.arcs.org.au/cgi-bin/mailman/listinfo/auscope-geosciml
_______________________________________________
auscope-geosciml mailing list
auscope-geosciml at lists.arcs.org.au
http://lists.arcs.org.au/cgi-bin/mailman/listinfo/auscope-geosciml
_______________________________________________
auscope-geosciml mailing list
auscope-geosciml at lists.arcs.org.au
http://lists.arcs.org.au/cgi-bin/mailman/listinfo/auscope-geosciml
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
More information about the GeoSciML
mailing list