[OSM-dev] Osm2pgsql not importing routes?

yvecai yvecai at gmail.com
Mon Feb 27 19:18:53 GMT 2012


Le 26/02/2012 23:00, Jon Burgess a écrit :
> 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
I removed libgeos-dev, but no cigar. Then I removed everything and 
installed back libgeos 3.2.2 from ubuntu-gis ppa, then rebuild 
osm2pgsql, still no relations.




More information about the dev mailing list