Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

When i try to export an shapefile to gpx using ogr2ogr.

ogr2ogr -f GPX output.gpx D:\mypaste\input.shp -sql "SELECT Id AS name FROM layername"

It gives me the following error "Failed to create GPX file output.gpx." "GPX driver failed to create output.gpx." Does anyone knows why this happens? How can i rectify this?

share|improve this question
I thought that I would quickly solve the question for you, but I ended up confirming the same error message. I didn't have any time to dig further. –  DavidF Nov 16 '12 at 5:36
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.