
Hi, the problem is that there are no rules for Croatia in inc/address. Thorsten On Wed, May 20, thesurveyor@wolke7.net wrote:
<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>Hi all,</div>
<div> </div>
<div>I've started to create a map of Croatia.</div>
<div>I've done and all seemed to work fine, but when I try to find an address it doesn't work.</div>
<div> </div>
<div>I even don't find major cities like "Split" in address search.</div>
<div>I'm using my own style but I checked with default style - same result. For other countries it works.</div>
<div>I'm using boundary files from 2015-02-06.</div>
<div> </div>
<div>Can someone check in his maps if it works for you? Any hints where to check?</div>
<div> </div>
<div>Thanks,</div>
<div>Gert</div>
<div> </div>
<div class="signature"> </div></div></body></html>
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
-- Thorsten Kukuk, Senior Architect SLES & Common Code Base SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany GF: Felix Imendörffer, Jane Smithard, Dilip Upmanyu, Graham Norton, HRB 21284 (AG Nürnberg)

Hi, On Wed, May 20, Thorsten Kukuk wrote:
Hi,
the problem is that there are no rules for Croatia in inc/address.
And even worse: the admin_level boundaries are a nightmare, most are incomplete. And for cities it looks like they don't use admin_level boundaries, but simple ways like this one: https://www.openstreetmap.org/way/177736372 I don't understand enough how the addresses in Croatia are working to implement some enhancements for inc/address, but it looks to me, at first the croatia mapper need to fix the admin_level data. Nevertheless, you could try this patch. I haven't tested it yet, there are nearly no address informations in Croatia. But looking at the OSM data for Zagreb, it should at least help there. And I'm not sure about the order of this three lines ... --- inc/address 6 May 2015 09:18:21 -0000 1.9 +++ inc/address 20 May 2015 09:23:23 -0000 @@ -42,6 +42,9 @@ mkgmap:country=FIN & mkgmap:city!=* & mkgmap:admin_level8=* { set mkgmap:city='${mkgmap:admin_level8}' } mkgmap:country=FRA & mkgmap:city!=* & mkgmap:admin_level9=* { set mkgmap:city='${mkgmap:admin_level9}' } mkgmap:country=FRA & mkgmap:city!=* & mkgmap:admin_level8=* { set mkgmap:city='${mkgmap:admin_level8}' } +mkgmap:country=HRV & mkgmap:city!=* & mkgmap:admin_level6='Grad Zagreb' { set mkgmap:city='Zagreb' } +mkgmap:country=HRV & mkgmap:city!=* & mkgmap:admin_level7=* { set mkgmap:city='${mkgmap:admin_level7|subst:Grad =>}' } +mkgmap:country=HRV & mkgmap:city!=* & mkgmap:admin_level8=* { set mkgmap:city='${mkgmap:admin_level8}' } mkgmap:country=ISL & mkgmap:city!=* & mkgmap:admin_level8=* { set mkgmap:city='${mkgmap:admin_level8}' } mkgmap:country=ITA & mkgmap:city!=* & mkgmap:admin_level8=* { set mkgmap:city='${mkgmap:admin_level8}' } mkgmap:country=LUX & mkgmap:city!=* & mkgmap:admin_level8=* { set mkgmap:city='${mkgmap:admin_level8}' } Thorsten
Thorsten
On Wed, May 20, thesurveyor@wolke7.net wrote:
<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>Hi all,</div>
<div> </div>
<div>I've started to create a map of Croatia.</div>
<div>I've done and all seemed to work fine, but when I try to find an address it doesn't work.</div>
<div> </div>
<div>I even don't find major cities like "Split" in address search.</div>
<div>I'm using my own style but I checked with default style - same result. For other countries it works.</div>
<div>I'm using boundary files from 2015-02-06.</div>
<div> </div>
<div>Can someone check in his maps if it works for you? Any hints where to check?</div>
<div> </div>
<div>Thanks,</div>
<div>Gert</div>
<div> </div>
<div class="signature"> </div></div></body></html>
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
-- Thorsten Kukuk, Senior Architect SLES & Common Code Base SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany GF: Felix Imendörffer, Jane Smithard, Dilip Upmanyu, Graham Norton, HRB 21284 (AG Nürnberg) _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
-- Thorsten Kukuk, Senior Architect SLES & Common Code Base SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany GF: Felix Imendörffer, Jane Smithard, Dilip Upmanyu, Graham Norton, HRB 21284 (AG Nürnberg)

Hi Gert, map on PC and gmpasupp.img, both include subfile *_mdr.img, which contains search index. They are similar but not the same. MapInstall and Mapsource convert file form PC to format needed in gmapsupp. Mkgmap can create both versions. -- Best regards, Andrzej

Hi Gert, the source for the display tool is here: http://www.mkgmap.org.uk/websvn/? I think it is only useful as a debugging tool for the developer. Gerd thesurveyor wrote
Hi,
I have, maybe some off-topic questions:
- sometimes I'm reading in some posts of you about a 'display tool'. I don't know that tool, who can provide a link?
- when I create a map with mkgmap a *_mdr.img get's created. That's ok, I need that file for Basecamp/Mapsource. In the days without internet connection I played with the available tools on my PC, so I 'played' with GMapTool. I splitted a gmapsupp.img (generated with mkgmap) and I got back the tile img's and some other files, including the *_mdr.img. I noticed that the filesize of the tile img's and *_mdr.img is not the same as produced by mkgmap. Till now I thought that a gmapsupp.img is something like a container for all the single files and that it is possible to extract the files again 1:1. I thought that gmt does this. So I wondered that I got differences. I just want to know if my assumptions are correct or not.
Thanks in advance,
Gert
_______________________________________________ mkgmap-dev mailing list
mkgmap-dev@.org
-- View this message in context: http://gis.19327.n5.nabble.com/Address-search-Croatia-tp5845238p5851189.html Sent from the Mkgmap Development mailing list archive at Nabble.com.

Hi Gert, I just tried with the housenumber2 branch. I can find Split in cities as well as in address search. With the trunk version I find fewer adresses, but the search for e.g. Bihacka 2 in Split works also. Gerd From: thesurveyor@wolke7.net To: mkgmap-dev@lists.mkgmap.org.uk Date: Wed, 20 May 2015 10:08:08 +0200 Subject: [mkgmap-dev] Address search Croatia Hi all, I've started to create a map of Croatia. I've done and all seemed to work fine, but when I try to find an address it doesn't work. I even don't find major cities like "Split" in address search. I'm using my own style but I checked with default style - same result. For other countries it works. I'm using boundary files from 2015-02-06. Can someone check in his maps if it works for you? Any hints where to check? Thanks, Gert _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
participants (5)
-
Andrzej Popowski
-
Gerd Petermann
-
GerdP
-
thesurveyor@wolke7.net
-
Thorsten Kukuk