Skip to main content
Solved

Converting GML to shapefile

  • March 30, 2020
  • 2 replies
  • 608 views

Hi, I would like to convert GML files into shapefiles using FME but have no idea how to do this. Could someone tell me where I could find instructions for this? Many thanks.

Best answer by virtualcitymatt

Hi there, I would suggest you start by first trying to generate a workspace using this as a rough guide: https://safe-software.gitbooks.io/introduction-to-fme-desktop/content/2.translations/2.02.generate-workspace.html

The generated workspace might look a bit crazy but its a good place to start. Give it a test to see if it generates the shapefile(s) you want

Here is some more information about how you can work with GML in FME: https://knowledge.safe.com/articles/888/reading-xmlgml.html it might give you some tips on troubleshooting.

It is important to remember that a shapefile can only support one geometry type (points, lines, or polygons etc) so splitting out the geometry types with a GeometryFilter will probably be important.

 

Good luck!

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.

2 replies

virtualcitymatt
Celebrity
Forum|alt.badge.img+47

Hi there, I would suggest you start by first trying to generate a workspace using this as a rough guide: https://safe-software.gitbooks.io/introduction-to-fme-desktop/content/2.translations/2.02.generate-workspace.html

The generated workspace might look a bit crazy but its a good place to start. Give it a test to see if it generates the shapefile(s) you want

Here is some more information about how you can work with GML in FME: https://knowledge.safe.com/articles/888/reading-xmlgml.html it might give you some tips on troubleshooting.

It is important to remember that a shapefile can only support one geometry type (points, lines, or polygons etc) so splitting out the geometry types with a GeometryFilter will probably be important.

 

Good luck!


  • Author
  • March 31, 2020

Thanks very much Matt, I'll give this a go.