Assessment to KML Python Sample
This sample demonstrates how to use Python to geocode to a property and export that property data to a KML file that then can be used in Google Earth or any application that supports KML.
This sample demonstrates:
- How to geocode to a property using the LightBox Geocoder.
- Retrieve the latitude and longitude data from the geocode response.
- Craft a API call to the LightBox Assessment geometry endpoint using the coordinates returned from the geocode response along with a buffer distance and buffer unit.
- Write a subset of data from the response to a KML file using the simplekml python library.