I am trying to a convert kml file to a layer using python. This is my code:
import arcpy
arcpy.KMLToLayer_conversion('C:\kml\\result.kml', 'C:\kml', 'result')
But the layer has lost a lot of objects as compared to the layer converted by Conversion tools -> kmltolayer
I attach 2 screenshots:
What could be the problem?
No comments:
Post a Comment