logo separator

[mkgmap-dev] is tag matching case sensitive?

From Michał Rogala michal.rogala at gmail.com on Mon Mar 17 15:10:15 GMT 2014

thanks for information :). But don't you think that such matching should be
case insensitive? If by mistake some OSM user creates highway=Primary or
trail with colour=Red such object won't appear in mkgmap compilation.

best regards

Michal Rogala


2014-03-17 15:37 GMT+01:00 GerdP <gpetermann_muenchen at hotmail.com>:

> Hi Michal,
>
> the tag is evaluated with the java method String.equals(),
> so yes, it is case sensitive.
>
> Gerd
>
>
> Michał Rogala wrote
> > Hi!
> >
> > I've always thought that matching tag values is case insensitive. But
> > today
> > I found a situation where
> >
> > colour='#00ff00'
> >
> > rule doesn't match when tag value is '#00FF00'.
> >
> > creating a rule (colour='#00ff00' | colour='#00FF00') solved my problem.
> >
> > Is it a bug in mkgmap or this kind of matching should by design be case
> > sensitive? Maybe the hash sign causes trouble somewhere.
> >
> > best regards
> >
> > Michal Rogala
> >
> > _______________________________________________
> > mkgmap-dev mailing list
>
> > mkgmap-dev at .org
>
> > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>
>
>
>
>
> --
> View this message in context:
> http://gis.19327.n5.nabble.com/is-tag-matching-case-sensitive-tp5800033p5800035.html
> Sent from the Mkgmap Development mailing list archive at Nabble.com.
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20140317/c34be938/attachment.html>


More information about the mkgmap-dev mailing list