mkgmap 3313 bug: POI names missing

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

mkgmap 3313 bug: POI names missing

Bernhard Hiller
When creating maps with current (3313) version of mkgmap, POIs do not
have proper names on an Oregon 600. Instead, the category of the POI -
as used in the style file - is shown (e.g. "Pharmacy" instead of the
name of the pharmacy).
When using an old version of mkgmap (2815? file date 24 Nov 2013), the
names are shown - see screenshots.
The file size of the map of Bavaria is 207 MB with the old version, and
some 170 MB with the new version...
I include my points file.
Thanks for your hints,
Bernhard

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

enc.zip (68K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: mkgmap 3313 bug: POI names missing

Bernd Weigelt
Am Samstag, 5. Juli 2014, 11:13:57 schrieb Bernhard Hiller:

> When creating maps with current (3313) version of mkgmap, POIs do not
> have proper names on an Oregon 600. Instead, the category of the POI -
> as used in the style file - is shown (e.g. "Pharmacy" instead of the
> name of the pharmacy).
> When using an old version of mkgmap (2815? file date 24 Nov 2013), the
> names are shown - see screenshots.
> The file size of the map of Bavaria is 207 MB with the old version, and
> some 170 MB with the new version...
> I include my points file.
> Thanks for your hints,
> Bernhard


add something like this to end of 'points'. 'lines', 'polygons'

| <finalize>
| # The finalizer section is executed for each element when a rule with an
| element type matches
|
| name=* { name '${name}' }


this is from my 'point'

| <finalize>
| # The finalizer section is executed for each element when a rule with an
| # element type matches
|
|
| include '../inc/roadspeed' ;
|
| include '../inc/access' ;
|
| name=* { name '${name}' }
|
| include '../inc/address' ;
|
| include '../inc/phone' ;
|
| highway=* & ref=* { addlabel '${ref}' }
| highway=* & int_ref=* { addlabel '${int_ref}' }
| highway=* & nat_ref=* { addlabel '${nat_ref}' }
| highway=* & ref_ref=* { addlabel '${reg_ref}' }

Bernd
--
amarok2 now playing:




_______________________________________________
mkgmap-dev mailing list
[hidden email]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
Reply | Threaded
Open this post in threaded view
|

Re: mkgmap 3313 bug: POI names missing

Bernd Weigelt
Am Samstag, 5. Juli 2014, 11:31:52 schrieb Bernd Weigelt:

Please ignore this part of the previuos mail, C&P error ;-)


> this is from my 'point'
>
> | <finalize>
> | # The finalizer section is executed for each element when a rule with an
> | # element type matches
> |
> |
> |
> |
> | include '../inc/roadspeed' ;
> |
> |
> |
> | include '../inc/access' ;
> |
> |
> |
> | name=* { name '${name}' }
> |
> |
> |
> | include '../inc/address' ;
> |
> |
> |
> | include '../inc/phone' ;
> |
> |
> |
> | highway=* & ref=* { addlabel '${ref}' }
> | highway=* & int_ref=* { addlabel '${int_ref}' }
> | highway=* & nat_ref=* { addlabel '${nat_ref}' }
> | highway=* & ref_ref=* { addlabel '${reg_ref}' }

--
amarok2 now playing:




_______________________________________________
mkgmap-dev mailing list
[hidden email]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
Reply | Threaded
Open this post in threaded view
|

Re: mkgmap 3313 bug: POI names missing

Bernhard Hiller
In reply to this post by Bernd Weigelt
Thanks, that did the trick.
That was a change to mkgmap which made it incompatible with older styles.
Strangely, the new map has 182 MB, 25 MB less than the old version.

Am 05.07.2014 11:31, schrieb Bernd Weigelt:
> add something like this to end of 'points'. 'lines', 'polygons'
>
> |<finalize>
> | # The finalizer section is executed for each element when a rule with an
> | element type matches
> |
> | name=* { name '${name}' }

_______________________________________________
mkgmap-dev mailing list
[hidden email]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
Reply | Threaded
Open this post in threaded view
|

Re: mkgmap 3313 bug: POI names missing

WanMil
Please have a look at
http://www.mkgmap.org.uk/news/2013/12/22/more-flexibility-in-style-files-style 
for an overview what has been changed with mkgmap r2906.

WanMil

> Thanks, that did the trick.
> That was a change to mkgmap which made it incompatible with older styles.
> Strangely, the new map has 182 MB, 25 MB less than the old version.
>
> Am 05.07.2014 11:31, schrieb Bernd Weigelt:
>> add something like this to end of 'points'. 'lines', 'polygons'
>>
>> |<finalize>
>> | # The finalizer section is executed for each element when a rule
>> with an
>> | element type matches
>> |
>> | name=* { name '${name}' }
>
> _______________________________________________
> mkgmap-dev mailing list
> [hidden email]
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

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