Re: [GRASS-user] Making and Uploading Maps for Garmin Etrex Legend GPS - v.net.salesman

2008-08-13 Thread Hamish
> 5) Use ogr2ogr or gpsbabel to make a gpx file (you can also
> do the simplify stuff with gpsbabel simplify rather than
> v.generalize, if you prefer)

there is also a gpsbabel filter that will break track lines.

In the following I split a track into multiple segments when the jump
between points > 100m. (FWIW I got an identical split with a 50m threshold)

gpsbabel -i gpx -f transit-20080312-coastalotago.gpx \
  -x track,sdistance=0.1k \
  -o gpx -F transit-20080312-coastalotago_split.gpx


Beware that gpsbabel relies on GPX fixes having good timestamps, it uses the 
time as the key.
http://groups.google.com/group/nzopengis/browse_thread/thread/66d2cf3f0cbab08f/b08c58abad21d952?lnk=gst&q=gpsbabel#b08c58abad21d952


Hamish



  

___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Making and Uploading Maps for Garmin Etrex Legend GPS - v.net.salesman

2008-08-13 Thread John C. Tull
You need to do it as a route, not a track, to avoid the ends  
connecting. I did this last year, and I think it worked as one would  
hope.


Here was my process:
1) Generate the vector line.
2) Reduce the number of nodes if your GPS is limited in available  
storage with v.generalize (this can require many iterations and  
tweaking of commands to get it right)
3) Export as a shapefile making sure that it is of type line, as this  
is a segment

4) Convert to epsg:4326 if necessary (ogr2ogr -t_srs epsg:4326 ...)
5) Use ogr2ogr or gpsbabel to make a gpx file (you can also do the  
simplify stuff with gpsbabel simplify rather than v.generalize, if you  
prefer)
6) Transfer to unit with gpsbabel as a route: gpsbabel -r -i gpx -o  
garmin -f gpxfile -F /dev/yourgpsdevice


I think you can skip 5 and go straight from shapefile to garmin unit,  
but not sure.


Regards,
John


On Aug 13, 2008, at 7:22 AM, John Stevenson wrote:

Thanks to everyone for their help so far.  It seems like this is  
much less straightforward than I had expected.  I've looked into  
some of the options e.g. QLandkarte, cGISmapper and tried to upload  
a ready-made .img file but had problems with the port speed (I'm  
using a usb/serial converter to connect to the GPS).


As I am most interested in loading up my road data, I thought about  
putting them on as tracks.  I exported the vector map to kml, then  
used gpsbabel to convert to .gpx format.  I then edited this by hand  
to name the tracks and join all the parts into track segments.   
Unfortunately when it loads up, all the segments get joined together  
so that the end of one road jumps onto the start of the next.  I  
think that either gpsbabel or my etrex don't support that feature.


So now I have a new plan:  is it possible to use v.net.salesman to  
export a single track that covers every road in my network and  
doubles back on itself to return to the start?  If so, can someone  
give me some pointers on how to do it - I'm still getting to grips  
with the vector format and don't really have a clue where to start.


Thanks,

John


___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Making and Uploading Maps for Garmin Etrex Legend GPS - v.net.salesman

2008-08-13 Thread John Stevenson
Thanks to everyone for their help so far.  It seems like this is much 
less straightforward than I had expected.  I've looked into some of the 
options e.g. QLandkarte, cGISmapper and tried to upload a ready-made 
.img file but had problems with the port speed (I'm using a usb/serial 
converter to connect to the GPS).


As I am most interested in loading up my road data, I thought about 
putting them on as tracks.  I exported the vector map to kml, then used 
gpsbabel to convert to .gpx format.  I then edited this by hand to name 
the tracks and join all the parts into track segments.  Unfortunately 
when it loads up, all the segments get joined together so that the end 
of one road jumps onto the start of the next.  I think that either 
gpsbabel or my etrex don't support that feature.


So now I have a new plan:  is it possible to use v.net.salesman to 
export a single track that covers every road in my network and doubles 
back on itself to return to the start?  If so, can someone give me some 
pointers on how to do it - I'm still getting to grips with the vector 
format and don't really have a clue where to start.


