I downloaded and saved a KML file of Indonesian geology from OneGeology Portal (http://portal.onegeology.org/OnegeologyGlobal/). However, when I use the KML to Layerfile tool in ArcGIS, the tool does not run and gives me the following error:

ERROR 000401: No features were found for processing Failed to execute (KMLToLayer).

How can I convert the file correctly. I ultimately need it as a shapefile.

  • 1
    Try inspecting the KML document to see if it has any features. If it doesn't then you'll need to find a different data source.
    – Vince
    Mar 29, 2017 at 11:06
  • The KML can't be converted to shapefile because the KML generated by the OneGeology Portal is not vector data, it's a WMS link.
    – nmtoken
    Dec 19, 2017 at 19:14

1 Answer 1


Probably the KML file you wish to add to ArcGIS do not contain any data except URL to WMS service. That is why you got this error.

To view the data in ArcGIS you have to add proper WMS Server using ArcGIS Catalog.

You may try this link:


If you a looking for the other data - you may try to find proper WMS link in the site's help

enter image description here

Note too that several OneGeology services provide WFS as well as WMS, the above service included.

  • This doesn't answer the OP's question. The OP is asking how they can convert the KML downloaded from the site to a shp file. Adding a WMS service to the map will let the OP see the data, but it still won't give them the ability to save it out as a shp file.
    – Dan_h_b
    Mar 29, 2017 at 9:28
  • 1
    @Dan_h_b unfortunatelly we can't see OP's KML file. I tried to save some kml file using Save KML context button - the saved kml file only contain WMS URL (no coordinates inside the file). Mar 29, 2017 at 9:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.