[ gpsdrive ] GPSdrive SVN, Mapnik and a Patch

Guenther Meyer d.s.e at sordidmusic.com
Thu May 29 05:26:01 AKDT 2008


Am Donnerstag 29 Mai 2008 schrieb Mark Wilkinson:
> Interesting, looking at the commands I used to import the osm data, I
> also used the -m switch
> which aparently imports the data 'in proper spherical mercator not OSM
> merc'
>
> this is not something i'd noticed when following the osm mapnik how-to
>
> Looking at the code for osm2pgsql, leaving off the -m switch and using
> the original gpsdrive projection of '+proj=merc +datum=WGS84' would
> probably have worked correctly, however with the how-to saying to import
> with -m, this might account for the difference of about .2 of a degree
>
which how-to?

the recommended way to create and fill the postgis database for gpsdrive is to 
use the script mapnik-osm-updater.sh (which calls osm2pgsql without the -m 
option...).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.gpsdrivers.org/pipermail/gpsdrive/attachments/20080529/2e79441d/attachment.bin 


More information about the GPSdrive mailing list