Skip to main content
Question

GML to KML

  • Aug 24, 2018 5:26 PM UTC
  • 3 replies
  • 153 views

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

 

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.

3 replies

Forum|alt.badge.img
  • Aug 24, 2018 6:01 PM UTC

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
  • Aug 24, 2018 6:23 PM UTC

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
  • Aug 24, 2018 7:34 PM UTC

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.