logo separator

[mkgmap-dev] [PATCH] Allow ~ and friends at top level

From Felix Hartmann extremecarver at googlemail.com on Sun Jan 17 15:11:51 GMT 2010


On 17.01.2010 11:20, Marko Mäkelä wrote:
> Hi Felix,
>
> Thank you for testing my patch.  In any case, I will try to figure out
> what caused the size difference for me.  Even if the patch does not seem
> to bring much CPU-wise, the compact notation could be useful in some cases.
> But as your example shows, the downside of the compactness would be extra
> care needed when editing rules:
>
> On Sun, Jan 17, 2010 at 12:18:07AM +0100, Felix Hartmann wrote:
>    
>> I lost all of the following
>> new:
>> place ~ 'town\|suburb\village' [0x03 resolution 21]
>> old:
>> place=suburb | place=town | place=village [0x03 resolution 21]
>>      
> It should be suburb\|village, not suburb\village.  You should have got
> points for place=town, but there probably were no place="suburb\village"
> in the input. :-) (I don't even know what the \v would translate into
> in this case.  Probably just 'v', but it could be 0x0b (vertical tab) too.
>    
Well however even without typo I'm still missing them!!!!!

Using:
/landuse ~ 'residential\|residental' [0x03 resolution 21]
place ~ 'town\|suburb\|village\|hamlet' [0x03 resolution 21]/

There is absolutely no 0x03 in my map....
If I use instead

/landuse=residential | landuse=residental [0x03 resolution 21]
place=suburb | place=village | place=town [0x03 resolution 21]/

it renders fine.
Something fundamentally fucks up in with your patch or there is again 
some typo that I made?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20100117/85b4cb21/attachment.html 


More information about the mkgmap-dev mailing list