[Auscope-geosciml] RE : RE : How to use gsml:Metadataelements?[SEC=UNCLASSIFIED]
Boisvert, Eric
Eric.Boisvert at RNCan-NRCan.gc.ca
Mon Aug 17 12:35:14 EDT 2009
yes and no.
lax means "if the validator can find a element it can validate, it will, otherwise, it will assume it's ok". So if you put something in there the validator has a schema for, it will try to validate it.
________________________________
De : auscope-geosciml-bounces at lists.arcs.org.au [mailto:auscope-geosciml-bounces at lists.arcs.org.au] De la part de Ryan Clark
Envoyé : 17 août 2009 12:27
À : auscope-geosciml at lists.arcs.org.au
Objet : Re: [Auscope-geosciml] RE : RE : How to use gsml:Metadataelements?[SEC=UNCLASSIFIED]
It would appear that the gsml:metadata element only allows content by-reference. This is difficult for me to deal with in the context of using Geoserver to build a GeoSciML WFS. Instead it looks like I'll try and put the feature-level metadata content in the gml:metaDataProperty element. However I'm not sure if I'm reading the schema correctly.
<d1:complexType name="MetaDataPropertyType">
<d1:annotation>
<d1:documentation>Base type for complex metadata property types.</d1:documentation>
</d1:annotation>
<d1:choice minOccurs="0">
<d1:element ref="gml:_MetaData"/>
<d1:any processContents="lax"/>
</d1:choice>
<d1:attributeGroup ref="gml:AssociationAttributeGroup"/>
<d1:attribute name="about" type="anyURI" use="optional"/>
Does the <d1:any processContents="lax"/> mean what it sounds like it means? That is, could I put anything into this element and it would be okay?
Thanks,
Ryan
On Tue, Aug 4, 2009 at 11:36 PM, Simon Cox <simon.cox at jrc.ec.europa.eu> wrote:
Check the schema first, to verify that the content model for gsml:metadata
allows inline as well as by-reference.
------------------------------------------------------
Simon Cox
European Commission, Joint Research Centre,
Institute for Environment and Sustainability,
Spatial Data Infrastructures Unit, TP 262
Via E. Fermi, 2749, I-21027 Ispra (VA), Italy
Tel: +39 0332 78 3652
Fax: +39 0332 78 6325
mailto:simon.cox at jrc.ec.europa.eu
http://ies.jrc.ec.europa.eu/simon-cox
SDI Unit: http://sdi.jrc.ec.europa.eu/
IES Institute: http://ies.jrc.ec.europa.eu/
JRC: http://www.jrc.ec.europa.eu/
------------------------------------------------------
-----Original Message-----
From: auscope-geosciml-bounces at lists.arcs.org.au
[mailto:auscope-geosciml-bounces at lists.arcs.org.au] On Behalf Of Ryan Clark
Sent: Tuesday, 4 August 2009 17:17
To: auscope-geosciml at lists.arcs.org.au
Cc: <auscope-geosciml at lists.arcs.org.au>
Subject: Re: [Auscope-geosciml] RE : RE : How to use gsml:Metadata
elements?[SEC=UNCLASSIFIED]
Just to make sure I understand correctly -- I can put a gmd:MD_Metadata
element inline under the gsml:metadata, as long as any gml elements
reference a different namespace than the rest of te gsml document?
Thanks,
Ryan
On Aug 3, 2009, at 4:37 AM, "Simon Cox" <simon.cox at jrc.ec.europa.eu>
wrote:
> The fuss was about certain tools, which preload GML, and can only cope
> with one version.
>
>
> ------------------------------------------------------
>
> Simon Cox
>
>
>
> European Commission, Joint Research Centre, Institute for Environment
> and Sustainability, Spatial Data Infrastructures Unit, TP 262
>
> Via E. Fermi, 2749, I-21027 Ispra (VA), Italy
>
> Tel: +39 0332 78 3652
>
> Fax: +39 0332 78 6325
>
> e-mail: simon.cox at jrc.ec.europa.eu
>
>
>
> SDI Unit: http://sdi.jrc.ec.europa.eu/
>
> IES Institute: http://ies.jrc.ec.europa.eu/
>
> JRC: http://www.jrc.ec.europa.eu/
>
> ------------------------------------------------------
>
>
> -----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: Monday, 3 August 2009 11:02
> To: auscope-geosciml at lists.arcs.org.au;
> auscope-geosciml at lists.arcs.org.au
> ;
> auscope-geosciml at lists.arcs.org.au
> Subject: [Auscope-geosciml] RE : RE : How to use gsml:Metadata
> elements?
> [SEC=UNCLASSIFIED]
>
> hmm.. you are right (of course)- appologies to Ryan for the confusion.
>
> what was all the fuss about not being able to include metadata inline
> in GeoSciML document then ?
> I could swear it was because metadata schema was based on GML 3.2 so
> we ended up with this "by reference" only scheme.
>
>
>
> ________________________________
>
> De: auscope-geosciml-bounces at lists.arcs.org.au de la part de
> simon.cox at jrc.ec.europa.eu
> Date: lun. 2009-08-03 03:26
> À: auscope-geosciml at lists.arcs.org.au;
> auscope-geosciml at lists.arcs.org.a u Objet : Re: [Auscope-geosciml]RE :
> How to use gsml:Metadata elements?
> [SEC=UNCLASSIFIED]
>
>
>
> Incorrect - GML 3.2 has a different namespace to GML 3.1, so you can
> mix them in the same document.
>
>> -- Original Message --
>> From: <Oliver.Raymond at ga.gov.au>
>> To: <auscope-geosciml at lists.arcs.org.au>
>> Date: Mon, 3 Aug 2009 11:52:40 +1000
>> Subject: Re: [Auscope-geosciml]
>> RE : How to use gsml:Met
>> adata elements? [SEC=UNCLASSIFIED]
>> Reply-To: auscope-geosciml at lists.arcs.org.au
>>
>>
>> That's right, Eric. You can't implement gsml:metadata in GeoSciML v2
>> as far as I am aware. Gsml:metadata is there waiting for GeoSciML to
>> be GML
>> 3.2 compliant (ie, in GeoSciML v3).
>>
>> Cheers,
>> Ollie
>>
>> ---
>> --------------------------------------------------------------------
>> -------------------------
>> Ollie Raymond
>> National Advice, Maps and Standards Project Geoscience Australia
>>
>> Address: GPO Box 378, Canberra, ACT, 2601, Australia | ABN: 80 091
>> 799
> 039
>> Ph: (02) 62499575 | Fax: (02) 62499992 | Email:
>> Oliver.Raymond at ga.gov.au
>> Web:
>> http://www.ga.gov.au/minerals/research/national/nat_maps/nat_geol_map
>> s
>> .
>> jsp<http://www.ga.gov.au/geoscience/national>
>>
>> Google
>> Map<http://maps.google.com/maps?f=q&hl=en&geocode=&q=canberra+austral
>> ia
>> &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 --
>>
>>
>> -----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: Saturday, 1 August 2009 5:11 AM
>> To: auscope-geosciml at lists.arcs.org.au
>> Subject: [Auscope-geosciml] RE : How to use gsml:Metadata elements?
>>
>> From what I remember, there are no gsml:metadata instance example
>> because as long as GeoSciML is based on GML 3.1, we can't include
>> metadata inline because the latter in based on GML 3.2. both version
>> of GML share the
> same
>> namespace and therefore can't be mixed (because they are essentially
>> declaring the same classes).
>>
>> This shall change with GeoSciML 3 which will be based on GML 3.2
>>
>> Did I get this correctly, anyone ?
>>
>> Eric
>>
>> ________________________________
>> De: auscope-geosciml-bounces at lists.arcs.org.au de la part de Ryan
>> Clark
>> Date: ven. 2009-07-31 14:25
>> À: auscope-geosciml at lists.arcs.org.au
>> Objet : [Auscope-geosciml] How to use gsml:Metadata elements?
>> I've been working on using the new GeoServer complex-feature
>> functionality to provide a GeoSciML WFS from a NCGMP09 PostGIS
>> backend
> database (http://ngmdb.usgs.gov/Info/standards/NCGMP09/).
>> I think it's going pretty well, but I'm wondering how to deal with
>> feature-level metadata.
>>
>> It seems that there are two options for most featuretypes:
>> gml:metaDataProperty and gsml:metadata. Looking through the instances
>> in the svn trunk, there are only a few examples where I saw
>> gml:metaDataProperty list a reference to an external, stand-alone XML
>> document, and I don't think there were
> any
>> examples that actually used the gsml:metadata element.
>>
>> My backend data captures simply a name and a description for
>> feature-level metadata. Any suggestions about how/what this should
>> look like in a GeoSciML document?
>>
>> Thanks,
>> Ryan
>>
>> _______________________________________________
>> 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
>
> _______________________________________________
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengeospatial.org/pipermail/geosciml/attachments/20090817/5c945ebc/attachment.htm>
More information about the GeoSciML
mailing list