Jump to content

How would I convert a HUGE .gpx file


Rumigo

Recommended Posts

I have a giant '.gpx' file and I want to convert it to '.csv'

so I can upload it to my GPS using POI loader. I have a Garmin nuvi 350(NA).

Is there any place where I can find something that can do this?

Gpx Spinner, poi to gpx converter, and GSAK don't work (I only have 4 gigs of ram).

 

The GPX file is 1.11 Gigabytes

 

Specs. of my computer:

Windows 7

4 Gigabytes of ram

An AMD Phenom II Processor

And a whole lot of storage.

 

Thank you,

Rumigo

Edited by Rumigo
Link to comment

I have a giant '.gpx' file and I want to convert it to '.csv'

so I can upload it to my GPS using POI loader. I have a Garmin nuvi 350(NA).

Is there any place where I can find something that can do this?

Gpx Spinner, poi to gpx converter, and GSAK don't work (I only have 4 gigs of ram).

 

I have Python code that will do this I originally wrote to parse alamogul's My Finds queries. It reads the file in chunks so that the memory usage is not too bad. Should be able to handle your file. This is not a point-and-click operation; you will have to install a Python interpreter and a couple of Python packages and run the script from the command line. If that doesn't bother you then I would be glad to share my code.

Link to comment

Hi fizzymagic, Python? I'm not too sure I've used it before...

However, I would be willing to give it a try.

Are you allowed to post code on the forum? If so, I'd love to see it!

 

I bet that the whole community would benefit from your code :)

 

Thank You,

Rumigo

 

How big is it that GSAK can't handle it? I have a database with 115,000 waypoints in it. I just exported it to CSV. It took five minutes, but GSAK only topped out at 150Mb memory usage.

 

Have you tried GPSBabel? If you have GSAK installed, you already have it in your GSAK program folder. It's a command line utility but you can find help at www.gpsbabel.org.

 

A sample command would be

gpsbabel -i gpx -f big_gpx_file.gpx -o csv -F big_csv_file.csv

It's important that the second -F is capitalized.

Link to comment
I've used GPS Visualizer to convert GPX files to CSV (plain text) files before. I don't know if they have a limit on how big your file can be though.

I have been unable to get GPS Visualizer to convert my GPX file to a CSV. What output do you select form the drop down?

Note all the links to the right of the main form. Click on the one that says Convert to plain text then on that form, set the delimiter to comma.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...