-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with gex:EX_Extent in the ISO 19157 file #198
Comments
Can you provide a link to your instance file? My suspicion is that the gex namespace needs to be imported. In the base mdq schema, it only points to an abstractExtent in the mcc namespace, you need to import a namespace that has a concrete element derived from abstract extent. so, you;'ll need these namespace declarations and in your xsi:schemaLocation attribute on the root element you''ll need http://standards.iso.org/iso/19115/-3/gex/1.0 http://standards.iso.org/iso/19115/-3/gex/1.0/gex.xsd to bind the gex namespace to an implementation. |
Sure
Here is the actual file.
Matthew McCready
U.S Census Bureau
Geography Division
Geographic Standards, Criteria, and Quality Branch (GSCQB)
4H160B
301-763-9101
http://www.census.gov/
http://www.census.gov/about/contact-us/social_media.html
…________________________________
From: Stephen Richard <[email protected]>
Sent: Thursday, August 9, 2018 2:06:30 PM
To: ISO-TC211/XML
Cc: Matthew J McCready (CENSUS/GEO FED); Author
Subject: Re: [ISO-TC211/XML] Problem with gex:EX_Extent in the ISO 19157 file (#198)
Can you provide a link to your instance file? My suspicion is that the gex namespace needs to be imported. In the base mdq schema, it only points to an abstractExtent in the mcc namespace, you need to import a namespace that has a concrete element derived from abstract extent. so, you;'ll need these namespace declarations
xmlns:gml="http://www.opengis.net/gml/3.2"
xmlns:gex="http://standards.iso.org/iso/19115/-3/gex/1.0"
and in your xsi:schemaLocation attribute on the root element you''ll need
http://standards.iso.org/iso/19115/-3/gex/1.0 http://standards.iso.org/iso/19115/-3/gex/1.0/gex.xsd
to bind the gex namespace to an implementation.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#198 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AB3A0ThELRjV1vx3ZBTaWD-0bkNrqcx8ks5uPHomgaJpZM4V1wGF>.
|
Hmm, I don't see the file or a link... |
I get this message
Invalid content was found starting with element 'gex:EX_Extent'. One of '{"http://standards.iso.org/iso/19115/-3/mcc/1.0":Abstract_Extent}' is expected.
for this code in the standalone ISO 19157 file:
mdq:scope
mcc:MD_Scope
mcc:level
<mcc:MD_ScopeCode codeList="codeListLocation#MD_ScopeCode" codeListValue="dataset">dataset</mcc:MD_ScopeCode>
</mcc:level>
mcc:extent
<gex:EX_Extent id="boundingExtent">
gex:geographicElement
<gex:EX_GeographicBoundingBox id="boundingGeographicBoundingBox">
gex:westBoundLongitude
gco:Decimal-88.473227</gco:Decimal>
</gex:westBoundLongitude>
gex:eastBoundLongitude
gco:Decimal-84.888246</gco:Decimal>
</gex:eastBoundLongitude>
gex:southBoundLatitude
gco:Decimal30.144425</gco:Decimal>
</gex:southBoundLatitude>
gex:northBoundLatitude
gco:Decimal35.008028</gco:Decimal>
</gex:northBoundLatitude>
</gex:EX_GeographicBoundingBox>
</gex:geographicElement>
gex:temporalElement
<gex:EX_TemporalExtent id="boundingTemporalExtent">
gex:extent
<gml:TimePeriod gml:id="boundingTemporalExtentA">
gml:descriptionpublication date</gml:description>
gml:beginPosition2016-06</gml:beginPosition>
gml:endPosition2017-05</gml:endPosition>
</gml:TimePeriod>
</gex:extent>
</gex:EX_TemporalExtent>
</gex:temporalElement>
</gex:EX_Extent>
</mcc:extent>
</mcc:MD_Scope>
</mdq:scope>
The text was updated successfully, but these errors were encountered: