logo separator

[mkgmap-dev] Searching for postal_code & pbf-support

From WanMil wmgcnfg at web.de on Thu Jun 16 19:13:24 BST 2011

>> From the Nuvi (commercial map) of my Girlfriend I know, that when you search for streets, it also shows the postal-code. In Mapsource you can search for postal-codes, it also suggest postal-codes, but it couldn't find any streets.

Postal codes are not shown when you search for streets but as far as I 
know it is possible to search for them. Maybe the index format must be 
changed slightly so that the postal codes are also displayed.

>
> Other question: Is the pbf-support already included in r1965? I still get:
> Error at line 1, col 1
> Bad file format: test.osm.pbf
> Error parsing file
>

Yes. It is included since the first days of the locator branch. I have 
tested it today and it's working fine.

Please check carefully that the latest osmpbf.jar and protobuf.jar are 
in the classpath.

WanMil

> With http://www.mkgmap.org.uk/snapshots/mkgmap-r1955.zip and http://www.mkgmap.org.uk/snapshots/mkgmap-r1962.zip it works.
>
> Cheers
> Martin
>
> Am 13.06.2011 um 15:33 schrieb WanMil:
>
>> Hi Martin,
>>
>> you need to use the locator branch (I am sure your are doing so).
>>
>> The last line in your style rules contains an error in the set
>> (mkgmap:postcode instead of mkgmap:postalcode):
>> mkgmap:postal_code!=*&  mkgmap:postcode=* { set
>> mkgmap:postal_code='${mkgmap:postcode}' }
>>
>> What are you searching for? POIs? Street names? Which search fields are
>> you filling? There might be some problems left with searching for zip
>> codes. It's not very well tested.
>>
>> WanMil
>>
>>> Hi all,
>>>
>>> short question. In the style files I use the following lines:
>>> mkgmap:postal_code!=*&   addr:postcode=* { set mkgmap:postal_code='${addr:postcode}' }
>>> mkgmap:postal_code!=*&   openGeoDB:postal_codes=* { set mkgmap:postal_code='${openGeoDB:postal_codes}' }
>>> mkgmap:postal_code!=*&   mkgmap:postcode=* { set mkgmap:postal_code='${mkgmap:postalcode}' }
>>>
>>> But in Mapsource (or Garmin/Basecamp), I couldn't search for postal_codes. So what I'm doing wrong?
>>>
>>> Cheers
>>> Martin
>>>
>>> _______________________________________________
>>> mkgmap-dev mailing list
>>> mkgmap-dev at lists.mkgmap.org.uk
>>> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>>
>> _______________________________________________
>> mkgmap-dev mailing list
>> mkgmap-dev at lists.mkgmap.org.uk
>> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>>
>
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev




More information about the mkgmap-dev mailing list