Re: [mkgmap-dev] comparing numeric values

2009-07-30 Thread Torsten Leistikow
Steve Ratcliffe schrieb: OK, I've just committed a fix. Do you agree all is well with it? Now my example works as expected. Thanks for the fast fix! Gruss Torsten ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk

Re: [mkgmap-dev] comparing numeric values

2009-07-29 Thread Ondrej Novy
Hi, 2009/7/29 Torsten Leistikow de_m...@gmx.de And in my style the lines-file contained the following rules: highway=null_null layer0 [0x01 resolution 10] highway=null_null layer=0 [0x02 resolution 10] highway=null_null layer0 [0x03 resolution 10] highway=null_null layer='-1' [0x04

Re: [mkgmap-dev] comparing numeric values

2009-07-29 Thread Steve Ratcliffe
Hi And in my style the lines-file contained the following rules: highway=null_null layer0 [0x01 resolution 10] highway=null_null layer=0 [0x02 resolution 10] highway=null_null layer0 [0x03 resolution 10] highway=null_null layer='-1' [0x04 resolution 10] highway=null_null layer='0'

Re: [mkgmap-dev] comparing numeric values

2009-07-29 Thread Torsten Leistikow
Steve Ratcliffe schrieb: I would say that the second result would be very strange as the rules for 0x2 and 0x5 are exactly the same and the 0x2 one comes first and so should win. You 're right, I have to apologise for mixing the numbers. The actual conversions are as follows: 9902 - 0x03

Re: [mkgmap-dev] comparing numeric values

2009-07-29 Thread Steve Ratcliffe
On 29/07/09 20:53, Torsten Leistikow wrote: Steve Ratcliffe schrieb: I would say that the second result would be very strange as the rules for 0x2 and 0x5 are exactly the same and the 0x2 one comes first and so should win. You 're right, I have to apologise for mixing the numbers. OK, I've