Changes between Initial Version and Version 2 of Ticket #13361
- Timestamp:
- 2016-08-18T22:49:29+02:00 (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #13361
- Property Summary What is the bbox of an incomplete OSM primitive? → [Patch] What is the bbox of an incomplete OSM primitive?
-
Ticket #13361 – Description
initial v2 1 I stumbled over this while analysing performance problems in the 2 QuadBuckets.search(BBox searchBbox) method. 1 I stumbled over this while analysing performance problems in the QuadBuckets.search(BBox searchBbox) method. 3 2 4 3 I noticed that incomplete primitives have quite confusing bboxes: … … 10 9 ymin = Double.POSITIVE_INFINITY 11 10 ymax = Double.NEGATIVE_INFINITY 12 if all nodes are incomplete, else it will 13 be the bbox of the complete node(s). 14 3) a relation with eg. just two node members 15 where one is complete at (10,40) and the other 16 is incomplete will span a huge area from 11 if all nodes are incomplete, else it will be the bbox of the complete node(s). 12 3) a relation with eg. just two node members where one is complete at (10,40) and the other is incomplete will span a huge area from 17 13 xmin = 0 18 14 xmax = 40 … … 20 16 ymax = 10 21 17 22 I would expect that the bbox of a relation is only 23 calculated using the complete nodes. 18 I would expect that the bbox of a relation is only calculated using the complete nodes. 24 19 25 I'd also prefer when the bbox of incomplete nodes would not be located 26 at (0,0), but I assume that there are good reasons for this. 27 20 I'd also prefer when the bbox of incomplete nodes would not be located at (0,0), but I assume that there are good reasons for this.