[Talk-ca] workflow for elevation data
Harald Kliems
kliems at gmail.com
Sun Feb 23 21:22:02 UTC 2014
Hi Charles,
last summer I messed around a bit with trying to get contour lines into my
homemade maps for my Garmin GPSr, using SRTM2OSM. Unfortunately, I
eventually gave up, as I wasn't proficient enough to in the end combine all
the data with mkgmap into one map. There are pretty good tutorials for
SRTM2OSM in the wiki: http://wiki.openstreetmap.org/wiki/Srtm2osm I don't
see anything specific to leaflet, though.
There are also a bunch of hiking/biking-specific, OSM-based maps out there
already, so I'm wondering it those might be good enough for your/their
purposes. And if not they might help you developing your own solution. Some
examples:
http://www.4umaps.eu/online-outdoor-hike-bicycle-map.htm (contour lines and
hill shading)
http://hiking.waymarkedtrails.org/en/ (only hill shading)
http://hikebikemap.de/ (hill shading and contours in limited area)
And of course the cycling layer on the main page with contour lines.
There's also this project:
http://wiki.openstreetmap.org/wiki/Route_altitude_profiles_SRTM but I'm not
sure if this is still under active development.
As a side note: I had planned to do some mapping with the McGill Outdoors
Club in the Prevost area last spring. They're also maintaining their own
little network of trails. Unfortunately, that didn't happen in the end, but
they were definitely interested in/open to OSM.
Harald.
On Sun, Feb 23, 2014 at 3:42 PM, Charles Basenga Kiyanda <
personal at charleskiyanda.com> wrote:
> I'm asking the question here since I'm in Canada and can't quite find an
> appropriate mailing list. This is a (rather lengthy) question about the
> best workflow to show trail information using osm data, leaflet, and gpx
> data.
>
> Background:
> I contacted someone at a local volunteer organization that maintains
> mountain biking/nordic skiing/snowshoeing trails in the Ste-Adèle area
> in Québec. They were nice enough to give me their gpx tracks for all the
> trails and I gave one of them a "working with OSM" tutorial in return.
> At least one person in that organization is interested in using osm.
>
> I've been wanting to practice using leaflet and decided to use their
> data to make a sample trail viewer that would show the elevation profile
> in a popup (using D3) for the different trails. I figure this is good
> practice for me and if I can show them something nice they might be more
> interested in contributing to osm regularly.
>
> Specific question:
> We don't store elevation data in osm in a standard fashion and I was
> hoping I could show the volunteer organization a tentative alternate
> workflow that would be as little work for them as possible and also give
> them an incentive to keep the osm trail data accurate. Currently, they
> use their gpx tracks as the master data and load those on handheld
> (commercial) gps units when navigating around to do trail clean up and
> other stuff. They also use the gpx data in a commercial software to
> generate pdf maps that are distributed on their website.
>
> I wanted to use leaflet and d3, thinking I could create geojson
> polylines (from the osm data) that I show on top of osm image tiles so
> the trails would be clickable. Clicking/hovering a given object would
> show elevation data. Now, the elevation data is not stored in osm, so
> the volunteers would have to keep the gpx files around, which is more
> annoying if there's a change to a trail or a new trail.
>
> Now, I've found a leaflet plugin that uses d3 to overlay a gpx and show
> elevation data (https://github.com/MrMufflon/Leaflet.Elevation), though
> that actually gives them an incentive to *not* have the trail data in
> osm (otherwise the trails might show up twice when looking at the map:
> in the osm image tile and from the gpx overlay).
>
> I'm (obviously) having a hard time formulating a concise question. I
> guess I'm wondering if there's been some thinking about the best
> workflow in such a situation.
>
> Any help would be quite appreciated. I might look in the leaflet
> community as well to see if this topic has shown up there.
>
> Regards,
>
> Charles
>
>
> _______________________________________________
> Talk-ca mailing list
> Talk-ca at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk-ca
>
--
Please use encrypted communication whenever possible!
Key-ID: 0x34cb93972f186565
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk-ca/attachments/20140223/1e25c6b8/attachment.html>
More information about the Talk-ca
mailing list