[Patch v1] nwe special tag mkgmap:residential

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
14 messages Options
Reply | Threaded
Open this post in threaded view
|

[Patch v1] nwe special tag mkgmap:residential

Gerd Petermann
Hi all,

attached is a patch that implements a new hook ResidentialHook to add the tag
mkgmap:residential
to nodes and ways which are located in a landuse=residential area.
If that area was named, the tag will have the value of that name, else it will be yes.
So, in the style you may use
building=* & mkgmap:residential!=* [0x13 resolution 24]
to add only those buildings to the map which are not inside a landuse=residential area.

To reduce run time, the hook tests only one point for each element:
For nodes it will check the position of the node,
For closed ways the hook computes the center point,
for other ways with n points it will check the n/2 th point.

The hook is executed after the POIGeneratorHook, so generated POI are processed
(as well as the shapes generated from MP-Relations.
I did not see a reason to process relations,  please let me know if you see one.

A compiled binary is here:
http://files.mkgmap.org.uk/download/338/mkgmap.jar

The option --x-residential-hook=false disables the hook.

If I hear no complains I will add docu and commit the patch next tuesday.

Gerd

_______________________________________________
mkgmap-dev mailing list
[hidden email]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

residential-hook-v1.patch (7K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [Patch v1] nwe special tag mkgmap:residential

nwillink
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

Reply | Threaded
Open this post in threaded view
|

Re: [Patch v1] nwe special tag mkgmap:residential

Gerd Petermann
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]> im Auftrag von nwillink <[hidden email]>
Gesendet: Sonntag, 5. März 2017 10:27:03
An: [hidden email]
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]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________
mkgmap-dev mailing list
[hidden email]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
Reply | Threaded
Open this post in threaded view
|

Re: [Patch v1] nwe special tag mkgmap:residential

nwillink

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]> im Auftrag von nwillink <[hidden email]>
Gesendet: Sonntag, 5. März 2017 10:27:03
An: [hidden email]
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]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________
mkgmap-dev mailing list
[hidden email]
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-residential-tp5892342p5892425.html
To unsubscribe from [Patch v1] nwe special tag mkgmap:residential, click here.
NAML

Reply | Threaded
Open this post in threaded view
|

Re: [Patch v1] nwe special tag mkgmap:residential

Gerd Petermann
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]> im Auftrag von nwillink <[hidden email]>
Gesendet: Sonntag, 5. März 2017 11:03:56
An: [hidden email]
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-residential-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=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: [Patch v1] nwe special tag mkgmap:residential<http://gis.19327.n8.nabble.com/Patch-v1-nwe-special-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]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
Reply | Threaded
Open this post in threaded view
|

Re: [Patch v1] nwe special tag mkgmap:residential

nwillink

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]> im Auftrag von nwillink <[hidden email]>
Gesendet: Sonntag, 5. März 2017 11:03:56
An: [hidden email]
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-residential-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=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: [Patch v1] nwe special tag mkgmap:residential<http://gis.19327.n8.nabble.com/Patch-v1-nwe-special-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]
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-residential-tp5892342p5892427.html
To unsubscribe from [Patch v1] nwe special tag mkgmap:residential, click here.
NAML

Reply | Threaded
Open this post in threaded view
|

Re: [Patch v1] nwe special tag mkgmap:residential

Gerd Petermann
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]> im Auftrag von nwillink <[hidden email]>
Gesendet: Sonntag, 5. März 2017 11:32:14
An: [hidden email]
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-residential-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=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: [Patch v1] nwe special tag mkgmap:residential<http://gis.19327.n8.nabble.com/Patch-v1-nwe-special-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-residential-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=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: [Patch v1] nwe special tag mkgmap:residential<http://gis.19327.n8.nabble.com/Patch-v1-nwe-special-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]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
Reply | Threaded
Open this post in threaded view
|

Re: [Patch v1] nwe special tag mkgmap:residential

nwillink

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]> im Auftrag von nwillink <[hidden email]>
Gesendet: Sonntag, 5. März 2017 11:32:14
An: [hidden email]
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-residential-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=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: [Patch v1] nwe special tag mkgmap:residential<http://gis.19327.n8.nabble.com/Patch-v1-nwe-special-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-residential-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=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: [Patch v1] nwe special tag mkgmap:residential<http://gis.19327.n8.nabble.com/Patch-v1-nwe-special-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]
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-residential-tp5892342p5892430.html
To unsubscribe from [Patch v1] nwe special tag mkgmap:residential, click here.
NAML

Reply | Threaded
Open this post in threaded view
|

Re: [Patch v1] nwe special tag mkgmap:residential

Gerd Petermann
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]> im Auftrag von nwillink <[hidden email]>
Gesendet: Sonntag, 5. März 2017 11:46:56
An: [hidden email]
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-residential-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=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: [Patch v1] nwe special tag mkgmap:residential<http://gis.19327.n8.nabble.com/Patch-v1-nwe-special-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-residential-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=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: [Patch v1] nwe special tag mkgmap:residential<http://gis.19327.n8.nabble.com/Patch-v1-nwe-special-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-residential-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=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: [Patch v1] nwe special tag mkgmap:residential<http://gis.19327.n8.nabble.com/Patch-v1-nwe-special-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]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
Reply | Threaded
Open this post in threaded view
|

