logo separator

[mkgmap-dev] problem with TYP-compilation

From Roger Calvert roger at rogercalvert.me.uk on Tue Apr 16 14:57:36 BST 2013

TYPViewer doesn't seem to like any comment lines except those it puts in 
itself, and if you change those, it changes them back.

Roger

On 16/04/2013 14:01, GerdP wrote:
> Hi Steve,
>
> good to see that you are back :-)
>
> Interesting for me:
> TypViewer 0.4.22 doesn't like that comment as well.
>
> I also found that the mkgmap typ compiler produces a result
> for the typ files in
> https://github.com/berndw1960/aiostyles
> that TypViewer doesn't like.
>
> So I leave these problems to you ;-)
>
> Gerd
>
>
>
>
> Steve Ratcliffe wrote
>> Hi Gerd
>>
>>> Maybe this is to simple, for example, you will not be able to use Strings
>>> containing a semicolon.
>>> Could this be the reason why Steve coded it more complex?
>> The Xpm file part is tricky because semicolons and spaces are
>> sometimes significant.
>>
>> You need to be able to handle something like this.
>>
>> [_polygon]
>> Type=0x14
>> Xpm="32 2 4 1"
>> "; c #7BCA6A"
>> "# c #7B956A"
>> "3 c #BDCA8B"
>> "4 c #BDCA8B"
>> ";;;;;;;;;;;;###;;;;;;;;;;;;;;;;;"
>> ";;;;;;;;;;;#;;##;;;;;;;;;;;;;;;;"
>>
>>
>> So I think that using setCommentChar() is out. But checking for
>> comments only at the beginning of the line would be OK I think.
>> Probably at the end too if it doesn't already.
>>
>> ..Steve
>> _______________________________________________
>> mkgmap-dev mailing list
>> mkgmap-dev at .org
>> http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>
>
>
>
> --
> View this message in context: http://gis.19327.n5.nabble.com/problem-with-TYP-compilation-tp5756635p5757337.html
> Sent from the Mkgmap Development mailing list archive at Nabble.com.
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>
>

-- 
------------------------------------------------------------------------

Roger Calvert
------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20130416/0cc92b69/attachment.html 


More information about the mkgmap-dev mailing list