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

Ross Scanlon info at 4x4falcon.com
Sat Jun 21 00:33:47 AKDT 2008


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.

--
Cheers
Ross
info at 4x4falcon dot com



On Sat, 21 Jun 2008 09:03:27 +0200
"Joerg Ostertag (gpsdrive Munich/Germany)" <gpsdrive at ostertag.name> wrote:

> On Samstag 21 Juni 2008, Hamish wrote:
> > > If usefull;  maybe we can change the standard projection of
> > > GpsDrive
> >
> > also, if changing the default beware that you don't render existing users
> > many years of existing local map tile sets useless. That would be very
> > unfortuante.
> 
> It simply would be an additional projection available and the default for 
> mapnik set to whatever mapnik would store in the database by default. That's 
> all.
> 
> So youe; please find out which projection is used and which one would be best 
> for our GpsDrive-Mapnik mode.
> 
> -- 
> 
> Jörg (Germany, Tettnang)
> 
> http://www.ostertag.name/
> _______________________________________________
> GPSdrive mailing list
> GPSdrive at lists.gpsdrivers.org
> http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive
> 


More information about the GPSdrive mailing list