Thanks for the answer. I saw that in map.osm-2.xml (working file for a
normal map) the delimiter ' is used:
<way id='129217800' timestamp='2011-09-07T13:14:43Z' uid='71025'
user='BrĂ¡ulio Bezerra' version='1' changeset='9236849'>
<nd ref='1426104597' />
<nd ref='1426104602' />
<nd ref='1426104600' />
<nd ref='1426104595' />
<nd ref='1426104597' />
<tag k='building' v='yes' />
</way>
instead of the delimiter " in
fn2_lon-33.00_-32.33lat-3.90_-3.80_srtm3v3.0.osm. So I changed every
occurrence of " to ' and converted the file
(fn2_lon-33.00_-32.33lat-3.90_-3.80_srtm3v3.0.osm) for the contour lines
again. Now a way for the contour lines looks like
<way id='10000002' version='1'><nd ref='10000472' />
<nd ref='10000473' />
<nd ref='10000474' />
<nd ref='10000475' />
<nd ref='10000472' />
<tag k='ele' v='0'/><tag k='contour' v='elevation'/><tag k='contour_ext'
v='elevation_major' /></way>
There is a tag with key 'contour' and value 'elevation', defined with the
same syntax as in map.osm-2.xml. But even so after conversion with
OsmAndMapCreator I don't see any contour line.
It still remains the same if I add one more tag <tag k="name" v="*elevation
goes here*"/>, like in
<way id='10000002' version='1'><nd ref='10000472' />
<nd ref='10000473' />
<nd ref='10000474' />
<nd ref='10000475' />
<nd ref='10000472' />
<tag k='name' v='0*' */>
<tag k='ele' v='0'/><tag k='contour' v='elevation'/><tag k='contour_ext'
v='elevation_major' /></way>
I read in a forum, that this last tag is necessary for the elevation (in
the case above 0) to be showed too, instead of only the contour line
without any specification.
I can't find any other information about making srtm files. Do you have
more ideas or know where I can ask for it?
thanks in advance.
Frederico
--
You received this message because you are subscribed to the Google Groups
"Osmand" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.