logo separator

[mkgmap-dev] is tag matching case sensitive?

From GerdP gpetermann_muenchen at hotmail.com on Mon Mar 17 17:29:49 GMT 2014

Hi Michal,

I think the idea is : "garbage in, garbage out"
If the OSM renderer treats highway=Primary
in the same way as highway=primary, 
we should also do that, but I doubt that
this is true.

Gerd


Michał Rogala wrote
> 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@

> >:
> 
>> 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 .org

>> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
> 
> _______________________________________________
> 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-tp5800033p5800063.html
Sent from the Mkgmap Development mailing list archive at Nabble.com.


More information about the mkgmap-dev mailing list