[OSM-dev] adding custom symbology into the map generation process?

2010-08-18 Thread Ákos Maróy
Hi, I'm trying to get my own custom mapnik symbology rules into the open street map map generation process. By the map generation process, I mean what is described here: http://wiki.openstreetmap.org/wiki/Mapnik basically what I'm aiming for: - import the planet.osm file into a pgsql database, u

Re: [OSM-dev] adding custom symbology into the map generation process?

2010-08-18 Thread Peter Körner
Am 18.08.2010 12:15, schrieb Ákos Maróy: but I wonder, is there anything special to be done to import my custom .osm file into a pgsql database, and then how would my rendering rules by taken into account when generate_xml.py is run? To import your own .osm file you'll need osm2pgsql in append

Re: [OSM-dev] adding custom symbology into the map generation process?

2010-08-18 Thread Ákos Maróy
Peter, > To import your own .osm file you'll need osm2pgsql in append mode > (specify --append on the command line). I tried, and it seems some data is left out of the import. this is the osm XML file I have: and

Re: [OSM-dev] adding custom symbology into the map generation process?

2010-08-18 Thread Peter Körner
Am 18.08.2010 15:48, schrieb Ákos Maróy: thus, it seems my custom tag of aviation_area=danger is omitted in the import. First, there's in normal use cases no need to query planet_osm_ways, planet_osm_nodes and planet_osm_rels -- they're for internal use by osm2pgsql's slim mode. Use planet_os

Re: [OSM-dev] adding custom symbology into the map generation process?

2010-08-18 Thread Graham Jones
It sounds like your problem was with the osm2pgsql style, as someone else has said. One other thing to watch is that there are a couple of tags excluded by osm2pgsql even if they are in the style file. From memory I think they are source= and note=. That caught me out a couple of weeks ago when I