Vlad, I noticed there are a few sample map styles inside the osm plugin source directory that work with the sample .osm files there.
Try this: First, install nik2img Then do: svn co http://svn.mapnik.org/trunk/plugins/input/osm/ osm_plugin_code cd osm_plugin_code nik2img.py test.xml test.png If you have the proper Cairo support built into Mapnik then you can also do: nik2img.py test.xml test.svg # or .pdf... Dane On Dec 1, 2009, at 8:22 AM, Dane Springmeyer wrote: > On Nov 30, 2009, at 11:17 PM, Vladislav Shikhov wrote: > >> Hello all, >> >> Is mapnik osm input plugin works well or it's still experimental? > > It is certainly experimental, but would be great to have you testing > it. > >> Is >> there any limitations for input .osm file? > > Not that I know of, other than you will want to try first with small > files. > >> The problem is that I can't render a .svg from .osm file with python. >> (got "Not a map file. Node 'Map' not found" error) with mapnik >> installed from ubuntu 9.10 deb repository (it seems it have osm input >> plugin.) >> > > Sounds like you are not using Mapnik correctly. That error means that > you are trying to read in invalid XML for the map styles. > > Perhaps you are confusing the .osm file with the separate, needed, map > styles (which are also XML)? > > Please paste the script you are trying to run. > > Dane > > _______________________________________________ > Mapnik-devel mailing list > [email protected] > https://lists.berlios.de/mailman/listinfo/mapnik-devel _______________________________________________ Mapnik-devel mailing list [email protected] https://lists.berlios.de/mailman/listinfo/mapnik-devel
