logo separator

[mkgmap-dev] Index and equally named cities

From WanMil wmgcnfg at web.de on Thu Jun 2 13:36:00 BST 2011

Martin, Steve,

compiling only the given tile I cannot reproduce the problem. MapSource 
search is ok and searching on the Oregon finds Schafblumenhalde too.

Anyhow I have reviewed some relevant source code parts and have a 
question Steve maybe can answer.

The class PlacesFile contains the methods:
	City createCity(Country country, String name, boolean unique)
	City createCity(Region region, String name, boolean unique)

They are called when creating a city from a place tag (unique=true) and 
when creating a road (unique=false).
I don't understand in detail what the unique parameter should do.

WanMil


> Hello Steve,
>
> thank you for your fast reply.
> My problems with not findable streets still exist.
> If a town is devided into 2 or more pieces, only streets could be find on the tile which contains the place-tag. Tested on Basecamp for Mac and my Garmin Oregon. On Mapsource it seems to work. I don't know how the index is generated (tile by tile or all-in-one), but I hope this helps you to find the problem.
> When I copy the place-tag into this tile then I can find all that streets.
>
> Testcase:
> Tile:
> 63240403: 2250752,378880 to 2271232,403456
> #       : 48.295898,8.129883 to 48.735352,8.657227
>
> Streets that are not findable: e.g  Schafblumenhalde (City: Horb am Neckar)
>
> Generated with locator-branch and your patched jar-file.
>
> Cheers
> Martin
>
>
> Am 01.06.2011 um 12:52 schrieb Steve Ratcliffe:
>
>> On 01/06/11 09:24, Martin wrote:
>>> Hello,
>>>
>>> how can I patch a precompiled jar-file? I would like to test this patch with the locator-branch to see if this fix some problems I've found. Or is it already included in the locator-branch?
>>
>> Its not included in the branch yet.
>>
>> Here is a jar with the patch applied.
>>
>> URL: http://files.mkgmap.org.uk/download/23/mkgmap.jar
>>
>> Description: mkgmap from locator branch with city_region3.patch applied.
>>
>>
>> ..Steve
>> _______________________________________________
>> mkgmap-dev mailing list
>> mkgmap-dev at lists.mkgmap.org.uk
>> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>>
>
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev




More information about the mkgmap-dev mailing list