mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-23 12:26:43 +02:00
After importing 22M OSM objects for the DACH extract: - Disable adminLookup (no WOF data needed for address search) - Configure leveldb path inside the data volume - Specify planet-latest.osm.pbf as the import filename - Convert libpostal service config from string to object form - Drop boundary.country default — Pelias only accepts a single country value, and our index only contains DACH data anyway Verified forward + reverse geocoding work end-to-end for Konstanz test queries via the mana-geocoding wrapper on port 3018. Known limitation: OSM category/type (amenity:restaurant etc.) is not yet populated in Pelias responses — will require whitelisting those tags in the importer config and re-running the import. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
61 lines
1 KiB
JSON
61 lines
1 KiB
JSON
{
|
|
"esclient": {
|
|
"apiVersion": "7.x",
|
|
"hosts": [
|
|
{
|
|
"host": "elasticsearch",
|
|
"port": 9200
|
|
}
|
|
]
|
|
},
|
|
"api": {
|
|
"services": {
|
|
"libpostal": {
|
|
"url": "http://libpostal:4400"
|
|
},
|
|
"placeholder": {
|
|
"url": "http://placeholder:4100"
|
|
},
|
|
"pip": {
|
|
"url": "http://pip:4200"
|
|
},
|
|
"interpolation": {
|
|
"url": "http://interpolation:4300"
|
|
}
|
|
},
|
|
"defaultParameters": {}
|
|
},
|
|
"imports": {
|
|
"adminLookup": {
|
|
"enabled": false
|
|
},
|
|
"openstreetmap": {
|
|
"download": [
|
|
{
|
|
"sourceURL": "https://download.geofabrik.de/europe/dach-latest.osm.pbf"
|
|
}
|
|
],
|
|
"datapath": "/data/openstreetmap",
|
|
"leveldbpath": "/data/leveldb",
|
|
"importVenues": true,
|
|
"importAddresses": true,
|
|
"adminLookup": false,
|
|
"useAdminHierarchyLabels": false,
|
|
"leveldb": {
|
|
"cacheSize": 256
|
|
},
|
|
"import": [
|
|
{
|
|
"filename": "planet-latest.osm.pbf"
|
|
}
|
|
]
|
|
},
|
|
"polylines": {
|
|
"datapath": "/data/polylines",
|
|
"files": ["extract.0sv"]
|
|
}
|
|
},
|
|
"logger": {
|
|
"level": "info"
|
|
}
|
|
}
|