
Hi Arndt have a look at the 'part:' option in the style manual Evaluate each 'part' if its >0 then it contains a number However it wont work for Knoten 123a Nick On 05/04/2020 10:34, Arndt Röhrig wrote:
Hi @all,
i want to extract only numbers from a point name. For example name="Knoten 123" -> name="123". If there is a numer, i want to set knotenpunkt=ja, if there is no number, i want to set knotenpunkt=nein
Is that possible? Thanks for help
Greetz Arndt
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

I think subst with regular expression (from~>to) should work? Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Pinns UK <osm@pinns.co.uk> Gesendet: Sonntag, 5. April 2020 12:10 An: mkgmap-dev@lists.mkgmap.org.uk Betreff: Re: [mkgmap-dev] subst only numbers Hi Arndt have a look at the 'part:' option in the style manual Evaluate each 'part' if its >0 then it contains a number However it wont work for Knoten 123a Nick On 05/04/2020 10:34, Arndt Röhrig wrote: Hi @all, i want to extract only numbers from a point name. For example name="Knoten 123" -> name="123". If there is a numer, i want to set knotenpunkt=ja, if there is no number, i want to set knotenpunkt=nein Is that possible? Thanks for help Greetz Arndt _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
participants (3)
-
Arndt Röhrig
-
Gerd Petermann
-
Pinns UK