source: subversion/applications/utils/export/osm2shp/README @ 3210

Last change on this file since 3210 was 2933, checked in by ulf, 13 years ago

add the corresponding mail thread about required dependencies http://lists.openstreetmap.org/pipermail/talk/2007-May/013854.html

File size: 1.4 KB
Line 
1osm2shp - the osm to shape conversion application.
2
3
4The following is copied from a corresponding mail thread about dependencies
5(http://lists.openstreetmap.org/pipermail/talk/2007-May/013854.html):
6
7You also need to supply the shapefile to store areas, and the XML file which
8differentiates, by tags, polylines and areas. (This is in SVN in the libosm
9directory - it's the file features.xml)
10
11You also need the "libosm" and, I think, "ccoord" library available from
12the "libs" directory of the source tree.
13With "libosm", once you have done "make", you can use "make install" (as
14root) to copy the library to /usr/local/lib and the header files to
15/usr/local/include.
16
17With "ccoord" there is no "make install" option (I would add one but have
18no access to SVN from where I am now), so you should enter "make" and then
19manually type (as root)
20
21cp libccoord.a /usr/local/lib
22cp *.h /usr/local/include
23
24You can then change directory to osm2shp (I can't find this in the latest
25SVN by the way... is it still there?), and then type "make". It should
26work - let me know if not (together with error messages).
27
28There are other dependencies too: you need shapelib (library for creating
29shapefiles) and expat 2.0 (simple XML parser). These compile and install
30without problems using a standard ./configure followed by make and make
31install.
32
33These are available from:
34
35shapelib.maptools.org/
36expat.sourceforge.net/
Note: See TracBrowser for help on using the repository browser.