Hi guys,
The stopwords are very important for Brazilian's maps, because more than 90% of our street names are prefixed with its kind. Examples:
Rua Paris, Avenida Antônio de Castro, Avenida Afonso Pena, etc.
Avenida (avenue), Rua (road), etc are prefixes.
These prefixes will be included in the index increasing its size unnecessarily.
I believe that you don't need to care about the country where maps will be compiled. Firstly, because it will be very difficult to identify, understand and apply the particular rules for every country. Moreover, you will expend too much time creating these rules and the users will lost flexibility to the define their own stopwords.
So, my suggestion is exactly that: allow the users to define their own stopwords.
It should be developed a feature in mkgmap allowing the users to pass the stopwords throw a new parameter/file, for example:
--index_stopwords=file.csv
file.csv example: "rua","avenida", "tie", "katu", "polku", "kuja"
mkgmap must ignore case.
That's it.
Regards,
Alexandre