On 08/04/2014 05:59 PM, Robert Edmonds wrote:
> I'd be happy to take a look and try to debug the issue to see if it's
> caused by the protobuf-c changes.

Thanks, that's much appreciated.

> However, I'm entirely unfamiliar with osm2pgsql.  Is there any chance
> you could walk me through setting up a test case, or provide a sample
> file and command-line arguments that exhibit the problem?

The basic setup is described in the Operation section of the README file

For my own test case I used a wheezy based database server:

 createdb osm
 createlang plpgsql osm
 psql osm < /usr/share/postgresql/9.1/contrib/postgis-1.5/postgis.sql
 psql osm <
 psql -d osm -c "ALTER TABLE geometry_columns OWNER TO bas"
 psql -d osm -c "ALTER TABLE spatial_ref_sys OWNER TO bas"
 psql osm < ~/git/pkg-grass/osm2pgsql/900913.sql
 echo "CREATE EXTENSION hstore" | psql osm

Adjust the paths for PostgreSQL 9.3 on sid.

OSM PBF files can be downloaded from Geofabrik:


I used an old one I had lying around.

osm2pgsql command line I used:

osm2pgsql -c -l -s -d <dbname> -U <dbuser> -W -H <dbhost> -v

> Thanks!

And thank you too.

Kind Regards,


 GPG Key ID: 4096R/E88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1

Pkg-grass-devel mailing list

Reply via email to