Jump to content

software to download for paperless in a linux enviorment


Recommended Posts

I am not yet a premium member yet, howver that will change soon. I operate in a linux enviorment.

I am curious to know if GPSBabel will work the same as GPXSpinner for my organizing program. I know Plucker does have a linux option already.

 

Here's how I do it on my debian/linux box:

 

==This is all in a shell script==

unzip the various queries

 

process the PQ .gpx files with gpx2html

thereby combining into one file (.loc unfortunately) and generating the .html indicies

 

gpsbabel to convert from .loc to .gpx if desired

 

sunrise (used to use plucker) to do .html --> palm

 

sync to the treo.

 

===end===

 

This might look like a bunch of work to windoze folks, but it is scripted/cronjobbed so all I do on my end is press the sync button on the palm cord.

Link to comment

I use GPSDrive, Mysql, a Lawrence iFinder Go, and a cable...

 

The shell script has a bunch of lines like this

----

gpsbabel -i gpx -f 853345.gpx -o gpsdrive -F - |awk '{print "insert into waypoints \

(name,lat,lon,type) values (\"ST-" $1 "\",\"" $2 "\",\"" $3 "\",\"" $4 "\");" }' >>wp.sql

gpsbabel -i gpx -f 853345.gpx -o html -F ~/Desktop/Geo-Sea-Tac.html

gpsbabel -i gpx -f 853345.gpx -o nmea -F - >>nmea.out

 

----

 

and then, it sends the wp.sql to the mysql server, the nmea.out to the term program, and that's it!

 

GPSDrive shows the caches nearby, (the cache is prefixed with a W, H, ST etc. to show which html file to look in.)

 

At last count I am uploading about 600 waypoints to my GPSr so that I can detach and walk to the cache.

Correction, 700.

Edited by ac7ss
Link to comment

Well, I read the docs, and shortened the script...

 

---

 

gpsbabel -i gpx -f 499776.gpx -f 553854.gpx -f 853345.gpx -f 853350.gpx \

-x duplicate,location,shortname\

-x sort,shortname\

-o gpx -F merged_with_no_dupes.gpx

 

gpsbabel -i gpx -f merged_with_no_dupes.gpx -o gpsdrive -F - |awk '{print "insert into waypoints \

(name,lat,lon,type) values (\"" $1 "\",\"" $2 "\",\"" $3 "\",\"" $4 "\");" }' >>wp.sql

 

gpsbabel -i gpx -f merged_with_no_dupes.gpx -o html -F ~/Desktop/geocache.html \

-o nmea -F nmea.out

 

---

 

I use GPSDrive, Mysql, a Lawrence iFinder Go, and a cable...

 

The shell script has a bunch of lines like this

----

gpsbabel -i gpx -f 853345.gpx -o gpsdrive -F - |awk '{print "insert into waypoints \

(name,lat,lon,type) values (\"ST-" $1 "\",\"" $2 "\",\"" $3 "\",\"" $4 "\");" }' >>wp.sql

gpsbabel -i gpx -f 853345.gpx -o html -F ~/Desktop/Geo-Sea-Tac.html

gpsbabel -i gpx -f 853345.gpx -o nmea -F - >>nmea.out

 

----

 

Link to comment

It could be shorter still. :-) Just like you can specify multiple inputs, you can specify multiple outputs.

 

-x sort ... \

-o html -F ~/Desktop/geocache.html \

-o nmea -F nmea.out \

-o gpsdrive -F - |awk ...

 

If you actually do need the merged_with_no_dupes.gpx, you can throw it in there too, but there's really no reason to keep rereading it.

Link to comment

thats what happens when scripts evolve. I still had the nmea as a pipe. I could even make this an alias now. (Ok I could before.)

 

Is there a way to script the equivalent to

 

gpsdrive -f *.gpx ...

 

I am still learning scripts...

 

It could be shorter still. :-) Just like you can specify multiple inputs, you can specify multiple outputs.

 

-x sort ... \

-o html -F ~/Desktop/geocache.html \

-o nmea -F nmea.out \

-o gpsdrive -F - |awk ...

 

If you actually do need the merged_with_no_dupes.gpx, you can throw it in there too, but there's really no reason to keep rereading it.

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...