<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<div>"reading from relation" part is quite hard.<br></div><div>I have no idea how to do that.<br></div><div><br></div><div><br></div><div>Aug 26, 2020, 09:50 by mapper+dev@minoa.li:<br></div><blockquote class="tutanota_quote" style="border-left: 1px solid #93A3B8; padding-left: 10px; margin-left: 5px;"><div>Hello again,<br></div><div><br></div><div>I am starting to get the basics of adding new fields to project.mml, but I now wish to update “amenity-points” so that bus stops use the network name from the “stop_area”, like they do in France. At the moment I can manage:<br></div><div><br></div><div> tags->'network' AS network,<br></div><div><br></div><div>… which calls up the network tag from the node only. How do I make it to read from the “stop_area” relation too?<br></div><div><br></div><div>Apologies for being very specific: I am very new to anything beyond simple recolours.<br></div><div><br></div><div>— ika-chan!<br></div><blockquote><div>On 25 Aug 2020, at 21:44, Andy Townsend <ajt1047@gmail.com> wrote:<br></div><div><br></div><div>On 25/08/2020 19:52, Mateusz Konieczny via dev wrote:<br></div><blockquote>Yes, I always used normal text editor.<br></blockquote><div>Same here. There are projects such as https://wiki.openstreetmap.org/wiki/TileMill which were / are designed to automate map reloading after changes, but when I last used TileMill (a long time ago) there were signnificant problems using TileMill with an OSM Carto-derived style (not least - there are so many tabs that they disappeared off the screen). I tend to just reload when I want to rerender. When changing my own OSM Carto-derived map style I use https://github.com/SomeoneElseOSM/SomeoneElse-style/blob/master/update_render.sh and https://github.com/SomeoneElseOSM/SomeoneElse-style/blob/master/update_carto.sh to reload data (the first if a lua script has changed and the database needs to be reloaded; the second if only a style file has changed and the style just needs to be recompiled).<br></div><div><br></div><blockquote><div>If you want to see how changes are done<br></div><div>I would recommend looking at pull requests<br></div><div>and commit history.<br></div></blockquote><div>I tried to summarise "Adding a change to OSM Carto" at https://www.openstreetmap.org/user/SomeoneElse/diary/43041 ; some of that won't be relevant but some of it might still be - things like testing the effect of a colour change.<br></div><div><br></div><div>If you haven't seen it already, please do read https://ircama.github.io/osm-carto-tutorials/git-workflow/ and the related tutorials there - they're excellent!<br></div><div><br></div><div>Best Regards,<br></div><div><br></div><div>Andy<br></div><div><br></div><div><br></div><div><br></div><div>_______________________________________________<br></div><div>dev mailing list<br></div><div>dev@openstreetmap.org<br></div><div>https://lists.openstreetmap.org/listinfo/dev<br></div></blockquote><div><br></div><div><br></div><div>_______________________________________________<br></div><div>dev mailing list<br></div><div>dev@openstreetmap.org<br></div><div>https://lists.openstreetmap.org/listinfo/dev<br></div></blockquote><div><br></div> </body>
</html>