logo separator

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

From Thomas Morgenstern webmaster at img2ms.de on Sun Mar 12 11:21:32 GMT 2017

okay, die allgemeine Regel ist nicht erforderlich. es reicht, wenn ich 
die Regel für konkrete Objecte anwende. Und konkret  bin ich bisher nur 
auf building und amenity=parking gestoßen.

mfg thomas


Am 12.03.2017 um 10:30 schrieb Gerd Petermann:
> Hallo Thomas,
>
> das macht aus meiner Sicht keinen Sinn. Nimm mein Beispiel
> http://www.openstreetmap.org/way/58422569
>
> Das Gebäude existiert, du willst es aber nicht rendern, weil jemand vorhat, darin einen Baumarkt zu eröffnen.
> Ich würde verstehen, wenn Du das tag shop=proposed automatisch löschen willst, aber warum gleich das ganze Objekt?
>
> 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 10:23:55
> An: Development list for mkgmap
> Betreff: Re: [mkgmap-dev] Stylefile : Rule for delete all proposed features ?
>
> Hallo, ich habe polygone gefunden mit dem tag <irgendwas>=proposed. Und
> diese will ich nicht rendern. Ich will eine allgemeine stylerule in mein
> Stylefile einbauen, wo alle objecte mit <irgenwas>=proposed gelöscht
> bzw. nicht gerendert werden. Mit einzelnen lines ist das kein Problem .
> z.B. highway=proposed {delete highway}. Da ich nicht weis, welche
> Objecte im osm.pbf den tag proposed haben, will ich vorbeugend alle
> objecte = proposed löschen bzw. nicht rendern. Aber *=proposed {delete *
> } wäre sicherlich falsch !
>
> Thomas
>
>
> Am 12.03.2017 um 10:10 schrieb Gerd Petermann:
>> 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
>> _______________________________________________
>> 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