Skip to main content
Solved

kml to shapefile


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

View original
Did this help you find an answer to your question?

2 replies

redgeographics
Celebrity
Forum|alt.badge.img+49

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
Evangelist
Forum|alt.badge.img+44
  • Evangelist
  • 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


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