inner sections of a multipolygon

Hi Is there any reason why mkgmap only creates the inner sections of a multipolygon if the tags of the outer polygon get transferred to the relation. ie Once you add a multipolygon relation to say an existing forest and making it outer, any inner sections created don't show up unless : the landuse=forest gets removed from the polygon and added to the relation. The problem seems to me that some/many multipolygons have been created by those not using mkgmap. Just an observation ; perhaps this has been discussed before. Nick -- View this message in context: http://gis.19327.n5.nabble.com/inner-sections-of-a-multipolygon-tp5879576.ht... Sent from the Mkgmap Development mailing list archive at Nabble.com.

2016-08-01 13:56 GMT+03:00 nwillink wrote:
Once you add a multipolygon relation to say an existing forest and making it outer, any inner sections created don't show up unless :
the landuse=forest gets removed from the polygon and added to the relation.
This is how multipolygons should be tagged in OSM - forest tags should go to relation, not to outer polygon. Outer polygon is a different geometry compared to multipolygon (polygon with "holes"). For example, lets say you have a park which is mostly trees, but in the middle you have a meadow/grass. You would then have 3 objects: 1. outer polygon which would be tagged as "park" (because park contains both forest as well as meadow) 2. inner polygon which would be tagged as "meadow" 3. relation which is tagged as forest, because forest is everything inside outer polygon except inner meadow polygon. Note different geometries for park and forest. Only relation represents a geometry with a "hole". P.S. JOSM validator reports such errors. I'm not aware of any other validator doing that. -- Tomas

Thanks Thomas for your detailed reply. Would be very useful to have such polygons reported. Nick -- View this message in context: http://gis.19327.n5.nabble.com/inner-sections-of-a-multipolygon-tp5879576p58... Sent from the Mkgmap Development mailing list archive at Nabble.com.

Hi Nick, I think mkgmp can write a lot of messages for wrong multipolygons into the log. You have to activate logging to see them. Gerd ________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von nwillink <osm@pinns.co.uk> Gesendet: Montag, 1. August 2016 13:26:52 An: mkgmap-dev@lists.mkgmap.org.uk Betreff: Re: [mkgmap-dev] inner sections of a multipolygon Thanks Thomas for your detailed reply. Would be very useful to have such polygons reported. Nick -- View this message in context: http://gis.19327.n5.nabble.com/inner-sections-of-a-multipolygon-tp5879576p58... Sent from the Mkgmap Development mailing list archive at Nabble.com. _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Hi Gerd Could you give me a hint as to how I can activate logging? Thanks for your quick answer Nick On 01/08/2016 12:35, Gerd Petermann [via GIS] wrote:
Hi Nick,
I think mkgmp can write a lot of messages for wrong multipolygons
into the log. You have to activate logging to see them.
Gerd
------------------------------------------------------------------------ *Von:* mkgmap-dev <[hidden email] </user/SendEmail.jtp?type=node&node=5879584&i=0>> im Auftrag von nwillink <[hidden email] </user/SendEmail.jtp?type=node&node=5879584&i=1>> *Gesendet:* Montag, 1. August 2016 13:26:52 *An:* [hidden email] </user/SendEmail.jtp?type=node&node=5879584&i=2> *Betreff:* Re: [mkgmap-dev] inner sections of a multipolygon Thanks Thomas for your detailed reply.
Would be very useful to have such polygons reported.
Nick
-- View this message in context: http://gis.19327.n5.nabble.com/inner-sections-of-a-multipolygon-tp5879576p58... Sent from the Mkgmap Development mailing list archive at Nabble.com. _______________________________________________ mkgmap-dev mailing list [hidden email] </user/SendEmail.jtp?type=node&node=5879584&i=3> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________ mkgmap-dev mailing list [hidden email] </user/SendEmail.jtp?type=node&node=5879584&i=4> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
------------------------------------------------------------------------ If you reply to this email, your message will be added to the discussion below: http://gis.19327.n5.nabble.com/inner-sections-of-a-multipolygon-tp5879576p58...
To unsubscribe from inner sections of a multipolygon, click here <http://gis.19327.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5879576&code=b3NtQHBpbm5zLmNvLnVrfDU4Nzk1NzZ8MTM1NTM3MTE1MQ==>. NAML <http://gis.19327.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
-- View this message in context: http://gis.19327.n5.nabble.com/inner-sections-of-a-multipolygon-tp5879576p58... Sent from the Mkgmap Development mailing list archive at Nabble.com.

