
On 18/12/14 02:42, Andrzej Popowski wrote:
Hi,
I confirm problems in Mapsource when search include city.
Is this for a map of Poland?
I have studied cpreview source a bit. It looks like "trailingFlags" in MDR7 are more complicated, when multi-word sort is used. The lowest bit of flag is a marker for new group of streets with the same name. Other bits indicate some sort order, probably calculated from first part of name, which is removed to get partial name. I don't know if order is calculated for single map or globally.
I think it is split into two fields. The first part increases sequentially for names with the same stem but different prefixes and the second part increases sequentially for each different suffix. I am less sure about the suffix part. I was hoping that I wouldn't need to implement this, but I can see if the prefix part makes a difference if I can get a test running. ..Steve