ajnisbet / opentopodata

Open alternative to the Google Elevation API!
https://www.opentopodata.org
MIT License
314 stars 68 forks source link

API fails when dataset doesn't have an EPSG code. #4

Closed ajnisbet closed 4 years ago

ajnisbet commented 4 years ago

When using a raster that has a projection without an EPSG code set, the API fails with '<=' not supported between instances of 'int' and 'NoneType'. These files aren't uncommon: EU-DEM comes this way.

Open Topo Data should support any raster file as long as it has a projection set in some format.