> b. If I've interpreted it correctlythe mp2osm script for mapping garmin codes to OSM tags hasn't been
> https://github.com/opennewzealand/linz2osm/blob/master/contrib/mp2osm_linz_jr_pl.py
> appears to map huts to tourism=alpine_hut
used in years, only the NZOpenGPS roads are being used with that. (in
the past-tense, Stephen has already processed them and loaded them
into the linz2osm web app db AFAIK)
By way of introduction, I want to understand OSM and its suitability for several outdoors datasets I am involved in. On behalf of Whitewater NZ, I look after a river guide with data on kayaking sections on NZ rivers, including river rapids (names, grades). I also look after the Guide to the Whanganui River, and that has names for 239 rapids alone. I think OSM would be a good place to master this data and facilitate reuse elsewhere.
http://linz2osm.openstreetmap.org.nz/data_dict/field_stats/mainland/rapid_poly/name/ shows a handful of rapids, but there are hundreds out there.
Also, on behalf of the New Zealand Alpine Club (NZAC) I've build ClimbNZ.org.nz that now has almost 8,000 climbing routes ranging from individual boulders to multi-pitch mountain routes. ClimbNZ has an extensive multiple-parent place hierarchy (e.g. Aoraki/Mt Cook ( http://climbnz.org.nz/nz/si/aoraki/mt-cook-range/aoraki-mt-cook ) "is_in" Mt Cook Range and "is_near" Hooker Glacier, Grand Plateau.
I'm interested in seeing if OSM can be the canonical repository for the spatial elements, with guide descriptions and photos being maintained in the ClimbNZ.org.nz website but referencing back to OSM for location.
However, I'm not sure that OSM sufficiently maps the hierarchy of places necessary for ClimbNZ and similar places. I'll need to do some research to compare the hierarchy of both systems.
A few specific questions to start with:
a. http://linz2osm.openstreetmap.org.nz/data_dict/layer/rapid_poly/preview/ appears to use <tag k="whitewater" v="rapids"/> but http://taginfo.openstreetmap.org/keys/whitewater#values suggests rapid (singular) is more common.
288 huts for NZ have been entered in OSM as tourism=alpine_hut in every case to date, but I think these don't qualify per the OSM description. If people agreed to the change, how best to change a set of nodes from one tag to another?
Currently the river_cl layer is in
limbo awaiting discussion on if the default should be waterway=river
or waterway=stream. (not to make my bias too clear but 95+% of the
centre lines are for steams :-)
Nice idea. The Javascript is not strong in me. Care to add that rule?
Hi Jonathan,
> By way of introduction, I want to understand OSM and its suitability for
> several outdoors datasets I am involved in. On behalf of Whitewater NZ, I
> look after a river guide with data on kayaking sections on NZ rivers,
> including river rapids (names, grades). I also look after the Guide to the
> Whanganui River, and that has names for 239 rapids alone. I think OSM would
> be a good place to master this data and facilitate reuse elsewhere.
glad to hear it. OSM could be a wonderful common canvas/infrastructure
to hold that info, although I get a bit worried when the words
"master" and "canonical" are used, since OSM has no barrier to entry,
minimal quality control, and the last edit wins for better or ill. If
you can deal with the risk that some overly-helpful person on the
other side of the world might decide to change your data at any time
for any reason, then great. I don't mean to discourage you at all--
the vast majority of editors are here to create and make things better
and in practice it's not a big issue; just to avoid nasty surprises
later on since we can't control what other people do.
I guess my approach to that would be to mirror the relevant elements locally and take a regular update from OSM with some sanity checking like thresholds for edits and deletes. It looks like matching on OSM element id is necessary; if the ids change then local changes will be required.
I need to understand how to easily reverse a malicious edit, escalation procedures to block bad actors etc.
> http://linz2osm.openstreetmap.org.nz/data_dict/field_stats/mainland/rapid_poly/name/
> shows a handful of rapids, but there are hundreds out there.
Just to note that LINZ's rapid_poly was created with cartography in
mind, not river sports. That doesn't mean more shouldn't be labeled
though, just what you see there is likely to come from what's labeled
on the topo50 sheets.
I expect the bulk of rapids to be modelled as nodes, but some are long enough to be modelled as a polygon (e.g. Nevis Bluff on the Kawarau or Roaring Lion on the Karamea).
Given that there are only a few rapids in LINZ's data, is there any harm in adding individual rapids to OSM now and they will be merged when the LINZ upload occurs?
> Also, on behalf of the New Zealand Alpine Club (NZAC) I've build
> ClimbNZ.org.nz that now has almost 8,000 climbing routes ranging from
> individual boulders to multi-pitch mountain routes. ClimbNZ has an
> extensive multiple-parent place hierarchy (e.g. Aoraki/Mt Cook (
> http://climbnz.org.nz/nz/si/aoraki/mt-cook-range/aoraki-mt-cook ) "is_in"
> Mt Cook Range and "is_near" Hooker Glacier, Grand Plateau.
for my 2c the "is_in" tags are most useful for administrative
distinctions, since the lat/lon of the object means the computer can
figure out what it's physically near to with a spatial query much
better than a human labeling everything can. I believe there are
"is_in:country=" and "is_in:district=" etc. tags commonly used for
islands.
I need to wrap my head around spatial queries, e.g.
http://wiki.openstreetmap.org/wiki/Overpass_API/Language_Guide#Select_Region_by_Polygon
> I'm interested in seeing if OSM can be the canonical repository for the
> spatial elements, with guide descriptions and photos being maintained in
> the ClimbNZ.org.nz website but referencing back to OSM for location.
sounds really great, but as before "canonical repository" wrt OSM
always makes me a bit nervous. NZ is pleasantly civil, but there are
jerks out there in the wider world..
> However, I'm not sure that OSM sufficiently maps the hierarchy of places
> necessary for ClimbNZ and similar places. I'll need to do some research to
> compare the hierarchy of both systems.
would you use OSM's search tools or copy/sync the OSM data locally
into a PostGIS database and do your own queries? If you are using
PostGIS db locally the world's your oyster.
I think I'll be mirroring OSM content locally until I understand the dynamics of OSM better. If syncing is no big deal, then maintaining a local subset would provide a buffer to catch bad data (hopefully). It would be more elegant if we could rely purely on OSM (e.g. via Overpass API).
I'll follow up on huts in a separate thread.
> how best to change a set of nodes from one tag to another?
If it were to be done the way to do it is to do a Xapi extract for
LINZ:source_version=* and tourism=alpine_hut in the NZ bounding box,
then manually change ones you know are truly backcountry, but not I
would guess something like the Aspiring "Hut". See hints about that on
the osm wiki LINZ pages.
hope it helps and you are most welcome,
Hi Jonathan,
Ok, I caught up with
http://wiki.openstreetmap.org/wiki/Proposed_features/wilderness_mountain_buildings
There's been a vote, so I assume that is as authoritative as OSM gets?
This defines hut types: Alpine_hut and Wilderness_hut approved, while tourism=Basic_hut rejected in favour of amenity=shelter, shelter_type=basic_hut.
Only a small fraction of NZ huts would qualify as Alpine (food provided). Most would be wilderness_hut and some (sans stove) as amenity=shelter, shelter_type=basic_hut.
It seems to me that http://linz2osm.openstreetmap.org.nz/data_dict/layer/building_pnt/tagging/ should be altered to map hut to "wilderness_hut".
Regards
Jonathan
Are we asking the right questions....
> Should we be looking for a better source of river data? Does NIWA have anything?
We should proceed with river_poly. As for river_cl for my 2c both LINZ
and OSM's targets are basically cartography, and the LINZ river_cl
lines up exactly with their lake outlets, cliff edges, etc, so I'm
mostly inclined to stick with it.
NIWA maintains its REC. I'm not sure about licence compatibility.
Does this mean that a site should always customise its rendering to suit its purposes?