source: subversion/applications/utils/import/srtm2osm/README @ 5763

Last change on this file since 5763 was 2125, checked in by enxrah, 13 years ago

srtm2osm a little utility to create contour lines in OSM format

File size: 1.0 KB
Line 
1Overview
2========
3
4Utility to create contours in OSM format for use with OSMARENDER. This
5is not intended for upload into the OSM database!
6
7The SRTM height data needs to be obtained from :
8http://srtm.csi.cgiar.org/
9
10The real work is done by gnuplot - however gnuplot is NOT GPL (despite
11the name - apparently they thought of it first) and is being very
12stubborn about changing.
13
14Instructions
15============
16
17Determine the latitude and longitude of your map, and then download
18the SRTM data in ASCII format from http://srtm.csi.cgiar.org/
19
20Unzip the file, and edit example.sh to include the name of that file,
21and the bounding box of the map file. Your OSM file should be called
22data.osm, or you can update example.sh to suit.
23
24Run example.sh.
25
26contours.osm is created, which contains the actual contours in OSM format,
27and map.osm, which contains both the contours and any map data supplied.
28
29You will need to patch some rules into osmarender before rendering the map.
30Do not load into JOSM or attempt to upload to OSM!
31
32See osmarender4.diff for an example.
33
Note: See TracBrowser for help on using the repository browser.