Thanks,

John




Tom Russo wrote:

On Thu, Aug 07, 2008 at 10:12:08AM -0700, we recorded a bogon-computron collision of 
the <[EMAIL PROTECTED]> flavor, containing:
  
I see some room for confusion here. I think on Garmins the basemaps 
"built-in maps" are not vector format but raster format .img files.
So the short answer is you can't dump them on the way you're trying to, 
you need to convert them.



Try looking at cgpsmapper and GPSMapEdit.  Neither is open source, but 
both work under WINE on linux.  There's a Linux build of cgpsmapper, too.
These tools will let you create maps for your Garmin GPS from various vector 
data (with a lot of work).  See:


http://home.cinci.rr.com/creek/garmin.htm

for a walk through the process and links to the tools.

Since you've already imported your GPX files from gpsbabel into GRASS, you
can just export them as shapefiles for reading into GPSMapEdit.

GPSMapEdit will read shapefiles, but it's a bit of a chore to get it Just Right.There is 
talk about making an OGR output format that can handle the "Polish"
format used by cgpsmapper, but it ain't there yet.  I'm not aware of any
other tool than GPSMapEdit that can write Polish format from shapefiles.

HTH,
T.

  

John C. Tull wrote:

I've used gpsbabel for moving points, tracks, and routes to/from a 
Garmin GPSV.


http://www.gpsbabel.org

John

On Aug 7, 2008, at 5:17 AM, John Stevenson wrote:

  
I have digitised some points, roads and a lake in GRASS and would like 
to be able to upload them onto my Garmin Etrex Legend.


I have been able to use v.out.ogr format=kml to output the points, and 
can upload them to the GPS with gpsbabel.
However, I would like the roads and the lake to be loaded into the 
built-in maps.  I read a post on the GRASS mailing list archive that 
mentioned cGPSmapper, but it seems like this only works with ESRI 
shape files (v.out.ogr again) if you have one of the paid-for versions.


Is there any open source software that can do this?  Can GRASS export 
in a format that can be more easily converted to be compatible with 
the GPS?



  


___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Making and Uploading Maps for Garmin Etrex Legend GPS

2008-08-07 Thread Tom Russo
On Thu, Aug 07, 2008 at 10:12:08AM -0700, we recorded a bogon-computron 
collision of the <[EMAIL PROTECTED]> flavor, containing:
> I see some room for confusion here. I think on Garmins the basemaps 
> "built-in maps" are not vector format but raster format .img files.
> So the short answer is you can't dump them on the way you're trying to, 
> you need to convert them.

Try looking at cgpsmapper and GPSMapEdit.  Neither is open source, but 
both work under WINE on linux.  There's a Linux build of cgpsmapper, too.
These tools will let you create maps for your Garmin GPS from various vector 
data (with a lot of work).  See:

http://home.cinci.rr.com/creek/garmin.htm

for a walk through the process and links to the tools.

Since you've already imported your GPX files from gpsbabel into GRASS, you
can just export them as shapefiles for reading into GPSMapEdit.

GPSMapEdit will read shapefiles, but it's a bit of a chore to get it Just 
Right.There is talk about making an OGR output format that can handle the 
"Polish"
format used by cgpsmapper, but it ain't there yet.  I'm not aware of any
other tool than GPSMapEdit that can write Polish format from shapefiles.

HTH,
T.

> John C. Tull wrote:
> > I've used gpsbabel for moving points, tracks, and routes to/from a 
> > Garmin GPSV.
> > 
> > http://www.gpsbabel.org
> > 
> > John
> > 
> > On Aug 7, 2008, at 5:17 AM, John Stevenson wrote:
> > 
> >> I have digitised some points, roads and a lake in GRASS and would like 
> >> to be able to upload them onto my Garmin Etrex Legend.
> >>
> >> I have been able to use v.out.ogr format=kml to output the points, and 
> >> can upload them to the GPS with gpsbabel.
> >> However, I would like the roads and the lake to be loaded into the 
> >> built-in maps.  I read a post on the GRASS mailing list archive that 
> >> mentioned cGPSmapper, but it seems like this only works with ESRI 
> >> shape files (v.out.ogr again) if you have one of the paid-for versions.
> >>
> >> Is there any open source software that can do this?  Can GRASS export 
> >> in a format that can be more easily converted to be compatible with 
> >> the GPS?

