Allright, the problem is solved. I put to the users environment variables(Control Panel->System->Advanced->Environment Variables):
PROJ_LIB C:\ms4w\proj\nad Now it works fine :-) Best regards, Kai -------- Original-Nachricht -------- > Datum: Tue, 08 Feb 2011 10:54:00 +0100 > Von: "Kai Behncke" <[email protected]> > An: [email protected] > Betreff: [Mapnik-users] Problems to visualize OSM-data > Dear users, > > I try to visualize OSM-Data fom Osnabrueck(Germany) with Mapnik on > Windows7. > > So far at least I see the world boundaries, but not the data I have in my > postgis-database, I think it might be a projection error..... > > > With osm2pgsql I did: > osm2pgsql -c -d mapnik -U postgres -W -S > C:\mapnik_0_7\osm2pgsql\default.style -l -H localhost -P 5432 > C:\mapnik_0_7\beispiel\osnabrueck.osm > > > The data in my database are in epsg:900913, might that be a problem? > > Succesfully I created the osm.xml (and the other xml files) with: > ./generate_xml.py --host localhost ......etc. > > In generate_image.py now I use: > > #--------------------------------------------------- > # Change this to the bounding box you want > # > ll = (7.917, 52.217, 8.1694, 52.3537) > #--------------------------------------------------- > > > If I start generate_imape.py I get an "empty" white image (area of > germany) but without OSM-Data. Furthermore I get: > > proj_init_error:failed to initialize projection with:+init=epsg:4326 > > Can anybody give me a hint please? > > Thank you very much, Kai > -- > NEU: FreePhone - kostenlos mobil telefonieren und surfen! > Jetzt informieren: http://www.gmx.net/de/go/freephone > _______________________________________________ > Mapnik-users mailing list > [email protected] > https://lists.berlios.de/mailman/listinfo/mapnik-users -- Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de _______________________________________________ Mapnik-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/mapnik-users

