Skip to main content
Question

How to change elements(namespaces) in GML ?


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

4 replies

trentatsafe
Safer
Forum|alt.badge.img+6
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
trentatsafe wrote:
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
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
trentatsafe wrote:
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!

 

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings