Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Map-matcher configuration #128

Open
aminasadi0 opened this issue Oct 11, 2018 · 3 comments
Open

Map-matcher configuration #128

aminasadi0 opened this issue Oct 11, 2018 · 3 comments
Labels

Comments

@aminasadi0
Copy link

aminasadi0 commented Oct 11, 2018

Hi,

I'm trying to get the matcher to map match "34.77561, 137.18605" on the race track. But matcher matches the position to the road or the parking lots around the racetrack and not the track itself. I added the hightway type "raceway" to the road-types file and tried with different priorities. I also did try to edit ths .osm file and change the road type to something else. No changes in Matcher behaviour.

Any idea?

@GeoWonk
Copy link

GeoWonk commented Oct 11, 2018

Not a maintainer here but I did have to solve a similar problem (albeit more complicated) to include ferry routes.
Have you reimported the map data? road-types.json is used by import.sh and it's python scripts to determine what osm data to keep and to discard. Unless you reimport the data ways with the tag highway:raceway won't be in your database. You might need to run mvn clean first though.

@aminasadi0
Copy link
Author

aminasadi0 commented Oct 12, 2018

Hi GeoWonk,

I use docker so everytime I test I run the docker container and I import the data within the container. Finally after the test I remove the container. So postgresql is removed all together. The road-type file is mounted from host so I can edit it and next time container picks it up and use it.

So you added ferry-routes to road-types.json? What did you set for priority. I see high and low values for common road types.

@smattheis
Copy link

smattheis commented Oct 15, 2018

GeoWonk already mentioned: Whenever you use different OSM data, you need to reimport the complete map. After doing that, remember to delete *.bfmap files which are temporary files that speed up loading a map after it was imported the first time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants