[OSM-talk] New to OSM, trying to export UK road network as shapefiles

Jon Burgess jburgess777 at googlemail.com
Sat Sep 15 11:00:48 BST 2007


On Sat, 2007-09-15 at 00:11 -0400, Stephen Woodbridge wrote:
> Hi all,
> 
> I just got a current copy of svn and tried to build osm2shp, I found a 
> thread in the talk archives that helped a little. Here is what I did:

> make
> 
> g++ -o osm2shp osm2shp.o  -L/usr/local/lib ../../../lib/libosm/libosm.a 
>   -lshp -lexpat
> ../../../lib/libosm/libosm.a(Components.o)(.text+0x1210): In function 
> `OSM::Components::toOSGB()':
> /home/woodbri/work/openstreetmap/svn.openstreetmap.org/applications/lib/libosm/Components.cpp:388: 
> undefined reference to `LatLng::toOSRef()'

It needs to link with libccoord.a too. I've fixed it in SVN now.

	Jon






More information about the talk mailing list