ConservationMetrics / guardianconnector-views

A Nuxt.js tool that reads data from a SQL database and renders it on different views (map, gallery, alerts dashboard)
MIT License
3 stars 0 forks source link

Add KML export option for alerts #60

Closed rudokemper closed 3 weeks ago

rudokemper commented 1 month ago

Our users would like to see an option to download alerts in the form of a KML in addition to GeoJSON and CSV.

IamJeffG commented 1 month ago

I did a quick google search assuming there must be some JS library that just converts geoformats .. basically the ogr2ogr of Javascript. And yes, there is https://www.npmjs.com/package/ogr2ogr but that still requires installing GDAL, which I seem to recall we (at one point) thought was overkill (and I still might think that).

I did find these thinner libs: