Hi Johan,

including it at the top of your lines file is enough. This saves some CPU because including it twice does not change anything.

In the default style the address file is included in the finalize section because none of the rules before the finalize section use the address fields. In this case the address rules need to be checked and executed only if an element matches an element type definition and not for all elements.

WanMil

Thanks, this works (I also noticed that I misread the mail of Andrezj)

I'm now using include 'inc/address'; both in the top and in the bottom
  (finalize section as in the default style) of my lines file

Cheers, Johan




2014-02-12 7:08 GMT+01:00 Thorsten Kukuk <[email protected]
<mailto:[email protected]>>:


    Hi,

    On Tue, Feb 11, Johan C wrote:

     > Thanks Gerd and Andrzej for your responses. But after doing
    several tests I
     > still can't get mkgmap:country=NLD working in my lines file. I've
    attached
     > both my lines file and my address file. I use inc/address is in the
     > finalize section. The boundaries are correct (in fact, these are
    actually
     > the same as I've been using the past two years), since I can select
     > addresses in my Garmin. Addresses also pop-up when I select a POI

    You have to include the address file before you can use
    mkgmap:country=NLD,
    not afterwards.

       Thorsten

     > Regards, Johan
     >
     >
     > 2014-02-11 12:56 GMT+01:00 Andrzej Popowski <[email protected]
    <mailto:[email protected]>>:
     >
     > > Hi,
     > >
     > > now includes are moved to finalize section at the end of the
    file. To
     > > search for country code you have to include "address" file
    before your
     > > search.
     > >
     > > --
     > > Best regards,
     > > Andrzej
     > >
     > > _______________________________________________
     > > mkgmap-dev mailing list
     > > [email protected]
    <mailto:[email protected]>
     > > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
     > >



     > _______________________________________________
     > mkgmap-dev mailing list
     > [email protected]
    <mailto:[email protected]>
     > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

    --
    Thorsten Kukuk, Senior Architect SLES & Common Code Base
    SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg
    GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG
    Nürnberg)
    _______________________________________________
    mkgmap-dev mailing list
    [email protected] <mailto:[email protected]>
    http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev




_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to