Skip to main content
Question

Is there a way to decode a field to export the KMZ, that is stored in Base64

  • April 14, 2021
  • 1 reply
  • 50 views

Forum|alt.badge.img

Hello, I have a field in a database where KML's are uploaded and stored in Base64. Is there a way to export those and convert them to KML within FME? My end goal was to convert to KML, then covert them to shapefile for a Portal Layer. For example attached is one of the files encoded that I confirmed is a KML by manually decoding it outside of FME. I tried the BinaryDecoder transformer, but I wasn't sure what to do with the result.2021-04-14 15_47_02-Google Earth Pro 

1 reply

hkingsbury
Celebrity
Forum|alt.badge.img+67
  • Celebrity
  • April 14, 2021

A BinaryDecoder into a AttributeFileWriter will do the trick :)

See attached Workbench