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

Import loses links with multiple tag matches #141

Open
spencerrecneps opened this issue Sep 15, 2016 · 2 comments
Open

Import loses links with multiple tag matches #141

spencerrecneps opened this issue Sep 15, 2016 · 2 comments

Comments

@spencerrecneps
Copy link

spencerrecneps commented Sep 15, 2016

After importing an .osm file I discovered that some road links are missing compared to the original OSM data. I found #114 and thought that might be the problem, but decided to try a simplified mapconfig.xml and the import completed as expected.

As far as I can tell, osm2pgrouting has trouble with features where multiple tags match the types defined in mapconfig.xml.

An example osm_id is 46226421. There are matching tags for highway and cycleway.

To test this, I imported once with the default mapconfig.xml file and once with a modified config file where I removed the "cycleway" class. When I import with the default config file there are no links for osm_id 46226421, when imported with the modified config file the road segments are present.

@spencerrecneps
Copy link
Author

Another example osm_id: 302156855
This one doesn't have any relations defined so might be easier to troubleshoot.

@cvvergara
Copy link
Member

Some fixes were done on develop branch some time ago by @PanlerAvide (see #130)
and he also added a map config for bycycles
maybe you can try out develop branch.

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

No branches or pull requests

2 participants