On Aug 9, 2010, at 5:59 PM, Christopher Stevens wrote:

> What's the best way to sync Mapnik's osm.xml with osm2pgsql's
> default.style? I ask as I'm getting errors about a missing 'shops'
> column when running:
> ./generate_xml.py osm.xml my_osm.xml --dbname gis --user postgres
> --host '' --port 5432 --world_boundaries ./world_boundaries/
> --password ''
> 
> I just did a fresh Mapnik instal on ubuntu Lucid, following instructions at:
> http://trac.mapnik.org/wiki/UbuntuInstallation (from source route)
> 
> I then installed a couple unzip libraries, downloaded additional world
> boundaries files, mapnik-tools, made some minor postgresql account
> tweaks to 'trust' me, imported some colorado osm data, then ran
> generate_xml.py. I may have skipped a step or two there, but that
> gives the idea.
> 
> Do I need an older or more recent version of mapnik-tools? Do I need
> to make a change to osm2pgsql?

You need the latest default.style from svn that includes the "shop" tag:

http://svn.openstreetmap.org/applications/utils/export/osm2pgsql/default.style

Note: you would have this already if you had built a recent osm2pgsql version, 
but I presume that you installed an old version from the ubuntu packages? 

> If I make a change to osm2pgsql, do I
> need to re-import the osm data (that question may be out of scope of
> this topic).?

Yes.

> I appreciate your thoughts.
> _______________________________________________
> Mapnik-users mailing list
> [email protected]
> https://lists.berlios.de/mailman/listinfo/mapnik-users

_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to