Select to view content in your preferred language

Converting KML Files to Hosted Feature Layers within ArcGIS Online/Portal

747
2
12-17-2025 09:47 AM
dgreenin
Emerging Contributor

Good Afternoon,

I am currently looking for the a solution that meets the following requirements:

  1. KML files can be converted directly to hosted feature layers within ArcGIS Online/Portal.
  2. KML files are uploaded directly from computer and not hosted as items within ArcGIS Online/Portal. 
  3. The created hosted feature layers maintain the same symbology as the original KML files. 

My current understanding:

  • KML files can be uploaded to ArcGIS Online/Portal but remain as KML file types limiting usage and functionality within Web Maps (ie. cannot alter symbology, no labeling, no attribute table). 
  • Map Viewer analysis tools do not offer a KML to Hosted Feature Layer conversion.
  • KML files can be converted to feature layers within ArcGIS Pro and then published to ArcGIS Online/Portal. *This is a limitation if users are not familiar with ArcGIS Pro.

In this case, publishing a custom ArcGIS web tool appears to be the best approach using either of the following options:

  • Publishing an ArcGIS Pro python toolbox to ArcGIS Online/Portal as a web tool.
  • Publishing an ArcGIS Notebook hosted within ArcGIS Online/Portal as a web tool.

Any advice and/or examples would be greatly appreciated.

Best,

2 Replies
dmorrissey_VHB
New Contributor

It looks like you didn't get any help on this.  Did you make any progress?  I'm also very interested.

MirandasheherMcCall
New Contributor

Came here for this same inquiry! 
@dgreenin did you successfully publish a toolbox for Enterprise portal uses to convert? If so, do you mind sharing a how-to and the script? 

0 Kudos