Skip to main content
Solved

kml to shapefile

  • March 7, 2019
  • 2 replies
  • 414 views

Forum|alt.badge.img

I have got a kmz file and I want to convert it to a shapefile. I also want to change the data from being a 3 coordinate system to a 2 coordinate system or I could keep the 3 coordinate system and ensure all the z coordinates are 0. There is not much help on how to transform kmz files to esri shapefiles in fme. Can someone give me some tips? I have attached the file here.

Best answer by danilo_fme

Hi @pelwinderpal

 

I suggest you to do using the option Generate Workspace - Reader KML and Writer Shapefile.

 

After use the transformer 2DForcer to eliminate the Z values.

 

 

Attached the Workspace template.

ogckml2esrishape.fmwt

 

Thanks,

Danilo

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

redgeographics
Celebrity
Forum|alt.badge.img+62

What you can do is use the Generate option to create a workspace from KML to Shape and use a 2DForcer before writing out the data to force it to 2D and an AttributeManager to map KML attributes to Shape attributes (which you'll need to add to the output feature types too).

ogckml2esrishape.fmw


danilo_fme
Celebrity
Forum|alt.badge.img+52
  • Celebrity
  • Best Answer
  • March 7, 2019

Hi @pelwinderpal

 

I suggest you to do using the option Generate Workspace - Reader KML and Writer Shapefile.

 

After use the transformer 2DForcer to eliminate the Z values.

 

 

Attached the Workspace template.

ogckml2esrishape.fmwt

 

Thanks,

Danilo