Skip to main content

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.

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


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


Reply