[Geocoding] hi

Glenn glenn at byte-consult.be
Sun Jul 24 00:28:15 BST 2011


Ciprian ARSENIE <ciprian at ...> writes:

> 
> 
>     
>     hi i have installed a copy of nominatim for romania for reverse
>     geocoding and i have a problem with postal codes. my server is not
>     geocoding postal codes and at openstret mat it working. heare is an
>     examplehttp://map.carsenie.ro/reverse.php?lat=46.76409&lon=23.57029
>      and response is with out postcode but at
>     http://nominatim.openstreetmap.org/reverse.php?lat=46.76409&lon=23.57029
>     i have postcode. please help thanks
>   
> Attachment (smime.p7s): application/pkcs7-signature, 4324 bytes

I notice exactly the same problem here but differently.  I'm hacking the php
sources to see if I can get more data.  I'm just lacking postal codes, 
streetsetc are working.  I do notice that nominatim's version of my
 problem data isless accurate in the same zoom level.

See:

//
http://nominatim.openstreetmap.org/reverse.php?format=json&lat=51.06878&
lon=4.45820&zoom=19&email=glenn at byte-consult.be&maxareadistance=2&
addressdetails=1&accept-language=nl,fr,en-gb;q=0.8,en;q=0.7

//{"place_id":"31891838","licence":"Data Copyright OpenStreetMap 
Contributors, Some Rights Reserved. CC-BY-SA
2.0.","osm_type":"way","osm_id":"27731584",
"lat":"51.0696494005629","lon":"4.45798917340284","display_name":
"Pastorijstraat, Mechelen, Antwerpen, Vlaamse Gemeenschap, Vlaanderen, 2800,
België","address": "road":"Pastorijstraat","city":"Mechelen",
"county":"Antwerpen", "state_district":"Vlaamse Gemeenschap",
"state":"Vlaanderen","postcode":"2800", "country":"België","country_code":"be"}}

My own:

//{"place_id":141129,"licence":"Data Copyright OpenStreetMap Contributors, Some
Rights Reserved. CC-BY-SA 2.0.","osm_type":"way","osm_id":27731584,
"display_name":"Pastorijstraat, Walem, Mechelen, België",
"address": road":"Pastorijstraat","village":"Walem","city":"Mechelen",
"country":"België","country_code":"be"},"addresstype":"Road",
"search_diameter":0.0002,"rank":30,"max_distance":2}

I did hack more vars in the output (distance etc) but the thing is, I zoom to
village level and it correctly gives me 'Walem', that is exactly correct, 
the bigger city that belongs to is 'Mechelen'.

I only count about 250 records with postal code in the placex table, which has
all the streets though... really strange you see this too






More information about the Geocoding mailing list