Hi Gerd I found it ! Many thanks On 01/08/2016 12:35, Gerd Petermann [via GIS] wrote:
Hi Nick,
I think mkgmp can write a lot of messages for wrong multipolygons
into the log. You have to activate logging to see them.
Gerd
------------------------------------------------------------------------ *Von:* mkgmap-dev <[hidden email] </user/SendEmail.jtp?type=node&node=5879584&i=0>> im Auftrag von nwillink <[hidden email] </user/SendEmail.jtp?type=node&node=5879584&i=1>> *Gesendet:* Montag, 1. August 2016 13:26:52 *An:* [hidden email] </user/SendEmail.jtp?type=node&node=5879584&i=2> *Betreff:* Re: [mkgmap-dev] inner sections of a multipolygon Thanks Thomas for your detailed reply.
Would be very useful to have such polygons reported.
Nick
-- View this message in context: http://gis.19327.n5.nabble.com/inner-sections-of-a-multipolygon-tp5879576p58... Sent from the Mkgmap Development mailing list archive at Nabble.com. _______________________________________________ mkgmap-dev mailing list [hidden email] </user/SendEmail.jtp?type=node&node=5879584&i=3> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________ mkgmap-dev mailing list [hidden email] </user/SendEmail.jtp?type=node&node=5879584&i=4> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
------------------------------------------------------------------------ If you reply to this email, your message will be added to the discussion below: http://gis.19327.n5.nabble.com/inner-sections-of-a-multipolygon-tp5879576p58...
To unsubscribe from inner sections of a multipolygon, click here <http://gis.19327.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5879576&code=b3NtQHBpbm5zLmNvLnVrfDU4Nzk1NzZ8MTM1NTM3MTE1MQ==>. NAML <http://gis.19327.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
-- View this message in context: http://gis.19327.n5.nabble.com/inner-sections-of-a-multipolygon-tp5879576p58... Sent from the Mkgmap Development mailing list archive at Nabble.com.

what is it then ? Regards Gary ________________________________ From: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> on behalf of nwillink <osm@pinns.co.uk> Sent: 01 August 2016 11:44 To: mkgmap-dev@lists.mkgmap.org.uk Subject: Re: [mkgmap-dev] inner sections of a multipolygon Hi Gerd I found it ! Many thanks On 01/08/2016 12:35, Gerd Petermann [via GIS] wrote: Hi Nick, I think mkgmp can write a lot of messages for wrong multipolygons into the log. You have to activate logging to see them. Gerd ________________________________ Von: mkgmap-dev <[hidden email]</user/SendEmail.jtp?type=node&node=5879584&i=0>> im Auftrag von nwillink <[hidden email]</user/SendEmail.jtp?type=node&node=5879584&i=1>> Gesendet: Montag, 1. August 2016 13:26:52 An: [hidden email]</user/SendEmail.jtp?type=node&node=5879584&i=2> Betreff: Re: [mkgmap-dev] inner sections of a multipolygon Thanks Thomas for your detailed reply. Would be very useful to have such polygons reported. Nick -- View this message in context: http://gis.19327.n5.nabble.com/inner-sections-of-a-multipolygon-tp5879576p58... Sent from the Mkgmap Development mailing list archive at Nabble.com. _______________________________________________ mkgmap-dev mailing list [hidden email]</user/SendEmail.jtp?type=node&node=5879584&i=3> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev _______________________________________________ mkgmap-dev mailing list [hidden email]</user/SendEmail.jtp?type=node&node=5879584&i=4> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev ________________________________ If you reply to this email, your message will be added to the discussion below: http://gis.19327.n5.nabble.com/inner-sections-of-a-multipolygon-tp5879576p58... To unsubscribe from inner sections of a multipolygon, click here. NAML<http://gis.19327.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> ________________________________ View this message in context: Re: inner sections of a multipolygon<http://gis.19327.n5.nabble.com/inner-sections-of-a-multipolygon-tp5879576p5879587.html> Sent from the Mkgmap Development mailing list archive<http://gis.19327.n5.nabble.com/Mkgmap-Development-f5324443.html> at Nabble.com.

I use the following line to execute mkgmap: set input=... java -ea -Dlog.config=d:\dbg\mkgmap_log.props -Xmx6800m -jar d:\mkgmap\dist\mkgmap.jar --output-dir=e:/ld -c d:\dbg\dev-addr.opt %input% > log 2> mkgmap.errlog The file mkgmap_log.props is attached. See also http://wiki.openstreetmap.org/wiki/Mkgmap/dev#Enabling_Debugging Gerd ________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Gary Bamford <garybamford@hotmail.com> Gesendet: Montag, 1. August 2016 13:51:17 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] inner sections of a multipolygon what is it then ? Regards Gary ________________________________ From: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> on behalf of nwillink <osm@pinns.co.uk> Sent: 01 August 2016 11:44 To: mkgmap-dev@lists.mkgmap.org.uk Subject: Re: [mkgmap-dev] inner sections of a multipolygon Hi Gerd I found it ! Many thanks On 01/08/2016 12:35, Gerd Petermann [via GIS] wrote: Hi Nick, I think mkgmp can write a lot of messages for wrong multipolygons into the log. You have to activate logging to see them. Gerd ________________________________ Von: mkgmap-dev <[hidden email]</user/SendEmail.jtp?type=node&node=5879584&i=0>> im Auftrag von nwillink <[hidden email]</user/SendEmail.jtp?type=node&node=5879584&i=1>> Gesendet: Montag, 1. August 2016 13:26:52 An: [hidden email]</user/SendEmail.jtp?type=node&node=5879584&i=2> Betreff: Re: [mkgmap-dev] inner sections of a multipolygon Thanks Thomas for your detailed reply. Would be very useful to have such polygons reported. Nick -- View this message in context: http://gis.19327.n5.nabble.com/inner-sections-of-a-multipolygon-tp5879576p58... Sent from the Mkgmap Development mailing list archive at Nabble.com. _______________________________________________ mkgmap-dev mailing list [hidden email]</user/SendEmail.jtp?type=node&node=5879584&i=3> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev _______________________________________________ mkgmap-dev mailing list [hidden email]</user/SendEmail.jtp?type=node&node=5879584&i=4> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev ________________________________ If you reply to this email, your message will be added to the discussion below: http://gis.19327.n5.nabble.com/inner-sections-of-a-multipolygon-tp5879576p58... To unsubscribe from inner sections of a multipolygon, click here. NAML<http://gis.19327.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> ________________________________ View this message in context: Re: inner sections of a multipolygon<http://gis.19327.n5.nabble.com/inner-sections-of-a-multipolygon-tp5879576p5879587.html> Sent from the Mkgmap Development mailing list archive<http://gis.19327.n5.nabble.com/Mkgmap-Development-f5324443.html> at Nabble.com.

