[ gpsdrive ] GPSDrive with Mapnik and OSM: claims "No map available for this position"

Joerg Ostertag (gpsdrive Munich/Germany) gpsdrive at ostertag.name
Sat Jun 21 03:59:53 AKDT 2008


On Samstag 21 Juni 2008, Ross Scanlon wrote:
> 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.

Maybe we should add a config option switching between those two different 
projections.


-
Joerg


More information about the GPSdrive mailing list