[mkgmap-dev] Expression
From Aleksandar Terzic tekija at gmail.com on Sun Oct 8 14:34:19 BST 2017
As suggested, I used 5 digit code and I get no error now, but I didnt get lines i defined in typ file. I used 0x10101, 0x10102 and 0x10103 depending on line type. I also changed the code in typ file to match these codes. I have the map, but line types are not even near like ones i defined in typ file. -- Pozdrav/Best regards -----Original Message----- From: mkgmap-dev [mailto:mkgmap-dev-bounces at lists.mkgmap.org.uk] On Behalf Of Gerd Petermann Sent: 8. октобар 2017. 13:54 To: Development list for mkgmap <mkgmap-dev at lists.mkgmap.org.uk> Subject: Re: [mkgmap-dev] Expression Hi Aleksander, I suggested to use an extended type, not 0x0101. The default style uses e.g. 0x10802 (note the 5 digits) The check that you see is performed without looking at the typ file. 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 13:19:18 An: 'Development list for mkgmap' Betreff: Re: [mkgmap-dev] Expression I tried using 0x01 subtype 01 but I get similar error: "Invalid type 0x0101 for POLYLINE in style file lines, line 201" I think the problem is mkgmap command is not loading custom TYP file. -- Pozdrav/Best regards -----Original Message----- From: mkgmap-dev [mailto:mkgmap-dev-bounces at lists.mkgmap.org.uk] On Behalf Of Gerd Petermann Sent: 8. октобар 2017. 11:37 To: Development list for mkgmap <mkgmap-dev at lists.mkgmap.org.uk> Subject: Re: [mkgmap-dev] Expression 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 _______________________________________________ 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 _______________________________________________ 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