pelias / docker

Run the Pelias geocoder in docker containers, including example projects.
MIT License
335 stars 225 forks source link

WOF not working while its container up and running #356

Open kotsh23 opened 2 months ago

kotsh23 commented 2 months ago

the problem is when i try to reverse geocode i dont get full wof data like https://openrouteservice.org/

here is my json country egypt if someone can tell me why thats happen

{
  "logger": {
    "level": "debug",
    "timestamp": false
  },
  "esclient": {
    "apiVersion": "7.5",
    "hosts": [
      { "host": "elasticsearch" }
    ]
  },
  "elasticsearch": {
    "settings": {
      "index": {
        "refresh_interval": "10s",
        "number_of_replicas": "0",
        "number_of_shards": "1"
      }
    }
  },
  "api": {
    "services": {
      "pip": { "url": "http://pip:4200" },
      "libpostal": { "url": "http://libpostal:4400" },
      "placeholder": { "url": "http://placeholder:4100" },
      "interpolation": { "url": "http://interpolation:4300" }
    }
  },
  "imports": {
"adminLookup": {
      "enabled": true

},
    "geonames": {
      "datapath": "/data/geonames",
      "countryCode": "EG"
    },
    "openstreetmap": {
      "download": [
        { "sourceURL": "http://download.geofabrik.de/africa/egypt-latest.osm.pbf" }
      ],
      "leveldbpath": "/tmp",
      "datapath": "/data/openstreetmap",
      "import": [
        { "filename": "egypt-latest.osm.pbf" }
      ]
    },
    "openaddresses": {
      "datapath": "/data/openaddresses",
      "files": [
        "eg/cairo.csv",
        "eg/alexandria.csv"
      ]
    },
    "polyline": {
      "datapath": "/data/polylines",
      "files": ["extract.0sv"]
    },
    "whosonfirst": {
      "datapath": "/data/whosonfirst",
      "countryCode": "EG",
      "importPostalcodes": true,
      "importPlace": ["85632581"]
    }
  }
}
missinglink commented 2 months ago

Please provide examples of which results you were expecting to find & the queries you used to find them.