"Learning" tag has never been actively used in the osm.xml, and therefore it looks like it was removed from the default.style for osm2pgsql [1]
So, you could either remove "learning" from your Mapnik SQL subselect in your stylesheet or you add back the "learning" column to your default.style, then re-import the data. Dane [1] http://trac.openstreetmap.org/changeset/23678/applications/utils/export/osm2pgsql/default.style On Dec 3, 2010, at 11:05 AM, Torsten Mohr wrote: > Hi, > > i just installed: > proj-4.7.0.tar.gz with proj-datumgrid-1.5.zip > geos-3.2.2.tar.bz2 > > postgis-1.5.2.tar.gz > > I used a snapshot of osm2pgsql (2010/11/27) to import planet-osm data. > > I imported a rather old planet-090408 as there were some problems with the > latest planet-osm data. > > > If i now try to render a map i get: > > Traceback (most recent call last): > File "./qwe.py", line 27, in <module> > load_map(m, mapfile) > 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? > > > Best regards, > Torsten. > > _______________________________________________ > 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