-- 
Tom RussoKM5VY   SAR502   DM64ux  http://www.swcp.com/~russo/
Tijeras, NM  QRPL#1592 K2#398  SOC#236 AHTB#1 http://kevan.org/brain.cgi?DDTNM
 "Argue for your limitations and sure enough, they're yours."  -- R. Bach



___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Making and Uploading Maps for Garmin Etrex Legend GPS

2008-08-07 Thread Alex Mandel
I see some room for confusion here. I think on Garmins the basemaps 
"built-in maps" are not vector format but raster format .img files.
So the short answer is you can't dump them on the way you're trying to, 
you need to convert them.


You'll need to look for a tool like this 
http://wiki.openstreetmap.org/index.php/Mkgmap but meant to work with 
the formats your using and the platform you're on.


Hope that helps,
Alex

John C. Tull wrote:
I've used gpsbabel for moving points, tracks, and routes to/from a 
Garmin GPSV.


http://www.gpsbabel.org

John

On Aug 7, 2008, at 5:17 AM, John Stevenson wrote:

I have digitised some points, roads and a lake in GRASS and would like 
to be able to upload them onto my Garmin Etrex Legend.


I have been able to use v.out.ogr format=kml to output the points, and 
can upload them to the GPS with gpsbabel.
However, I would like the roads and the lake to be loaded into the 
built-in maps.  I read a post on the GRASS mailing list archive that 
mentioned cGPSmapper, but it seems like this only works with ESRI 
shape files (v.out.ogr again) if you have one of the paid-for versions.


Is there any open source software that can do this?  Can GRASS export 
in a format that can be more easily converted to be compatible with 
the GPS?


Thanks

John
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Making and Uploading Maps for Garmin Etrex Legend GPS

2008-08-07 Thread John C. Tull
I've used gpsbabel for moving points, tracks, and routes to/from a  
Garmin GPSV.


http://www.gpsbabel.org

John

On Aug 7, 2008, at 5:17 AM, John Stevenson wrote:

I have digitised some points, roads and a lake in GRASS and would  
like to be able to upload them onto my Garmin Etrex Legend.


I have been able to use v.out.ogr format=kml to output the points,  
and can upload them to the GPS with gpsbabel.
However, I would like the roads and the lake to be loaded into the  
built-in maps.  I read a post on the GRASS mailing list archive that  
mentioned cGPSmapper, but it seems like this only works with ESRI  
shape files (v.out.ogr again) if you have one of the paid-for  
versions.


Is there any open source software that can do this?  Can GRASS  
export in a format that can be more easily converted to be  
compatible with the GPS?


Thanks

John
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Making and Uploading Maps for Garmin Etrex Legend GPS

2008-08-07 Thread Paulo Marcondes
2008/8/7 John Stevenson <[EMAIL PROTECTED]>:
>
> Is there any open source software that can do this?  Can GRASS export in a
> format that can be more easily converted to be compatible with the GPS?
>

Hi John,

have a look at http://freegeographytools.com/ they have an article
today regarding map uploading to garmim.
other than that, they had a series of posts on this subject.

cheers.
-- 
Paulo Marcondes = PU1/PU2PIX
-22.915 -42.224 = GG86jc
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] Making and Uploading Maps for Garmin Etrex Legend GPS

2008-08-07 Thread John Stevenson
I have digitised some points, roads and a lake in GRASS and would like 
to be able to upload them onto my Garmin Etrex Legend.


I have been able to use v.out.ogr format=kml to output the points, and 
can upload them to the GPS with gpsbabel. 

However, I would like the roads and the lake to be loaded into the 
built-in maps.  I read a post on the GRASS mailing list archive that 
mentioned cGPSmapper, but it seems like this only works with ESRI shape 
files (v.out.ogr again) if you have one of the paid-for versions.


Is there any open source software that can do this?  Can GRASS export in 
a format that can be more easily converted to be compatible with the GPS?


Thanks

John
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user