wavded / ogre

ogr2ogr geojson-focused web client
http://ogre.adc4gis.com
MIT License
266 stars 78 forks source link

GPX to GeoJSON #33

Closed turban closed 9 years ago

turban commented 9 years ago

Great tool! I'm not getting an empty FeatureCollection when I upload a GPX-file: https://dl.dropboxusercontent.com/u/2306934/gpx/romsdalseggen.gpx

Is GPX to GeoJSON conversion supposed to work?

wavded commented 9 years ago

Hmm.. supposed to, I'll take a look.

wavded commented 9 years ago

Ahh looks like that file has more than one layer. Here is the error when running it directly against ogr2ogr

ERROR 6: GeoJSON driver doesn't support creating more than one layer

I'll see if I can make these errors more apparent without destroying the GeoJSON output. Right now we have -skipfailures turned on.

wavded commented 9 years ago

This error is more clearly shown in 1.0.0 (just released) (we no longer skip failures by default)