Hello Team,
I have launched nominatim service for “europe”(europe-latest.osm.pbf) and successfully installed and running fine.
I did “reverse” geocoding for the the lat=48.0208384 and lon=10.28653680883767 but got the response “Unable to geocode”
But if I do the same in public nominatim (nominatim.openstreetmap.org/reverse?format=jsonv2&lat=48.020705&lon=10.287473](https://nominatim.openstreetmap.org/reverse?format=jsonv2&lat=48.020705&lon=10.287473)) and able to do geocode and print the result:
{
“place_id”: 111489455,
“licence”: “Data © OpenStreetMap contributors, ODbL 1.0. OpenStreetMap”,
“osm_type”: “way”,
“osm_id”: 110470839,
“lat”: “48.0208384”,
“lon”: “10.28653680883767”,
“category”: “building”,
“type”: “yes”,
“place_rank”: 30,
“importance”: 0.00000999999999995449,
“addresstype”: “building”,
“name”: “”,
“display_name”: “12, Am Heilig Kreuz, Unterwesterheim, Westerheim, Erkheim, Landkreis Unterallgäu, Bavaria, 87784, Germany”,
“address”: {
“house_number”: “12”,
“road”: “Am Heilig Kreuz”,
“neighbourhood”: “Unterwesterheim”,
“village”: “Westerheim”,
“municipality”: “Erkheim”,
“county”: “Landkreis Unterallgäu”,
“state”: “Bavaria”,
“ISO3166-2-lvl4”: “DE-BY”,
“postcode”: “87784”,
“country”: “Germany”,
“country_code”: “de”
},
“boundingbox”: [
“48.0207852”,
“48.0209123”,
“10.2863770”,
“10.2866966”
]
}
What is wrong with my own nominatim instance which can not geocode but public do?
I have launched the nomiantim via docker and find the docker run command below
docker run
–restart=always
–log-driver json-file
–log-opt max-size=10m
–log-opt max-file=3
–shm-size=4g
-e POSTGRES_SHARED_BUFFERS=2GB
-e POSTGRES_MAINTAINENCE_WORK_MEM=10GB
-e POSTGRES_AUTOVACUUM_WORK_MEM=2GB
-e POSTGRES_WORK_MEM=50MB
-e POSTGRES_EFFECTIVE_CACHE_SIZE=24GB
-e POSTGRES_SYNCHRONOUS_COMMIT=off
-e POSTGRES_MAX_WAL_SIZE=1GB
-e POSTGRES_CHECKPOINT_TIMEOUT=10min
-e POSTGRES_CHECKPOINT_COMPLETITION_TARGET=0.9
-e PBF_PATH=/nominatim/data/europe-latest.osm.pbf
-e REPLICATION_UPDATE_INTERVAL=2592000
-e REPLICATION_RECHECK_INTERVAL=1296000
-e UPDATE_MODE=continuous/once/catch-up/none
-e FREEZE=false
-e IMPORT_STYLE=full
-v nominatim-data:/var/lib/postgresql/14/main
-v /osm-services/bremen/nominatim_db/:/nominatim/data
-v /osm-services/bremen/nominatim_db/:/nominatim/flatnode
-p 3001:8080
-i -t -d
–name nominatim_europe_3001
mediagis/nominatim:4.4