Opened 11 years ago

Closed 10 years ago

#2571 closed defect (fixed)

osm2pgsql isn't complaining about a defective style file

Reported by: TobWen Owned by: jburgess777@…
Priority: major Milestone:
Component: mapnik Version: 1.0
Keywords: osm2pgsql, style file Cc:


This defect occured on osm2pgsql SVN version 0.69-19198P. commandline: ./osm2pgsql -S . -c -l germany.osm.bz2

osm2pgsql does not complain about a defective style file. It proceeds working and ends without an error.

Change History (3)

comment:1 Changed 11 years ago by Ldp

Owner: changed from jburgess to jburgess777@…

In this case, you gave it a directory, instead of the actual style file.

Still, would be nice if osm2pgsql would abort or at least warn the user.

comment:2 Changed 11 years ago by TobWen

True! This seems to be working:

./osm2pgsql -S ./ -c -l germany.osm.bz2

comment:3 Changed 10 years ago by jburgess777@…

Resolution: fixed
Status: newclosed

Thanks for the report. I just submitted a fix for this in r19974. osm2pgsql will now abort if it gets an error when reading the style file or it does not define any valid columns.

Note: See TracTickets for help on using tickets.