[ gpsdrive ] GPSDrive with Mapnik and OSM: claims "No map available for this position"
Jannis Achstetter
kripton at kripserver.net
Sat Jun 21 04:52:53 AKDT 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ross Scanlon schrieb:
| Hi All,
|
| For me in the file gpsdrive mapnik.cpp at line 45 there is a section
of code commented out.
|
| It starts mapnik::projection Proj("+proj=merc +a= ....");
|
| I uncommented this and commented out line 44 that has
mapnik::projection Proj("+proj=merc +datum=WGS84");
|
| This resolved the issue with incorrect location in mapnik mode and did
not affect any of my other map tiles (google).
|
| I used the -m switch when putting the osm data into the database.
Yes, that's where I modified gpsdrive the last time I made it work using
osm2pgsql with the -m switch.
Joerg will you add a config-option for this please?
Jannis
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkhc+a0ACgkQeYlewm37lbhtqACdHV3FItSHAevNQrgHp6qWlPUw
D3wAnAwlApte9nErLZ/Qme4NRuSytRyL
=CkHY
-----END PGP SIGNATURE-----
More information about the GPSdrive
mailing list