/docs/MyDocs

To get this branch, use:
bzr branch http://darksoft.org/webbzr/docs/MyDocs

« back to all changes in this revision

Viewing changes to Methods/Mapping/scripts/srtm2osm/README

  • Committer: Suren A. Chilingaryan
  • Date: 2009-04-09 03:21:08 UTC
  • Revision ID: csa@dside.dyndns.org-20090409032108-w4edamdh4adrgdu3
import

Show diffs side-by-side

added added

removed removed

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