On Aug 11, 2009, at 1:33 PM, Torsten Mohr wrote: > Hello Dane, > > thanks a lot for that hint, but it did not help, i still don't see > no track, > just blue background. > > I copied the SRS from the other layers, i thought they'd need to > be the same for all layers? >
No, at the layer level you set the srs to the projection of the actual layer data. > I just installed mapnik-0.6.1, i used 0.6.0 before. > python scons/scons.py DEBUG=True INPUT_PLUGINS=all configure > python scons/scons.py install > > One thing i see: i get a colored warning yellow-on-white, absolutely > unreadable, i had to copy it: > > Note: will build without these optional dependencies: > - ociei Thats not a problem, just the driver for the oracle plugin. > > Maybe it makes sense to change the build script to not use yellow-on- > white. > But the installationwent fine. > > > When looking at stderr: > python my_script.py 2>log.txt > > In log.txt: > registered datasource : postgis > registered datasource : shape > registered datasource : sqlite > registered datasource : raster > registered datasource : osm > registered datasource : kismet > registered datasource : gdal > registered datasource : ogr > bit_depth=8 color_type=6 > bit_depth=8 color_type=6 > ... > ... > ... > size = 4 > base=/local/mapnik/ > file=trck.gpx > layer=waypoints > type=ogr > unhandled type_oid=11 > datasource=0x18768a0 type=1 > scale=15.6953 > start map processing > bbox > = > Envelope > (986807.9457954284,6257910.488744537,1016942.888483496,6274861.394006575 > ) > scale denominator = 56054.6 > start layer processing : track > datasource = 0x18768a0 > unhandled type_oid=11 > unhandled type_oid=11 > unhandled type_oid=11 > unhandled type_oid=11 > <<<<<repeated more than 7000 times !!!>>>>> > ... > ... > ... > 7519 features > end layer processing > end map processing > 0.62 s > > destroyed singleton > destroyed singleton > destroyed singleton > > > The "unhandled type_oid=11" does not mean anything to me, That means that Mapnik is not able to read some of the feature attributes which will be a problem primarily if you are labeling or filtering on that attribute, but should not be a problem otherwise. > is it a hint on what goes wrong? > No, I think you will need to post a full test case, ideally with a sample (small) gpx dataset and sample xml styles. Dane > > Best regards, > Torsten. > > >> On Aug 11, 2009, at 12:53 AM, Torsten Mohr wrote: >>> <Layer name="track" status="on" 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 >>> +nadgri...@null >>> +no_defs +over"> >> >> try: >>> <Layer name="track" status="on" srs="+init=epsg:4326"> > _______________________________________________ Mapnik-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/mapnik-users

