logo separator

[mkgmap-dev] [Patch v1] nwe special tag mkgmap:residential

From Gerd Petermann GPetermann_muenchen at hotmail.com on Tue Mar 7 17:24:41 GMT 2017

Hi Ticker,

hmm, the messages are produced because I abuse the Boundary classes for the ResidentialHook.
It should say landuse=residential instead of admin_level=11. I'll see if I can fix that.
Anyway, the data in that area is probably wrong as landuse areas should not overlap.

Gerd
________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Ticker Berkin <rwb-mkgmap at jagit.co.uk>
Gesendet: Dienstag, 7. März 2017 18:10:49
An: mkgmap-dev at lists.mkgmap.org.uk
Betreff: Re: [mkgmap-dev] [Patch v1] nwe special tag mkgmap:residential

Hi Gerd

For an unrelated reason, I was just comparing logs of a run with trunk
(r-3834) with my version which contains up to r-3831 and mix of some of
your patches and my changes and, for trunk, for I get 140 or so lines
like:

WARN: uk.me.parabola.mkgmap.reader.osm.boundary.BoundaryQuadTree
 74220042.osm.pbf: incorrect data:
http://www.openstreetmap.org/?mlat=51.795731&mlon=1.157684&zoom=17&way=
258759285 intersection of boundaries with same admin_level (11)
w258759285 w75394535

WARN: uk.me.parabola.mkgmap.reader.osm.boundary.BoundaryQuadTree
 74220042.osm.pbf: incorrect data:
http://www.openstreetmap.org/?mlat=51.849289&mlon=1.089020&zoom=17&way=
199897090 intersection of boundaries with same admin_level (11)
w199897090 w60808537

Command was:
java -ea -Dlog.config=../mkgmap_log.props -jar
../mkgmap.trunk/mkgmap.jar --generate-sea=multipolygon --input
-file=74220042.osm.pbf

Not a problem for me, but can provide more info if required

Regards
Ticker

