logo separator

[mkgmap-dev] subst only numbers

From Gerd Petermann gpetermann_muenchen at hotmail.com on Sun Apr 5 11:21:26 BST 2020

I think subst with regular expression (from~>to) should work?


Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Pinns UK <osm at pinns.co.uk>
Gesendet: Sonntag, 5. April 2020 12:10
An: mkgmap-dev at 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


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


mkgmap-dev mailing list
mkgmap-dev at lists.mkgmap.org.uk<mailto:mkgmap-dev at lists.mkgmap.org.uk>

More information about the mkgmap-dev mailing list