logo separator

[mkgmap-dev] place/city search question(Re: Index branch - success!)

From maning sambale emmanuel.sambale at gmail.com on Mon Feb 14 03:01:35 GMT 2011

In our country, places and cities are usually under this hierarchy:

village, city, province, region, country

I have the following in my point style:
# add is_in tags if there is one
place=city {name '${name}, ${is_in:state}' | '${name}'} [0x0400 resolution 16]
place=hamlet [0x0d00 resolution 23]
place=locality [0x0d00 resolution 23]
place=subdivision [0x0d00 resolution 23]
place=suburb [0x0d00 resolution 23]
place=town {name '${name}, ${is_in:state}' | '${name}'} [0x0800 resolution 18]
place=village {name '${name}, ${is_in:town}, ${is_in:state}' |
'${name}, ${is_in:town}' | '${name}, ${is_in:state}' | '${name}'}
[0x0c00 resolution 21]
place=purok [0x0d00 resolution 23]

When using the new street search (basecamp and nuvi), I get different
result when doing:
street near village
street near city

The street is located on the village within the city.  I also get this
"Disputed Territory"  when you click the details of the search
results.  Is this a data problem?

Great work on the index btw!

On Mon, Feb 14, 2011 at 10:00 AM, maning sambale
<emmanuel.sambale at gmail.com> wrote:
> My report using mkgmap-index-r1850.jar.
>
> Args file:
>
> code-page=1252
> tdbfile
> latin1
> country-abbr=PHL
> country-name=PHILIPPINES
> remove-short-arcs=5
> route
> add-pois-to-areas
> family-id=639
> family-name=OSM_PHIL
> overview-mapname=40000001
> series-name=OSM_PHIL
> description=OSM_PHIL
> generate-sea=polygons,extend-sea-sectors,close-gaps=1000
> index
> make-poi-index
> adjust-turn-headings
> drive-on-right
> report-dead-ends
> ignore-maxspeeds
> link-pois-to-ways
>
>
> - Loading the map to basecamp and roadtrip - no crash
> - loading the map to nuvi 1310 using map install - no crash
> - using the Where to - Address - working!
> - I see two countries in the "Select Country" (Disputed Territory and
> Ph) - what do we mean by disputed territory?
>  I can search for streets under the "Disputed Category" but not in "Ph"
>
> I'm using the default style for now.  Will report back using my own
> style.  Great work!
>
> On Sun, Feb 13, 2011 at 4:45 AM, Chris66 <chris66nrw at gmx.de> wrote:
>> Am 12.02.2011 15:08, schrieb Henning Scholland:
>>
>>>> Now when I find for addresses on my Legend HCX, I can choose
>>>> between region "Deutschland" and region "Germany".
>>>> [...]
>>>> I used location-autofill=1 and
>>>> --country-name=germany
>>>> --country-abbr=DE
>>>> --area-name=DE
>>
>> when I change this to
>>  --country-name=Deutschland
>>  --country-abbr=DEU
>>  --area-name=DEU
>> then only region "Deutschland" is available and this is choosen
>> automatically in the address-find page.
>>
>>>> For region Deutschland I have to enter "LÜ" to find
>>>> cities starting with "Lü" but for Region Germany I
>>>> have to enter "LU" to find cities starting with "Lü".
>>
>>> did you use --code-page//=1252? This should fix the problem with
>>> umlauts.
>>
>> I used -latin1 but when I change to codepage/charset 1252 there is no
>> difference.
>>
>> So, searching cities with "LÜ" now gives:
>>
>>  Lünen, Kreis Unna
>>  Lünen-Süd, DEU
>>
>> and looking for "LU" gives:
>>
>>  Lüdinghausen, Kreis Coesfeld
>>  Lünen, Kreis Unna
>>  Lünen-Süd, DEU
>>
>> Very funny.
>>
>> Another question:
>>
>> Searching for housenumbers is not yet possible?
>>
>> Chris
>>
>> _______________________________________________
>> mkgmap-dev mailing list
>> mkgmap-dev at lists.mkgmap.org.uk
>> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>>
>
>
>
> --
> cheers,
> maning
> ------------------------------------------------------
> "Freedom is still the most radical idea of all" -N.Branden
> wiki: http://esambale.wikispaces.com/
> blog: http://epsg4253.wordpress.com/
> ------------------------------------------------------
>



-- 
cheers,
maning
------------------------------------------------------
"Freedom is still the most radical idea of all" -N.Branden
wiki: http://esambale.wikispaces.com/
blog: http://epsg4253.wordpress.com/
------------------------------------------------------



More information about the mkgmap-dev mailing list