[OSM-dev] Osm2pgsql not importing routes?

Jon Burgess jburgess777 at gmail.com
Sun Feb 26 22:00:50 GMT 2012


On Sun, 2012-02-26 at 18:31 +0100, yvecai wrote:
> I use ubuntu 10.04,  postgresql 8.4.10, postgis 2.0, libgeos 3.2.2.
> 
> Find here the complete osm2pgsql install and output:
> http://www.pistes-nordiques.org/download/osm2pgsql.out
> 
A while back there were a few reports of a similar issue and it turned
out to be due to having multiple versions of Geos installed. I think the
root cause was that the code compiled using the headers from one library
version but then linked against a different one. This only effects the
part of osm2pgsql which uses geos to build the relation geometries.

There are some signs in your compile logs which suggest you have a
locally compiled version of Geos in /usr/local so you may have hit the
same issue.

If you want to be sure you compile using your copy in /usr/local then
try removing the system libgeos-dev package and rebuild osm2pgsql.

   Jon






More information about the dev mailing list