<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>
<div>Hi Thorsten,</div>
<div>Sorry for the late answer, I've been on a business trip and suddenly had no access to my private emails (yes, I couldn't believe that this is possible)</div>
<div>
<div> </div>
<div>Thanks for the explanation and the patch. I've tested it in Croatia, but couldn't see big differences in the area of Split. But I'll stop researching, I'm back home again, and I agree with you that the croatia mappers have to work on the OSM data first :-)</div>
</div>
<div> </div>
<div>Regards,</div>
<div>
<div>Gert</div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;"><b>Gesendet:</b> Mittwoch, 20. Mai 2015 um 11:25 Uhr<br/>
<b>Von:</b> "Thorsten Kukuk" <kukuk@suse.de><br/>
<b>An:</b> mkgmap-dev@lists.mkgmap.org.uk<br/>
<b>Betreff:</b> Re: [mkgmap-dev] Address search Croatia</div>
<div name="quoted-content"><br/>
Hi,<br/>
<br/>
On Wed, May 20, Thorsten Kukuk wrote:<br/>
<br/>
><br/>
> Hi,<br/>
><br/>
> the problem is that there are no rules for Croatia in<br/>
> inc/address.<br/>
<br/>
And even worse: the admin_level boundaries are a nightmare, most are<br/>
incomplete. And for cities it looks like they don't use admin_level<br/>
boundaries, but simple ways like this one:<br/>
<a href="https://www.openstreetmap.org/way/177736372" target="_blank">https://www.openstreetmap.org/way/177736372</a><br/>
<br/>
I don't understand enough how the addresses in Croatia are working<br/>
to implement some enhancements for inc/address, but it looks to me,<br/>
at first the croatia mapper need to fix the admin_level data.<br/>
<br/>
Nevertheless, you could try this patch. I haven't tested it yet,<br/>
there are nearly no address informations in Croatia. But looking<br/>
at the OSM data for Zagreb, it should at least help there.<br/>
And I'm not sure about the order of this three lines ...<br/>
<br/>
--- inc/address 6 May 2015 09:18:21 -0000 1.9<br/>
+++ inc/address 20 May 2015 09:23:23 -0000<br/>
@@ -42,6 +42,9 @@<br/>
mkgmap:country=FIN & mkgmap:city!=* & mkgmap:admin_level8=* { set mkgmap:city='${mkgmap:admin_level8}' }<br/>
mkgmap:country=FRA & mkgmap:city!=* & mkgmap:admin_level9=* { set mkgmap:city='${mkgmap:admin_level9}' }<br/>
mkgmap:country=FRA & mkgmap:city!=* & mkgmap:admin_level8=* { set mkgmap:city='${mkgmap:admin_level8}' }<br/>
+mkgmap:country=HRV & mkgmap:city!=* & mkgmap:admin_level6='Grad Zagreb' { set mkgmap:city='Zagreb' }<br/>
+mkgmap:country=HRV & mkgmap:city!=* & mkgmap:admin_level7=* { set mkgmap:city='${mkgmap:admin_level7|subst:Grad =>}' }<br/>
+mkgmap:country=HRV & mkgmap:city!=* & mkgmap:admin_level8=* { set mkgmap:city='${mkgmap:admin_level8}' }<br/>
mkgmap:country=ISL & mkgmap:city!=* & mkgmap:admin_level8=* { set mkgmap:city='${mkgmap:admin_level8}' }<br/>
mkgmap:country=ITA & mkgmap:city!=* & mkgmap:admin_level8=* { set mkgmap:city='${mkgmap:admin_level8}' }<br/>
mkgmap:country=LUX & mkgmap:city!=* & mkgmap:admin_level8=* { set mkgmap:city='${mkgmap:admin_level8}' }<br/>
<br/>
<br/>
Thorsten<br/>
<br/>
> Thorsten<br/>
><br/>
> On Wed, May 20, thesurveyor@wolke7.net wrote:<br/>
><br/>
> > <html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>Hi all,</div><br/>
> ><br/>
> > <div>&nbsp;</div><br/>
> ><br/>
> > <div>I&#39;ve started to create a map of Croatia.</div><br/>
> ><br/>
> > <div>I&#39;ve done and all seemed to work fine, but when I try to find an address it doesn&#39;t work.</div><br/>
> ><br/>
> > <div>&nbsp;</div><br/>
> ><br/>
> > <div>I even don&#39;t find major cities like &quot;Split&quot; in address search.</div><br/>
> ><br/>
> > <div>I&#39;m using my own style but I checked with default style - same result. For other countries it works.</div><br/>
> ><br/>
> > <div>I&#39;m using boundary files from 2015-02-06.</div><br/>
> ><br/>
> > <div>&nbsp;</div><br/>
> ><br/>
> > <div>Can someone check in his maps if it works for you? Any hints where to check?</div><br/>
> ><br/>
> > <div>&nbsp;</div><br/>
> ><br/>
> > <div>Thanks,</div><br/>
> ><br/>
> > <div>Gert</div><br/>
> ><br/>
> > <div>&nbsp;</div><br/>
> ><br/>
> > <div class="signature">&nbsp;</div></div></body></html><br/>
><br/>
> > _______________________________________________<br/>
> > mkgmap-dev mailing list<br/>
> > mkgmap-dev@lists.mkgmap.org.uk<br/>
> > <a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" target="_blank">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a><br/>
><br/>
><br/>
> --<br/>
> Thorsten Kukuk, Senior Architect SLES & Common Code Base<br/>
> SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany<br/>
> GF: Felix Imendörffer, Jane Smithard, Dilip Upmanyu, Graham Norton, HRB 21284 (AG Nürnberg)<br/>
> _______________________________________________<br/>
> mkgmap-dev mailing list<br/>
> mkgmap-dev@lists.mkgmap.org.uk<br/>
> <a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" target="_blank">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a><br/>
<br/>
--<br/>
Thorsten Kukuk, Senior Architect SLES & Common Code Base<br/>
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany<br/>
GF: Felix Imendörffer, Jane Smithard, Dilip Upmanyu, Graham Norton, HRB 21284 (AG Nürnberg)<br/>
_______________________________________________<br/>
mkgmap-dev mailing list<br/>
mkgmap-dev@lists.mkgmap.org.uk<br/>
<a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" target="_blank">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a></div>
</div>
</div>
</div>
<div> </div>
<div class="signature"> </div></div></body></html>