You are not logged in.
- Topics: Active | Unanswered
Announcement
Please create new topics on the new site at community.openstreetmap.org. We expect the migration of data will take a few weeks, you can follow its progress here.***
Pages: 1
#1 2013-01-23 22:59:25
- miramikes
- Member
- Registered: 2011-10-16
- Posts: 128
elevation unit question
Hello,
Are osm elevation data always in meters? Or it depend on region?
Can somebody explain me these expressions? They converting m to ft?
natural=peak {name '${name|def:}${ele|height:m=>ft|def:}' } [0x6616 resolution 21]
contour=elevation & contour_ext=elevation_minor { name '${ele|conv:m=>ft}'; } [0x20 resolution 21]
The first one really convert my peak height to ft what I want to change to be always meters.
The second one is confusing for me because my contours are always displayed in meters.
Maybe just { name '${ele}'; } would be fine for coutours? And {name '${name|def:}${ele|def:}' } for peaks?
regards
mira
Offline
#2 2013-01-24 10:27:04
- ligfietser
- Member

- Registered: 2008-10-09
- Posts: 5,353
- Website
Re: elevation unit question
I only use m=>ft with contours, not for peaks and that works for me, everywhere meters are displayed. I guess Garmin converts contourlines always in feet.
Offline
#3 2013-01-24 11:33:48
- popej
- Member

- Registered: 2008-09-20
- Posts: 500
- Website
Re: elevation unit question
Units are selectable in GPS or Mapsource. This should work for contours and selected points, like peaks. In maps all height data probably is stored as feet.
popej
Offline
#4 2013-01-24 13:10:17
- miramikes
- Member
- Registered: 2011-10-16
- Posts: 128
Re: elevation unit question
I only use m=>ft with contours, not for peaks and that works for me, everywhere meters are displayed.
I will do the same!
I guess Garmin converts contourlines always in feet.
Aha that's why contours have to converted ... That's what made me confused!
thank you
mira
Offline
#5 2013-01-24 13:13:23
- miramikes
- Member
- Registered: 2011-10-16
- Posts: 128
Re: elevation unit question
Units are selectable in GPS or Mapsource. This should work for contours and selected points, like peaks. In maps all height data probably is stored as feet.
Not sure like this should work, but build peaks with elevation in feets and my garmin is always set to display meters and I saw elevation for peal in feets only.
thank you
mira
Offline
#6 2013-01-24 15:27:12
- popej
- Member

- Registered: 2008-09-20
- Posts: 500
- Website
Re: elevation unit question
I don't know how is this supported by mkgmap, I have described general idea that applies to Garmin maps. This works for example with maps compiled by cgpsmapper.

popej
Offline
Pages: 1