<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>What about multi-lingual countries such as Belgium or Switzerland? I think the primary factor should be language, not country. Belgian French, French French and Swiss French are probably similar enough for these purposes that they can share a solution. But Belgian French and Belgian Dutch are completely different animals....</p>
<p>Of course you can try to map countries (or at least a generic area like "territories") to default languages, but the user may still want to override the default.</p>
<p>How about this (sorry the abbreviations are wrong but it is only to illustrate my point):</p>
<p>mkgmap:country=POL {set mkgmap:lang=polish;}</p>
<p>mkgmap:region=Vlaanderen {set mkgmap:lang=dutch;}</p>
<p>mkgmap:country=NED {set mkgmap:lang=dutch;}</p>
<p>mkgmap:region=Wallonie {set mkgmap:lang=french;}</p>
<p>mkgmap:country=FRA {set mkgmap:lang=french;}</p>
<p>mkgmap:lang=french {set mkgmap:stopwords="rue,place,..."}</p>
<p>mkgmap:lang=dutch {set mkgmap:stopwords="de,het,..."}</p>
<p>mkgmap:lang=polish {set mkgmap:stopwords="ulica;ul."}</p>
<p>&nbsp;</p>
<p>If the stopwords were also defined to be regular expressions, then it could also handle prefixes and suffixes as well as whole words.</p>
<p>&nbsp;</p>
<div>&nbsp;</div>
<p>On 2015-02-14 15:38, Andrzej Popowski wrote:</p>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<pre>Hi,

in my opinion stopwords sholud be dependent on country code and should be defined in style or in definition of local parameters, the same way like zip code before street name.

Style would be preferred, since definitions can be included in default style, where contribute many people. Probably we could get definitions for many countries quite fast. I think it could be something like:

mkgmap:country=POL {set mkgmap:stopwords='ulica;ul.'}

Looking for solution, please take in consideration maps, which include many countries at once.
</pre>
</blockquote>
</body></html>