logo separator

[mkgmap-dev] Stylefile : Rule for delete all proposed features ?

From Gerd Petermann GPetermann_muenchen at hotmail.com on Sun Mar 12 09:10:09 GMT 2017

Hi Thomas,

I still don't understand how that would work. My first example probably wasn't good because
the tag key sidewalk:both is never evaluated with the default style.

Consider also this way http://www.openstreetmap.org/way/323342627
with
highway=residential
surface=proposed
My understanding is that the highway exists and is usable but the surface tag is more or less useless.

or
way http://www.openstreetmap.org/way/58422569
with
building = retail
shop = proposed
My understanding is that the building exists and someone plans to open a shop.

Now, what should happen with this new function in "first line of Style"?

I assume you don't want to remove the object, only the tags with the value "proposed". Is that right?
If so, this could be done while reading the OSM data.

Gerd


________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Thomas Morgenstern <webmaster at img2ms.de>
Gesendet: Sonntag, 12. März 2017 09:44:34
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] Stylefile : Rule for delete all proposed features ?

I want not drop before styleproccessing. For example : the object 346
400 898 has the tag 'building=proposed' . I want drop the whole objekt.
Near by are another objects (amenity=parking ; parking=proposed). The
obcekt is in tenerife, near Adeje. I want not render generelly all
objects, which are proposed. Because the do not realy exists today. I
need a generelly rule for my own style, to drop all polygon-, POI- and
line-objects = proposed. May bee in the first line of Style ?

thomas


Am 12.03.2017 um 09:17 schrieb Gerd Petermann:
> Hi Thomas,
>
> that is not possible with the current version.
> Not sure what you want to achive.
> If a way has the tags
> highway=residential,sidewalk:both=proposed,name=A-road
> do you want to drop the single tag sidewalk:both=proposed before style processing
> or do you want to drop the complete way ?
>
> Gerd
> ________________________________________
> Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Thomas Morgenstern <webmaster at img2ms.de>
> Gesendet: Sonntag, 12. März 2017 09:10:14
> An: Development list for mkgmap
> Betreff: [mkgmap-dev] Stylefile : Rule for delete all proposed features ?
>
> Hi , can someone give me a hint for a proper rule in stylefile . I want
> delete all objects (line, polygon, poi) which have tag <anywhat>=
> proposed.  I do not want to write individuall rules for each object ;
> example : parking=propose {delete parking} separate.
> thanks thomas
>
> _______________________________________________
> 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
>
>
>

_______________________________________________
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