On Sun, 2017-03-05 at 16:59 +0000, Gerd Petermann wrote:
> I'd also like to know if it you have an idea how to improve the
> usability in case that it doesn't work ;-)
>
> Gerd
>
> ________________________________________
> Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag
> von nwillink <osm at pinns.co.uk>
> Gesendet: Sonntag, 5. März 2017 12:53:04
> An: mkgmap-dev at lists.mkgmap.org.uk
> Betreff: Re: [mkgmap-dev] [Patch v1] nwe special tag
> mkgmap:residential
>
> Hi Gerd
>
> Thanks for the suggestion - will let you know when successful
>
>
> r
>
>
> Nick
>
> On 05/03/2017 11:43, Gerd Petermann [via GIS] wrote:
> Hi Nick,
>
> maybe you can check mkgmap:admin_level9..11 to decide if an element
> is in a village?
>
> Gerd
> ________________________________________
> Von: mkgmap-dev <[hidden
> email]</user/SendEmail.jtp?type=node&node=5892434&i=0>> im Auftrag
> von nwillink <[hidden
> email]</user/SendEmail.jtp?type=node&node=5892434&i=1>>
> Gesendet: Sonntag, 5. März 2017 11:46:56
> An: [hidden email]</user/SendEmail.jtp?type=node&node=5892434&i=2>
> Betreff: Re: [mkgmap-dev] [Patch v1] nwe special tag
> mkgmap:residential
>
> Ok Gerd
>
> I didn't realise that , no wonder I'm having problems
>
> Thanks for looking into that.
>
> On 05/03/2017 10:44, Gerd Petermann [via GIS] wrote:
> Nick, sorry, I don't get it.
>
> With the patch the value in the new tag mkgmap:residential is
> evaluated before any style rule is used.
> I see no way for you to pass the information from a node or way with
> place=village to another element with building=*
>
> Gerd
> ________________________________________
> Von: mkgmap-dev <[hidden
> email]</user/SendEmail.jtp?type=node&node=5892430&i=0>> im Auftrag
> von nwillink <[hidden
> email]</user/SendEmail.jtp?type=node&node=5892430&i=1>>
> Gesendet: Sonntag, 5. März 2017 11:32:14
> An: [hidden email]</user/SendEmail.jtp?type=node&node=5892430&i=2>
> Betreff: Re: [mkgmap-dev] [Patch v1] nwe special tag
> mkgmap:residential
>
> Gerd, that is a good point
>
> It was just a thought that since points are parsed first one could
> perhaps  set a  flag  when place=village is true
>
> then
>
> mkgmap:residiential=* & village=true . --> show buildings
>
>
> So I was not thinking of mkgmap specifically
>
> On 05/03/2017 10:08, Gerd Petermann [via GIS] wrote:
> Please explain what you meant with
> "Perhaps with some coding you could make exceptions for buildings in
> villages/hamlets..."
>
> Would that be code in mkgmap or in your style?
> Gerd
> ________________________________________
> Von: mkgmap-dev <[hidden
> email]</user/SendEmail.jtp?type=node&node=5892427&i=0>> im Auftrag
> von nwillink <[hidden
> email]</user/SendEmail.jtp?type=node&node=5892427&i=1>>
> Gesendet: Sonntag, 5. März 2017 11:03:56
> An: [hidden email]</user/SendEmail.jtp?type=node&node=5892427&i=2>
> Betreff: Re: [mkgmap-dev] [Patch v1] nwe special tag
> mkgmap:residential
>
> Ok Thanks
>
> On 05/03/2017 09:34, Gerd Petermann [via GIS] wrote:
> Hi Nick,
>
> hmm, not sure what you want to point out.
> The tag mkgmap:residential may be set to other values than "yes",
> e.g.
> ways located in
> https://www.openstreetmap.org/way/454954092
> should have mkgmap:residential=Bahnhofsviertel
>
> Gerd
> ________________________________________
> Von: mkgmap-dev <[hidden
> email]</user/SendEmail.jtp?type=node&node=5892425&i=0>> im Auftrag
> von nwillink <[hidden
> email]</user/SendEmail.jtp?type=node&node=5892425&i=1>>
> Gesendet: Sonntag, 5. März 2017 10:27:03
> An: [hidden email]</user/SendEmail.jtp?type=node&node=5892425&i=2>
> Betreff: Re: [mkgmap-dev] [Patch v1] nwe special tag
> mkgmap:residential
>
> Thanks Gerd
>
> Works a treat although in my style I had to use
>
> building=* & mkgmap:residential=yes {delete building}
>
> in both polygons and lines (outlines).
>
> Your efforts provide an addiitional  bonus in that you may just want
> to show
> just the faint outlines of buildings.
>
> Perhaps with some coding you could make exceptions for buildings in
> villages/hamlets...
>
> Nick
>
>
>
>
>
> --
> View this message in context: http://gis.19327.n8.nabble.com/Patch-v1
> -nwe-special-tag-mkgmap-residential-tp5892342p5892424.html
> Sent from the Mkgmap Development mailing list archive at Nabble.com.
> _______________________________________________
> mkgmap-dev mailing list
> [hidden email]</user/SendEmail.jtp?type=node&node=5892425&i=3>
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
> _______________________________________________
> mkgmap-dev mailing list
> [hidden email]</user/SendEmail.jtp?type=node&node=5892425&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.n8.nabble.com/Patch-v1-nwe-special-tag-mkgmap-reside
> ntial-tp5892342p5892425.html
> To unsubscribe from [Patch v1] nwe special tag mkgmap:residential,
> click here.
> NAML<http://gis.19327.n8.nabble.com/template/NamlServlet.jtp?macro=ma
> cro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.nam
> espaces.BasicNamespace-nabble.view.web.template.NabbleNamespace
> -nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscriber
> s%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml
> -send_instant_email%21nabble%3Aemail.naml>
>
>
> ________________________________
> View this message in context: Re: [Patch v1] nwe special tag
> mkgmap:residential<http://gis.19327.n8.nabble.com/Patch-v1-nwe-specia
> l-tag-mkgmap-residential-tp5892342p5892426.html>
> Sent from the Mkgmap Development mailing list archive<
> http://gis.19327.n8.nabble.com/Mkgmap-Development-f5324443.html> at
> Nabble.com.
> _______________________________________________
> mkgmap-dev mailing list
> [hidden email]</user/SendEmail.jtp?type=node&node=5892427&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.n8.nabble.com/Patch-v1-nwe-special-tag-mkgmap-reside
> ntial-tp5892342p5892427.html
> To unsubscribe from [Patch v1] nwe special tag mkgmap:residential,
> click here.
> NAML<http://gis.19327.n8.nabble.com/template/NamlServlet.jtp?macro=ma
> cro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.nam
> espaces.BasicNamespace-nabble.view.web.template.NabbleNamespace
> -nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscriber
> s%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml
> -send_instant_email%21nabble%3Aemail.naml>
>
>
> ________________________________
> View this message in context: Re: [Patch v1] nwe special tag
> mkgmap:residential<http://gis.19327.n8.nabble.com/Patch-v1-nwe-specia
> l-tag-mkgmap-residential-tp5892342p5892429.html>
> Sent from the Mkgmap Development mailing list archive<
> http://gis.19327.n8.nabble.com/Mkgmap-Development-f5324443.html> at
> Nabble.com.
> _______________________________________________
> mkgmap-dev mailing list
> [hidden email]</user/SendEmail.jtp?type=node&node=5892430&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.n8.nabble.com/Patch-v1-nwe-special-tag-mkgmap-reside
> ntial-tp5892342p5892430.html
> To unsubscribe from [Patch v1] nwe special tag mkgmap:residential,
> click here.
> NAML<http://gis.19327.n8.nabble.com/template/NamlServlet.jtp?macro=ma
> cro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.nam
> espaces.BasicNamespace-nabble.view.web.template.NabbleNamespace
> -nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscriber
> s%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml
> -send_instant_email%21nabble%3Aemail.naml>
>
>
> ________________________________
> View this message in context: Re: [Patch v1] nwe special tag
> mkgmap:residential<http://gis.19327.n8.nabble.com/Patch-v1-nwe-specia
> l-tag-mkgmap-residential-tp5892342p5892431.html>
> Sent from the Mkgmap Development mailing list archive<
> http://gis.19327.n8.nabble.com/Mkgmap-Development-f5324443.html> at
> Nabble.com.
> _______________________________________________
> mkgmap-dev mailing list
> [hidden email]</user/SendEmail.jtp?type=node&node=5892434&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.n8.nabble.com/Patch-v1-nwe-special-tag-mkgmap-reside
> ntial-tp5892342p5892434.html
> To unsubscribe from [Patch v1] nwe special tag mkgmap:residential,
> click here.
> NAML<http://gis.19327.n8.nabble.com/template/NamlServlet.jtp?macro=ma
> cro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.nam
> espaces.BasicNamespace-nabble.view.web.template.NabbleNamespace
> -nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscriber
> s%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml
> -send_instant_email%21nabble%3Aemail.naml>
>
>
> ________________________________
> View this message in context: Re: [Patch v1] nwe special tag
> mkgmap:residential<http://gis.19327.n8.nabble.com/Patch-v1-nwe-specia
> l-tag-mkgmap-residential-tp5892342p5892437.html>
> Sent from the Mkgmap Development mailing list archive<
> http://gis.19327.n8.nabble.com/Mkgmap-Development-f5324443.html> at
> Nabble.com.
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev at lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


More information about the mkgmap-dev mailing list