[mkgmap-dev] Poiisble bug with ~ and numbers
From Pinns UK osm at pinns.co.uk on Fri Jul 10 08:46:58 BST 2020
Hi Gerd Many thanks for coming back so soon ! Never realised I neede d ^1 Nick On 10/07/2020 08:43, Gerd Petermann wrote: > Hi Nick, > > '1*.' means 0 or more '1' at the beginning. You probably want something like '^1.*' (string starting with 1 followed by 0 or more other characters) > > Gerd > > ________________________________________ > Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Pinns UK <osm at pinns.co.uk> > Gesendet: Freitag, 10. Juli 2020 09:26 > An: mkgmap-dev at lists.mkgmap.org.uk > Betreff: [mkgmap-dev] Poiisble bug with ~ and numbers > > Hi All > > I'm trying to assign an icon to platform numbers in my TYP file - my > Fenix doesn't show highway:symbols > > This works fine if platforms are labelled 1,2,3 etc > > To avoid too many icons I want to reduce 1a,1b to 1 and 2a,2b to 2 etc > using > > ref ~'1*.' [0x etc] > > ref ~'2*.' [0x etc] > > This works for stations with number+letter platforms (ie Norwich) > > However, where stations are just numbers without letters, all > platforms(ie 1,2,3,4) are labelled 1 depending on the order of my ref ~ ie > > if ref ~'1*.' is the first line in my code all platforms are labbelled 1 > if ref ~'2*.' is the first line in my code a;; of them are labelled 2 > > It seems ~ may not work as expected with numbers , or my code is wrong. > > Any ideas? > > Nick > > > _______________________________________________ > 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
- Previous message: [mkgmap-dev] Poiisble bug with ~ and numbers
- Next message: [mkgmap-dev] Poiisble bug with ~ and numbers
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list