DenisCarriere / geocoder-geojson

Geocoding results in GeoJSON format
https://www.npmjs.com/package/geocoder-geojson
MIT License
21 stars 10 forks source link

Add support for opencage and opencageReverse providers #14

Open kaoru opened 6 years ago

kaoru commented 6 years ago

Hey Dennis,

This is my attempt at adding support for the Opencage Geocoder to your JavaScript library.

The good news is that Opencage has a format=geojson option which means we don't need to munge the data into geojson format ourselves :+1:

The bad news is that I couldn't get your tests working, so I didn't write a test :cry: It looks like your tests are failing on Travis too so there's some underlying issue there I'm not sure how to fix.

Let me know if there's any changes you'd like me to make before you merge this. Thanks!