Re: [Patch v1] nwe special tag mkgmap:residential

nwillink

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]> im Auftrag von nwillink <[hidden email]>
Gesendet: Sonntag, 5. März 2017 11:46:56
An: [hidden email]
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-residential-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=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: [Patch v1] nwe special tag mkgmap:residential<http://gis.19327.n8.nabble.com/Patch-v1-nwe-special-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-residential-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=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: [Patch v1] nwe special tag mkgmap:residential<http://gis.19327.n8.nabble.com/Patch-v1-nwe-special-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-residential-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=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: [Patch v1] nwe special tag mkgmap:residential<http://gis.19327.n8.nabble.com/Patch-v1-nwe-special-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]
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-residential-tp5892342p5892434.html
To unsubscribe from [Patch v1] nwe special tag mkgmap:residential, click here.
NAML

Reply | Threaded
Open this post in threaded view
|

Re: [Patch v1] nwe special tag mkgmap:residential

Gerd Petermann
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 <[hidden email]> im Auftrag von nwillink <[hidden email]>
Gesendet: Sonntag, 5. März 2017 12:53:04
An: [hidden email]
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-residential-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=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: [Patch v1] nwe special tag mkgmap:residential<http://gis.19327.n8.nabble.com/Patch-v1-nwe-special-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-residential-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=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: [Patch v1] nwe special tag mkgmap:residential<http://gis.19327.n8.nabble.com/Patch-v1-nwe-special-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-residential-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=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: [Patch v1] nwe special tag mkgmap:residential<http://gis.19327.n8.nabble.com/Patch-v1-nwe-special-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-residential-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=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: [Patch v1] nwe special tag mkgmap:residential<http://gis.19327.n8.nabble.com/Patch-v1-nwe-special-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
[hidden email]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
Reply | Threaded
Open this post in threaded view
|

Re: [Patch v1] nwe special tag mkgmap:residential

nwillink

Hi Gerd

I've for the time being abandoned the admin_level idea but I'm sure its possible - around my area most levels are admin_level 10

I have had various thoughts

1) Some buildings may be more important than others, ie pubs ;) so I've been tinkering with excluding them from the residential list -

 

2) In many ways using a TYP file its very useful to be able to distinguish between residential (faint no outline) and non residential buildings ( darker with outline)

3) Buildings in industrial / educational areas are still shown, but that is not a problem ; I can see a possible use for mkgmap:industrial / mkgmap:leisure etc but that may be over the top.

4) Exeter is 'plagued' with buildings and the residential rule seems to have excluded them all !

r

Nick


On 05/03/2017 17:00, Gerd Petermann [via GIS] 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 <[hidden email]> im Auftrag von nwillink <[hidden email]>
Gesendet: Sonntag, 5. März 2017 12:53:04
An: [hidden email]
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-residential-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=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: [Patch v1] nwe special tag mkgmap:residential<http://gis.19327.n8.nabble.com/Patch-v1-nwe-special-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-residential-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=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: [Patch v1] nwe special tag mkgmap:residential<http://gis.19327.n8.nabble.com/Patch-v1-nwe-special-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-residential-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=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: [Patch v1] nwe special tag mkgmap:residential<http://gis.19327.n8.nabble.com/Patch-v1-nwe-special-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-residential-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=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: [Patch v1] nwe special tag mkgmap:residential<http://gis.19327.n8.nabble.com/Patch-v1-nwe-special-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
[hidden email]
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-residential-tp5892342p5892465.html
To unsubscribe from [Patch v1] nwe special tag mkgmap:residential, click here.
NAML

Reply | Threaded
Open this post in threaded view
|

Re: [Patch v1] nwe special tag mkgmap:residential

Ticker Berkin
In reply to this post by Gerd Petermann
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 <[hidden email]> im Auftrag
> von nwillink <[hidden email]>
> Gesendet: Sonntag, 5. März 2017 12:53:04
> An: [hidden email]
> 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
> [hidden email]
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________
mkgmap-dev mailing list
[hidden email]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
Reply | Threaded
Open this post in threaded view
|

Re: [Patch v1] nwe special tag mkgmap:residential

Gerd Petermann
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 <[hidden email]> im Auftrag von Ticker Berkin <[hidden email]>
Gesendet: Dienstag, 7. März 2017 18:10:49
An: [hidden email]
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 <[hidden email]> im Auftrag
> von nwillink <[hidden email]>
> Gesendet: Sonntag, 5. März 2017 12:53:04
> An: [hidden email]
> 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
> [hidden email]
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________
mkgmap-dev mailing list
[hidden email]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________
mkgmap-dev mailing list
[hidden email]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev