KML to shapefile Problems (ogr2ogr)

Thanks for your reply.

I have gotten the solution in orther forum. Conversion fails because GDAL is trying to read the data as GML instead of KML. Conversion succeeds if it is run with the GDAL_SKIP configuration option For example,we can input the command statement as follow:
ogr2ogr -f “ESRI Shapefile” overlay.shp overlay.kml --config GDAL_SKIP GML --debug on

:smile::smile::smile: