mitra42 / corona-tracker

Tracking contacts for Coronavirus
GNU Affero General Public License v3.0
1 stars 2 forks source link

Import - generic KML #26

Open mitra42 opened 4 years ago

mitra42 commented 4 years ago

There is a KML importer used for the "diamondtaiwan" data, Its in importers/diamontaiwan.ks; it uses KML file in importers/diamond/Diamond.kml and some generic code from pandemics.events in diamond/parsers.js and diamond/utils.js (the only changes to that code is to turn off some of the console logging).

You can see it working at http://localhost:5000/data/diamondtaiwan?output=common

Next step is to genericise the importer - pull some of the functionality into importers/utils.js and test on some other KML files - especially exports of personal google location data.