Converting a KML to a Layer, how to convert popupinfo data to fields?

05-16-2018 08:34 AM
New Contributor II

Often I am given a KMZ with features that have a lot of information that shows up in the pop-up, but when it is converted to an Esri feature layer, all of that info resides in a single "popupinfo" field as a block of HTML.  Is there a function or process that can easily take that block of text and, using the HTML tags, convert it into fields and data?

3 Replies
Esri Regular Contributor

Hi Marcus

This can be a bit of an adventure depending on how the table holding the description HTML is structured but here is one example.  If you need help with this ask your local Esri office. 

New Contributor II

Thanks, Bruce!  I was afraid it would be a complicated process.  I guess I was hoping there was a magic Esri tool that parsed the HTML into an attribute table automatically, but this will at least give me a starting point from which to work.  Thanks again!  Much appreciated!

0 Kudos
New Contributor

You could try the KML-to-Layer-Post-Process tool on GitHub. It is meant to use the popup HTML information and convert it to fields. I've had a hard time making it work, but maybe it could for others.

0 Kudos