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

certain tags create areas from route relations #2808

Open
dieterdreist opened this Issue Sep 4, 2017 · 6 comments

Comments

Projects
None yet
6 participants
@dieterdreist
Copy link

dieterdreist commented Sep 4, 2017

We had today a case in Italy where a route relation with the tag highway=path (and circular way members) lead to an highway area polygon rendering. Not sure if this is the right repo or if this is an osm2pgsql bug, but a route relation should never create polygons in the rendering db, regardless of tags.

@kocio-pl kocio-pl added this to the Bugs and improvements milestone Sep 4, 2017

@SomeoneElseOSM

This comment has been minimized.

Copy link
Contributor

SomeoneElseOSM commented Sep 4, 2017

Linking to openstreetmap/osm2pgsql#304 , which might be the osm2pgsql issue you're thinking of. I'm not convinced that that's still an issue though - osm2pgsql versions have moved on considerably since 2015 when that issue was created. I haven't seen a recent example in OSM data.

@dieterdreist

This comment has been minimized.

Copy link

dieterdreist commented Sep 4, 2017

@matthijsmelissen

This comment has been minimized.

Copy link
Collaborator

matthijsmelissen commented Sep 11, 2017

I don't think route relations should do anything with polygon handling. @pnorman is that correct?

@pnorman

This comment has been minimized.

Copy link
Collaborator

pnorman commented Sep 15, 2017

We had today a case in Italy where a route relation with the tag highway=path (and circular way members) lead to an highway area polygon rendering. Not sure if this is the right repo or if this is an osm2pgsql bug, but a route relation should never create polygons in the rendering db, regardless of tags.

Can you provide a minimized XML testcase?

I don't think route relations should do anything with polygon handling. @pnorman is that correct?

They're all part of filter_tags_relation_member, I can look into it with a testcase. I'm not confident the problem is what's described here.

@dieterdreist

This comment has been minimized.

Copy link

dieterdreist commented Oct 2, 2017

@majkaz

This comment has been minimized.

Copy link

majkaz commented Jan 9, 2019

The same case was here. It was corrected, but the highway=track did "overwrite" the pond.

Screenshot:
2019-01-09_161810

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment