logo separator

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

From Martin mkmap at snailrun.de on Thu Jun 16 17:37:41 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.

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

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
> 




More information about the mkgmap-dev mailing list