nodes on a way/polygon

hi, how can I find with my points style files, if a node is (or not) attached on a way or on a polygon? there's a way to do that? I mean for example something like this: information=guidepost & support=wall_mounted & (((way/polygon=true))) [0x7018 resolution 12] thanks! --enrico -- Sent from: http://gis.19327.n8.nabble.com/Mkgmap-Development-f5324443.html

Hi Enrico, there is no way to detect that with the current version of mkgmap. Can you explain why this would be useful? Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von demon.box <e.rossini73@alice.it> Gesendet: Mittwoch, 4. Oktober 2017 15:24:28 An: mkgmap-dev@lists.mkgmap.org.uk Betreff: [mkgmap-dev] nodes on a way/polygon hi, how can I find with my points style files, if a node is (or not) attached on a way or on a polygon? there's a way to do that? I mean for example something like this: information=guidepost & support=wall_mounted & (((way/polygon=true))) [0x7018 resolution 12] thanks! --enrico -- Sent from: http://gis.19327.n8.nabble.com/Mkgmap-Development-f5324443.html _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

it's a kind of my test to find which (some types of) nodes are mapped directly attached on a way/polygon but there's no way to do that? thanks --enrico -- Sent from: http://gis.19327.n8.nabble.com/Mkgmap-Development-f5324443.html

Well, I can add code to detect that situation and maybe new style functions to allow you to process the information, but my motivation is small when I don't see a good reason. Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von demon.box <e.rossini73@alice.it> Gesendet: Mittwoch, 4. Oktober 2017 15:47:28 An: mkgmap-dev@lists.mkgmap.org.uk Betreff: Re: [mkgmap-dev] nodes on a way/polygon it's a kind of my test to find which (some types of) nodes are mapped directly attached on a way/polygon but there's no way to do that? thanks --enrico -- Sent from: http://gis.19327.n8.nabble.com/Mkgmap-Development-f5324443.html _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Yes I understand you ;-) Well, there is a very, very old discussion about the opportunity to map for example a guidepost wall_mounted directly attached or not to the polygon of the building. If you can add this control I will find the numerical entity of these 2 method of mapping. I would make this for the future discussion about that. If you would kindly add this feature I would be very grateful and happy! Thanks very much. --enrico -- Sent from: http://gis.19327.n8.nabble.com/Mkgmap-Development-f5324443.html

On 04/10/2017 14:34, Gerd Petermann wrote:
Can you explain why this would be useful?
If it helps, I can see why it might be useful to find out which other OSM objects a node is part of, given that I'm just about to make use of exactly that capability in a lua script called from osm2pgsql. In my case it'd be "do something different for information route markers based on what route relation they're part of", but I can certainly see why someone might want to "do something different if they're mounted on a wall". This of course echoes Richard Fairhurst's post here back at http://www.mkgmap.org.uk/pipermail/mkgmap-dev/2017q1/026289.html . Personally I'd find it extremely useful to be able to take say https://github.com/SomeoneElseOSM/SomeoneElse-style/blob/master/style.lua and use that as a basis for styling both in OSM Carto and mkgmap, but unfortunately I've no idea what'd be needed on the Java/lua integration side. Best Regards, Andy

Hi all, the current data structures and algos in mkgmap are optimized to process existing tags. The latest requirements often asked for information that is not stored in tags. Of course it is possible to change mkgmap to support all kinds of queries similar to overpass api or SQL, but that would require a lot of changes in mkgmap and also a massive increase in resource consumption. I wouldn't want to go that way, esp. not when I see that Garmin seems to be willing to remove the support for the maps in the old format. I wonder if any of the existing tools allows to preprocess OSM data in a way that would allow to add tags using powerfull queries? Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Andy Townsend <ajt1047@gmail.com> Gesendet: Mittwoch, 4. Oktober 2017 16:40:44 An: mkgmap-dev@lists.mkgmap.org.uk Betreff: Re: [mkgmap-dev] nodes on a way/polygon On 04/10/2017 14:34, Gerd Petermann wrote:
Can you explain why this would be useful?
If it helps, I can see why it might be useful to find out which other OSM objects a node is part of, given that I'm just about to make use of exactly that capability in a lua script called from osm2pgsql. In my case it'd be "do something different for information route markers based on what route relation they're part of", but I can certainly see why someone might want to "do something different if they're mounted on a wall". This of course echoes Richard Fairhurst's post here back at http://www.mkgmap.org.uk/pipermail/mkgmap-dev/2017q1/026289.html . Personally I'd find it extremely useful to be able to take say https://github.com/SomeoneElseOSM/SomeoneElse-style/blob/master/style.lua and use that as a basis for styling both in OSM Carto and mkgmap, but unfortunately I've no idea what'd be needed on the Java/lua integration side. Best Regards, Andy _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
participants (3)
-
Andy Townsend
-
demon.box
-
Gerd Petermann