Hello, thanks for your hints.
I got the map XML style file from an older installation, when i first installed mapnik. There was only one occurrence of "learning", i removed it and now that part works. I used the default.sty from the osm2pgsql snapshot i used. Best regards, Torsten. Am Freitag, 3. Dezember 2010, 20:51:26 schrieb Jon Burgess: > On Fri, 2010-12-03 at 20:05 +0100, Torsten Mohr wrote: > > RuntimeError: PSQL error: > > FEHLER: Spalte »learning« existiert nicht > > LINE 2: > > ...ghway,landuse,"natural",man_made,waterway,tourism,learning,a... > > > > ^ > > > > Full sql was: 'select * from > > > > (select > > > > way,highway,landuse,"natural",man_made,waterway,tourism,learning,amenity, > > place,name,ref,oneway,char_length(ref) as length from planet_osm_line > > where waterway IS NULL and leisure IS NULL and landuse IS NULL) as roads > > > > limit 0' > > > > (encountered during parsing of layer 'planet roads text osm') > > > > It looks to me that some versions don't fit together? > > > > Can anybody give me a hint what could be the problem? > > The main OSM map style has no references to 'learning' anywhere. Where > did you get that map style from? > > You don't have the 'learning' column in your current database. The > osm2pgsql style file lists which keys are imported and each one becomes > a column in the postgres database. If you want to support rendering > rules which reference 'learning' then you need to add this to the > "default.style" given to osm2pgsql when it imports the data. > > Alternatively you can use enable the 'hstore' support in osm2pgsql which > will import every key into a special column but this requires you to > query the data in a slightly different way in the map style. > > Jon _______________________________________________ Mapnik-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/mapnik-users

