Re: [Talk-GB] Large swaths of "heath" on Dartmoor
On 25/09/17 17:13, ael wrote: Well, surely this make the tag so general as to be pretty useless. The original meaning was pretty specific and useful. "Moor" or something equivalant is well understood (in the UK, at least) and is useful as a broad description where detailed mapping is absent. Anyway, I take it that no one is objecting to my changes and wanting to revert them? No objection here. Descriptive word is moor, everyone and his dog recognises it for what it is. The use of heath to describe moors is simply bizarre. IMHO/YYMV. Beth ___ Talk-GB mailing list Talk-GB@openstreetmap.org https://lists.openstreetmap.org/listinfo/talk-gb
Re: [Talk-GB] Rendering national/regional walking trails
On 23/04/17 09:55, Andy Townsend wrote: I may have got hold of completely the wrong end of the stick here, but assuming I understand the question properly, I think you're asking how two names appear for trails at e.g. https://map.atownsend.org.uk/maps/map/map.html#zoom=14=53.14563=-1.75507 It's not so much that two different names appear, and not overwrite one another. But for each relation you get multiple labels along the route. I'm getting very few labels on a particular route. You can see my example here, where I've got the Cumbria Way. http://openmaps.the-hug.net/?=330478.34705711|530841.03293706|7 I get 3 labels over the whole length. One near Carlisle, one between Skiddaw House and Mosedale, and another the other side of Coniston. Now this as it happens is using my own table imported from a shapefile. However, the effect is the same when I do use the osm tables (I haven't made it live yet). I tried pulling out snippets of your ldpnwn specif code putting them into mine. But I still get only a few labels rendered. My stylesheet for rendering ldpnwn is similar to yours. So I'm kind of confused as to where the magic is that places multiple labels instead of just a few? Thanks, Beth ___ Talk-GB mailing list Talk-GB@openstreetmap.org https://lists.openstreetmap.org/listinfo/talk-gb
Re: [Talk-GB] Rendering national/regional walking trails
On 21/04/17 11:47, Andy Townsend wrote: If you're using osm2pgsql to load a rendering database, then you could probably use the lua tag transforms and do something with roles for relations in there. I've not done anything with relation roles myself, It was an interesting exercise to play with it yesterday, but I concluded it's only useful if you want to play with the tags applied to the whole relation. Not just parts of the relation. So I could look at the role, and the tags associated with the members, but not actually change what is put into the database for only some of the route/relation. Anyway. I noticed on your maps you have multiple ldpnwn labels along the routes, like the Cumbria Way, and Coast to Coast. I've been unable to get more than one or two labels. I've been searching but it's usually the other way around - you have too many labels and need to space them out. Is there a trick I'm missing? Thanks Beth ___ Talk-GB mailing list Talk-GB@openstreetmap.org https://lists.openstreetmap.org/listinfo/talk-gb
Re: [Talk-GB] Rendering national/regional walking trails
On 21/04/17 11:47, Andy Townsend wrote: If you're using osm2pgsql to load a rendering database, Yes, sorry, I should have said. probably use the lua tag transforms and do something with roles for relations in there. I've not done anything with relation roles myself, but https://github.com/SomeoneElseOSM/SomeoneElse-style/blob/master/style.lua is a lua tag transform I use and https://github.com/SomeoneElseOSM/SomeoneElse-style/blob/master/style.lua#L2296 is the "relations" part of that, with "roles" as an array argument passed in. You could use that to add a "pseudo-tag" like I do with "network=lwn" to get that to appear as a "highway", then render that as per e.g.: https://map.atownsend.org.uk/maps/map/map.html#zoom=14=54.38373=-1.51698 That looks useful. Thanks. I'll see if I can figure out what its doing. Good map, BTW. Beth ___ Talk-GB mailing list Talk-GB@openstreetmap.org https://lists.openstreetmap.org/listinfo/talk-gb
[Talk-GB] Rendering national/regional walking trails
I am trying to render the national and regional walking trails. These are done as relations, with tags like network=rwn so easy to pick out. When I render them I find there are alternative routes, as an example the Coast to Coast Walk splits into 3 at one point. Looking at the relation in josm I find they have a "role" of alternative, or main as appropriate. However, I don't seem to be able to get at the "role", and there is nothing else which distinguishes main from alternative routes - so I can render them differently. Have I missed anything obvious? Thanks Beth ___ Talk-GB mailing list Talk-GB@openstreetmap.org https://lists.openstreetmap.org/listinfo/talk-gb