Imports Data from the csv_file. Optional header option, if the csv file includes a header
Update Geometry
Update Geometry for Projects
python manage.py udpate_geo
Updates the geometry field of the project with data from the ArcGIS Server from the city of San Diego: http://maps.sandiego.gov/ArcGIS/rest/services/CIPTrackingPublic/MapServer
All three layers are searched for the SEQ_NO
If a project is found the response is converted from ESRIs JSON to GeoJSON
Any background context you want to provide?
The updater uses the find endpoint of the ArcGIS Server and not the query endpoint. The query endpoint was not ready at the beginning of this implementation. Might be used later.
Screenshots (if appropriate)
Tickets
fixes #7
fixes #96
Questions:
The South App is used to upgrade the database. Needs to be installed first, or should already be in the requirements.txt
What's this PR do?
Adds two new command line commands:
Import Data
Import new Data and update existing.
Imports Data from the csv_file. Optional header option, if the csv file includes a header
Update Geometry
Update Geometry for Projects
Updates the geometry field of the project with data from the ArcGIS Server from the city of San Diego: http://maps.sandiego.gov/ArcGIS/rest/services/CIPTrackingPublic/MapServer All three layers are searched for the SEQ_NO If a project is found the response is converted from ESRIs JSON to GeoJSON
Any background context you want to provide?
The updater uses the find endpoint of the ArcGIS Server and not the query endpoint. The query endpoint was not ready at the beginning of this implementation. Might be used later.
Screenshots (if appropriate)
Tickets
fixes #7 fixes #96
Questions:
The South App is used to upgrade the database. Needs to be installed first, or should already be in the requirements.txt