Closed smcalilly closed 2 years ago
Fixes:
Dependent on merging the PR for the complex_fields dependency.
The code was expecting incident locations to have x,y coordinates, but sometimes the data is a polygon geometry type.
I used the code from this PR to render the map depending on geometry type. Very easy to work with!
ye
docker-compose --env-file .env.import run --rm app make -e ye_cc_import
docker-compose --env-file .env.import run --rm app make -e mr_cc_import
Note that with the partial import, an incident is missing the country. This happens to me with both the master branch and this PR's code change.
Overview
Fixes:
804
Dependent on merging the PR for the complex_fields dependency.
Notes
The code was expecting incident locations to have x,y coordinates, but sometimes the data is a polygon geometry type.
I used the code from this PR to render the map depending on geometry type. Very easy to work with!
Testing
ye
:docker-compose --env-file .env.import run --rm app make -e ye_cc_import
docker-compose --env-file .env.import run --rm app make -e mr_cc_import
Note that with the partial import, an incident is missing the country. This happens to me with both the master branch and this PR's code change.