Skip to main content
Question

How to change elements(namespaces) in GML ?

  • July 31, 2017
  • 4 replies
  • 52 views

Forum|alt.badge.img

Hi,

I am trying to produce a GML 3.2.1 file with elements based on an xsd. Any suggestions ?

Thanks in advance,

Valantis

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

4 replies

trentatsafe
Safer
Forum|alt.badge.img+6
  • Safer
  • 278 replies
  • August 1, 2017
Hi @valantistsiakos,

 

I'd like to get some more information from you if possible, to fully understand the workflow you are attempting.

 

So, you have a GML file and you are looking to alter the namespaces based on a new XSD? Is that correct?

 

Are you able to attach the GML XSD that the source data(that you posted) refers to. If you want to change the namespaces based on a new XSD if you could attach that as well please, along with the name of the namespace you want to be changed and what you want it changed to, and why? This will help me formulate a better understanding in helping answer this.

 


Forum|alt.badge.img
Hi @valantistsiakos,

 

I'd like to get some more information from you if possible, to fully understand the workflow you are attempting.

 

So, you have a GML file and you are looking to alter the namespaces based on a new XSD? Is that correct?

 

Are you able to attach the GML XSD that the source data(that you posted) refers to. If you want to change the namespaces based on a new XSD if you could attach that as well please, along with the name of the namespace you want to be changed and what you want it changed to, and why? This will help me formulate a better understanding in helping answer this.

 

?? @trentatsafe

 

I try toconvert an access database to a GML 3.2.1 (please check attachment) compliant with an xsd http://dd.eionet.europa.eu/schemas/euregistryonindustrialsites/EUReg.xsd(extension of the INSPIRE Production and Industrial Facilities (http://cloud.epsilon-italia.it/eenvplus_new/PF.htm).

 

However,the produced GML cannot be validated by OGC validator (http://cite.opengeospatial.org/teamengine/viewSessions.jspor the ENVplus custom validators (http://cloud.epsilon-italia.it/eenvplus_new/).

 

From the report output the issues lies(firstly) in the lack of the “xsi:schemaLocation” in the header of the GML. Evenwhen we declare this value in the advance properties of the GML writer in theworkbench, this is not inserted in the produced GML.

 

Could youplease let me know how I can tackle this issue?

 

Thanks in advance,

 

Valantis

 

eu-registry-fme-28-7-2017.zip

 


trentatsafe
Safer
Forum|alt.badge.img+6
  • Safer
  • 278 replies
  • August 2, 2017
Hi @valantistsiakos,

 

 

I believe Dean answered this question over in your other posting. Found here: https://knowledge.safe.com/questions/49133/convert-my-access-into-a-gml-321-based-on-an-exist.html?childToView=49372#answer-49372

 

 

If that does not address your query please, comment back here.

Forum|alt.badge.img
Hi @valantistsiakos,

 

 

I believe Dean answered this question over in your other posting. Found here: https://knowledge.safe.com/questions/49133/convert-my-access-into-a-gml-321-based-on-an-exist.html?childToView=49372#answer-49372

 

 

If that does not address your query please, comment back here.
Yes Indeed! Thanks a lot for everything!