You need to sign in or sign up before continuing.
Mapbox building mapping
Created by: Jinal-7
mapboxMapping.py
First execute file key.sh and then run the code. To Test:
- Line 17 : add limit 120 at the end of the query
- Line 88: make batch = 25
In Terminal:
- cd to buildingservice/bulk
- python3 mapboxMapping.py
You should have selectData.csv and mapboxData.csv in your bulk folder.
- In selectData.csv - our addresses, their respective building_id
- In mapboxData.csv - our addresses, their respective building_id, their respective mapbox address
In DataGrip: In building-dev.building.public.table_for_testing table, there should be 120 records. DELETE them after testing.