Skip to main content
Question

GML to KML


hlouie
Contributor
Forum|alt.badge.img+16

I'm having some difficulties converting a GML to KML/KMZ while using the automated Generate Workspace. I've tested GML with https://mygeodata.cloud and it converts properly, what setting is missing?

I've attached the GML, KML produced by FME and KML produced by MyGeoData.cloud

 

3 replies

Forum|alt.badge.img
  • August 24, 2018

Hi @hlouie,

You're probably missing the CRS information in the GML reader and KML writer. See attached files.

gml2ogckml.fmw


hlouie
Contributor
Forum|alt.badge.img+16
  • Author
  • Contributor
  • August 24, 2018

Bingo, the key was your GML SRS Axis Order of "1,2".  Look like FME default is "2,1"

The default axis order for EPSG:4326 is 2,1.

0684Q00000ArJqMQAV.png


Forum|alt.badge.img
  • August 24, 2018
hlouie wrote:

Bingo, the key was your GML SRS Axis Order of "1,2".  Look like FME default is "2,1"

The default axis order for EPSG:4326 is 2,1.

0684Q00000ArJqMQAV.png

Glad to hear that it works. Thanks for the info about the default axis order for EPSG:4326, I was not aware of that.

 

 


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