[mkgmap-dev] Expression
From Gerd Petermann GPetermann_muenchen at hotmail.com on Sun Oct 8 10:36:50 BST 2017
Hi Aleksander, I am surprised that you can create a TYP file with type 0x2902 for POLYLINE. My understanding is that Garmin only supports 0x01-0x3f or extended types (>= 0x010000) Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Aleksandar Terzic <tekija at gmail.com> Gesendet: Sonntag, 8. Oktober 2017 11:23:49 An: 'Development list for mkgmap' Betreff: Re: [mkgmap-dev] Expression I have created custom map with power lines and towers. Now I want to separate powerlines by voltage types ( different color, zoom level etc. ). For this purpose i have created custom style and *.typ file. I managed to change label and zoom level based on powerline voltage level, but no luck with custom line type i have defined in *.typ file with typViewer. Style file: Line 202 - "power=line & voltage='123' [0x29 resolution 16]" Line 203 - "power=line & voltage='400' [0x2902 resolution 16]" With mkgmap command: "java -jar mkgmap.jar --style-file=ees.zip --bounds=bounds --family-id=0 --transparent 6324*.osm.pbf --tdbfile --gmapsupp dv.TYP > mkgmap.log " I get error: "Invalid type 0x2902 for POLYLINE in style file lines, line 203" In dv.TYP file i have created line with type 0x29 and subtype 02. Thanks in advance. -- Aleksandar -----Original Message----- From: mkgmap-dev [mailto:mkgmap-dev-bounces at lists.mkgmap.org.uk] On Behalf Of demon.box Sent: 6. октобар 2017. 14:27 To: mkgmap-dev at lists.mkgmap.org.uk Subject: Re: [mkgmap-dev] Expression Gerd Petermann wrote > I think that would be > name=* & !(name ~ 'ABC.*') Yes, it's perfect !! Thanks ;-) --enrico -- Sent from: http://gis.19327.n8.nabble.com/Mkgmap-Development-f5324443.html _______________________________________________ mkgmap-dev mailing list mkgmap-dev at lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev --- This email has been checked for viruses by AVG. http://www.avg.com _______________________________________________ mkgmap-dev mailing list mkgmap-dev at lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
- Previous message: [mkgmap-dev] Expression
- Next message: [mkgmap-dev] Expression
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list