valhalla / valhalla/valhalla

Meili service returns Null coordinates

Open
#1,077 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
6.2k
Forks
981
Avg merge
2d 14h
Merged PRs (30d)
14

Description

I am trying to run Meili for map matching purpose. I have followed [this](https://github.com/valhalla/valhalla/blob/master/docs/meili/run_service_in_docker.md) guide to setup meili service but it wasn't successful in first attempt. Following step from setup guide was not working:

```
sudo docker run -it \
--volume "$DATA_DIR":/data \
--workdir /data \
ptpt/meili \
valhalla_build_tiles --conf /source/conf/valhalla.json berlin_germany.osm.pbf
```
So I built the tiles on my local host using following:
```
valhalla_build_tiles --conf valhalla.json berlin_germany.osm.pbf
find *.gph | sort -n | tar cf tiles.tar --no-recursion -T -
```
and then placed them in `/data` directory. Then the service started to work BUT only for the example map (berlin_germany.osm.pbf) given in the setup guide.

If I try to download any other map from [Geofabrik](http://download.geofabrik.de/index.html) & build tiles from that map, I get following response from the meili service API:
```
{
"status": 200,
"message": "OK",
"data": {
"type": "Feature",
"geometry": {
"type": "MultiLineString",
"coordinates": []
},
"properties": {
"matched_coordinates": [
null,
null,
null
]
}
}
}
```
Can someone direct if I'm missing some step?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.