We were provided with a few geotagged photos, from those photos we were expected to mark more classification points around the region for the classes like water, built-up and barren land.
I was able to import those images into google earth using a KML file format using this link. I further went on to mark and label required points around the region. This was done using google earth placemarks. I exported the KML file which has this format.
<Placemark>
<name>Barren land</name>
<LookAt>
<longitude>78.01311981239444</longitude>
<latitude>13.13658990287736</latitude>
<altitude>0</altitude>
<heading>0.0456062423736624</heading>
<tilt>30.00023885976806</tilt>
<range>264.4081533793532</range>
<gx:altitudeMode>relativeToSeaFloor</gx:altitudeMode>
</LookAt>
<styleUrl>#msn_track</styleUrl>
<Point>
<gx:drawOrder>1</gx:drawOrder>
<coordinates>78.01311981239444,13.13658990287736,0</coordinates>
</Point>
</Placemark>
Now I want to create a classifier with these labels.
My query is how to convert Google Earth Placemark KML
to shapefile with proper labels for classification using a code in python and not a tool?