Hi Gary Have a look at Enabling Debugging http://wiki.openstreetmap.org/wiki/Mkgmap/dev Nick On 01/08/2016 12:51, Gary Bamford [via GIS] wrote:
what is it then ?
Regards
Gary
------------------------------------------------------------------------ *From:* mkgmap-dev <[hidden email] </user/SendEmail.jtp?type=node&node=5879591&i=0>> on behalf of nwillink <[hidden email] </user/SendEmail.jtp?type=node&node=5879591&i=1>> *Sent:* 01 August 2016 11:44 *To:* [hidden email] </user/SendEmail.jtp?type=node&node=5879591&i=2> *Subject:* Re: [mkgmap-dev] inner sections of a multipolygon
Hi Gerd
I found it !
Many thanks
On 01/08/2016 12:35, Gerd Petermann [via GIS] wrote:
Hi Nick,
I think mkgmp can write a lot of messages for wrong multipolygons
into the log. You have to activate logging to see them.
Gerd
------------------------------------------------------------------------ *Von:* mkgmap-dev <[hidden email] </user/SendEmail.jtp?type=node&node=5879584&i=0>> im Auftrag von nwillink <[hidden email] </user/SendEmail.jtp?type=node&node=5879584&i=1>> *Gesendet:* Montag, 1. August 2016 13:26:52 *An:* [hidden email] </user/SendEmail.jtp?type=node&node=5879584&i=2> *Betreff:* Re: [mkgmap-dev] inner sections of a multipolygon Thanks Thomas for your detailed reply.
Would be very useful to have such polygons reported.
Nick
-- View this message in context: http://gis.19327.n5.nabble.com/inner-sections-of-a-multipolygon-tp5879576p58... Sent from the Mkgmap Development mailing list archive at Nabble.com. _______________________________________________ mkgmap-dev mailing list [hidden email] </user/SendEmail.jtp?type=node&node=5879584&i=3> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________ mkgmap-dev mailing list [hidden email] </user/SendEmail.jtp?type=node&node=5879584&i=4> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
------------------------------------------------------------------------ If you reply to this email, your message will be added to the discussion below: http://gis.19327.n5.nabble.com/inner-sections-of-a-multipolygon-tp5879576p58...
To unsubscribe from inner sections of a multipolygon, click here. NAML <http://gis.19327.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
------------------------------------------------------------------------ View this message in context: Re: inner sections of a multipolygon <http://gis.19327.n5.nabble.com/inner-sections-of-a-multipolygon-tp5879576p5879587.html> Sent from the Mkgmap Development mailing list archive <http://gis.19327.n5.nabble.com/Mkgmap-Development-f5324443.html> at Nabble.com.
_______________________________________________ mkgmap-dev mailing list [hidden email] </user/SendEmail.jtp?type=node&node=5879591&i=3> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
------------------------------------------------------------------------ If you reply to this email, your message will be added to the discussion below: http://gis.19327.n5.nabble.com/inner-sections-of-a-multipolygon-tp5879576p58...
To unsubscribe from inner sections of a multipolygon, click here <http://gis.19327.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5879576&code=b3NtQHBpbm5zLmNvLnVrfDU4Nzk1NzZ8MTM1NTM3MTE1MQ==>. NAML <http://gis.19327.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
-- View this message in context: http://gis.19327.n5.nabble.com/inner-sections-of-a-multipolygon-tp5879576p58... Sent from the Mkgmap Development mailing list archive at Nabble.com.

Thanks Gerd Never knew this ! -- View this message in context: http://gis.19327.n5.nabble.com/inner-sections-of-a-multipolygon-tp5879576p58... Sent from the Mkgmap Development mailing list archive at Nabble.com.
participants (4)
-
Gary Bamford
-
Gerd Petermann
-
nwillink
-
Tomas Straupis