A library for changing pin names of kml files produced in Fulcrum.
There are two approaches you can take to rename a pin's name from a Fulcrum id.
Uses a csv file with the title of a record to update the kml pin name.
Requires a kml file from Fulcrum and a csv file from Fulcrum from the Downloader. The csv file must include the title column.
The python script, kml file, and csv file will need to be in the same folder.
Run the script from terminal with python csvkmlscript.py --csvfile 'csv-file.csv' --kmlfile 'kml-file.kml'
Uses the fulcrum python api to retrieve the value of a field and update the kml pin name.
fulcrum-python needs to be installed. Install it with pip install fulcrum
fastkml needs to be installed. Install it with pip install fastkml
Requires a kml file from Fulcrum.
Run the script from terminal with python apikmlscript.py --input file-name.kml --field-key '####' --api-key 'your-api-key'