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

Different rendering results with out geom; #182

Closed
mmd-osm opened this issue Jul 12, 2015 · 2 comments
Closed

Different rendering results with out geom; #182

mmd-osm opened this issue Jul 12, 2015 · 2 comments
Labels

Comments

@mmd-osm
Copy link
Contributor

mmd-osm commented Jul 12, 2015

I try to visualize highway ways which are also part of a landuse relation.
When using out geom; I get some unexpected results:

rend rend2

Query 1:

[bbox:{{bbox}}];
rel[landuse];
way(r)[highway];
out geom;
rel(bw)[landuse];
out geom;

http://overpass-turbo.eu/s/anH or as union http://overpass-turbo.eu/s/anJ

Query 2:

[bbox:{{bbox}}];
rel[landuse];
( way(r)[highway];
  rel(bw)[landuse];
);
(._;>;);
out;

http://overpass-turbo.eu/s/anI or http://overpass-turbo.eu/s/anN

@tyrasd
Copy link
Owner

tyrasd commented Jul 14, 2015

Solving this is going to be quite tricky (see tyrasd/osmtogeojson#38 (comment)).

Something like http://overpass-turbo.eu/s/apU could also be used as a workaround in the meantime…

tyrasd added a commit to tyrasd/osmtogeojson that referenced this issue Jan 30, 2016
this resolves collisions between ref-less and ref-full way
members of multipolygon relations, resulting in broken
rendering with invalid polygon geometries.

fixes #38

see also: tyrasd/overpass-turbo#182
@tyrasd tyrasd closed this as completed in ba00a69 Jan 30, 2016
@mmd-osm
Copy link
Contributor Author

mmd-osm commented Feb 5, 2016

Cool! Thanks for fixing this tricky issue. 👍

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

2 participants