[ gpsdrive ] libgps
Paul Martin
pm at debian.org
Wed Dec 24 06:36:37 AKST 2008
On Wed, Dec 24, 2008 at 03:04:58PM +0100, Jan-Benedict Glaw wrote:
> On Mon, 2008-12-22 19:40:15 +0000, Paul Martin <pm at debian.org> wrote:
> > diff -ur -x /.gps/ gpsdrive-trunk/scripts/mapnik/osm-in.xml gpsdrive-local/scripts/mapnik/osm-in.xml
> > --- gpsdrive-trunk/scripts/mapnik/osm-in.xml 2008-12-18 09:49:06.019635700 +0000
> > +++ gpsdrive-local/scripts/mapnik/osm-in.xml 2008-12-22 17:07:14.653784272 +0000
> > @@ -1,6 +1,6 @@
> > <?xml version="1.0" encoding="utf-8"?>
> > <!DOCTYPE Map>
> > -<Map bgcolor="#b5d0d0" srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs +over">
> > +<Map bgcolor="#b5d0d0" srs="+proj=merc +datum=WGS84 +k=1.0 +units=m +over +no_defs">
>
> The old one is what current OSM uses. However, seems we're trying to
> get rid of this altogether...
You will need to fix the following, too, as it doesn't agree.
src/mapnik.cpp:
[...]
extern int mydebug;
extern int borderlimit;
mapnik::projection Proj("+proj=merc +datum=WGS84");
//mapnik::projection Proj("+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs +over");
typedef struct {
int NewMapYsn;
int WidthInt;
[...]
--
Paul Martin <pm at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.gpsdrivers.org/pipermail/gpsdrive/attachments/20081224/790250d5/attachment.bin>
More information about the GPSdrive
mailing list