Re: [mkgmap-dev] subst only numbers

2020-04-05 Thread Arndt Röhrig
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'

Re: [mkgmap-dev] subst only numbers

2020-04-05 Thread Gerd Petermann
I think subst with regular expression (from~>to) should work? Gerd Von: mkgmap-dev im Auftrag von Pinns 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

Re: [mkgmap-dev] subst only numbers

2020-04-05 Thread Pinns UK
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 12

[mkgmap-dev] subst only numbers

2020-04-05 Thread Arndt Röhrig
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? Than