Hi, I have installed osm2pgsql with all required dependencies (according to https://wiki.openstreetmap.org/wiki/Osm2pgsql), but when reading a .pbf file, I'm getting this message:
My version of osm2pgsql is 0.85.0, so I think it's supposed to read .pbf. Is there anything I can do about it? EDIT: OK, already solved - I've made some reinstalls, I've also tried some older versions, so I don't know what exactly caused this issue, but now everything, works fine. asked 04 Feb '14, 10:10 Speeder1612 edited 04 Feb '14, 11:41 |
One Answer:
Have you read the part of the instructions where it says:
osm2pgsql will compile if the protobuf dependencies are not met, and simply issue a warning that is overlooked easily. The result is an osm2pgsql binary without PBF support. answered 04 Feb '14, 10:23 Frederik Ramm ♦ Yes, I have - this is why I don't understand why it doesn't work. (04 Feb '14, 10:33) Speeder1612 1 Then take a look at the output of (04 Feb '14, 11:02) scai ♦ |
Hi can you tell me where did you get the older version of osm2pgsql? My osm2pgsql is 0.87.0 and it doesn't work either. Thank you!