This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Regarding GPX data import to database private server

0

Hello,

I have successfully uploaded GPX tracks to my private OSM server. While these tracks are shown as entries in the gpx_files table in the API DB, the have not been populated as individual GPS points in the gps_points table.

I understand that the points from all GPX files must be extracted and stored inorder for the API to be able to query them.

In my own openstreetmap website running on ruby on rails these tracks show a status as pending.

From what i understand in the code the deamon which populates the data into the database is not running.

Could anyone help me with the respective settings or changes that need to be made in order to populate all points?

Your help is highly appreciated.

Arjun

asked 10 Oct '14, 15:52

Osm_Enthu's gravatar image

Osm_Enthu
56337
accept rate: 0%

Can anyone who has set up a private server and has populated gps pints from the gpx traces into the osm database please help me with this ?

(13 Oct '14, 09:20) Osm_Enthu

Hello, after doing some research on google i found out the gpx_import.rb in the rails website is not supported anymore, instead there is a c program to to do the gpx import

https://github.com/ericfischer/gpx-import

I cant seem to get this working either!

Anyone with experience regarding GPX import kindly help me .

Thanks

(14 Oct '14, 09:28) Osm_Enthu

One Answer:

0

For all those who need to upload their GPX files to the private OSM database here is a wonderful c program that is extremely helpful

http://git.openstreetmap.org/gpx-import.git/

It works great!

answered 31 Oct '14, 13:21

Osm_Enthu's gravatar image

Osm_Enthu
56337
accept rate: 0%

Source code available on GitHub .