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

Building nodes are invisible #2033

Closed
pnorman opened this issue Nov 28, 2013 · 15 comments
Closed

Building nodes are invisible #2033

pnorman opened this issue Nov 28, 2013 · 15 comments

Comments

@pnorman
Copy link
Contributor

pnorman commented Nov 28, 2013

Nodes with building=* appear to be invisible. See for example http://www.openstreetmap.org/edit?editor=id#map=18/32.30267/36.31946

cc @mikelmaron

@hajo4
Copy link

hajo4 commented Nov 28, 2013

It is hard to see what is on the ground at that spot.
Also, whole buildings tagged as kitchen or toilet ?

I made a few new things at http://www.openstreetmap.org/browse/way/248817177
There, the buildings look pretty normal/visible to me.

@pnorman
Copy link
Contributor Author

pnorman commented Nov 28, 2013

That's a building=yes way that you created, not a node.

@jfirebaugh
Copy link
Member

What's happening here is that iD has a threshold for rendering points -- if there are more than 100 points (nodes not belonging to a way) visible, they aren't rendered. This is both for performance and to avoid covering the screen with markers at e.g. z16. If you zoom in a couple levels, the points will be rendered.

This has worked pretty well so far -- as far as I know, this is the first time anyone has noticed this behavior -- but I'm open to ideas. As a start we can bump the threshold up. 100 is pretty low.

@hajo4
Copy link

hajo4 commented Dec 2, 2013

Maybe we can also exclude from that count all points
that will will be rendered as "simple icons", e.g. trees.

@pnorman
Copy link
Contributor Author

pnorman commented Dec 2, 2013

What's happening here is that iD has a threshold for rendering points -- if there are more than 100 points (nodes not belonging to a way) visible, they aren't rendered. This is both for performance and to avoid covering the screen with markers at e.g. z16. If you zoom in a couple levels, the points will be rendered.

I have to zoom in to z21 to see them. I would suggest a) increasing the point threshold and b) showing all points when at or past z18

@bhousel
Copy link
Member

bhousel commented Aug 18, 2014

@jfirebaugh: Thoughts on something like this? I want to implement density dependent rendering. I'm thinking of assigning some objects a rendering penalty (sidewalks, POIs, buildings) and culling some features away if the viewport is too dense. But if we're going to do this, it's important to let the user know what's going on.

screenshot 2014-08-17 21 29 35

@jfirebaugh
Copy link
Member

Well, we've been reluctant to selectively hide features because it introduces the possibility of changing a visible geometry without realizing that it also affects connected (or otherwise related, e.g. parallel) geometry that is hidden. (POIs are a bit of a special case because by definition they are not connected to other features.)

Showing a message for the existing hiding behavior seems like a good idea though.

@pnorman
Copy link
Contributor Author

pnorman commented Aug 18, 2014

(POIs are a bit of a special case because by definition they are not connected to other features.)

Are you talking about POIs in general, or some subset of POIs? See 773141803 for an example of a POI connected to another feature.

@jfirebaugh
Copy link
Member

Yeah, I mean what iD calls "Points" -- tagged nodes that aren't members of any way. That's the only type of feature that it currently hides selectively.

@bhousel
Copy link
Member

bhousel commented Aug 20, 2014

I'd like to put together a PR that addresses this issue and also #1871, #1299, #1520. It would be a sidepanel with some controls to allow the user to disable some features, maybe also using the bar in the screenshot above to remind them when features are disabled.

#1520 scares me because I don't really want to mess with editoff/on while a user is just panning around at one zoom level. Imagine they start drawing a feature and then happen to move to a place that is too dense and editoff happens - bad idea.

@jfirebaugh
Copy link
Member

Addressed by feature filtering (#2357).

@pnorman
Copy link
Contributor Author

pnorman commented Nov 13, 2014

Addressed by feature filtering (#2357).

Were defaults for point filtering adjusted at the same time?

@bhousel
Copy link
Member

bhousel commented Nov 13, 2014

Yes, the threshold is bumped up a little. It's viewport dependent now too, so a bigger screen will show more points.

I set it to 250 points per 1000x1000 of viewport. Which is totally arbitrary but felt ok in my testing.

@pnorman
Copy link
Contributor Author

pnorman commented Nov 13, 2014

We should probably have no threshold for z18+, as at some point you want to show any points or the user will never realize they are there.

@bhousel
Copy link
Member

bhousel commented Nov 13, 2014

We show the user a message now if anything is hidden from them.

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

4 participants