File:Osm-defining-the-inside-of-an-area-by-coding-solely-if-it-lies-to-the-left-or-right-of-a-way extended.svg

From OpenStreetMap Wiki
Jump to: navigation, search
Original file(SVG file, nominally 1,488 × 744 pixels, file size: 105 KB)

Summary

This is the same as File:Osm-defining-the-inside-of-an-area-by-coding-solely-if-it-lies-to-the-left-or-right-of-a-way.svg with the exception that for two (of four possible) ring orientation combinations all possible insides are shown, i.e. for the greenly coded ones this is (from left to right in the graphic):

(after rev-flag is applied:)
  • ring(way1(CCW, outer)), ring(way2(CCW, outer)) (A)
  • ring(way1(CCW, outer)), ring(way2(CCW, inner)) (B)
  • ring(way1(CCW, inner)), ring(way2(CCW, outer)) (A)
  • ring(way1(CCW, inner)), ring(way2(CCW, inner)) (B)
  • ring(way1(CCW, outer)), ring(way2(CCW, outer)) (A)
  • ring(way1(CCW, outer)), ring(way2(CCW, inner)) (B)
  • ring(way1(CW, inner)), ring(way2(CW, outer)) (A)
  • ring(way1(CW, inner)), ring(way2(CW, inner)) (B)

There are 4 possible cases for arbitrary two rings that do not intersect to define an area on a plane (bbox case). (2x2 sides/ring)

On a sphere, with exactly two rings defining an area, possible cases are halved, (e.g. for the green ones above, both (A) are the same, and both (B) are the same).

But if there is just one more ring (i.e. three or more defining an area), neither both (A), nor both (B) are equivalent cases, i.e. count of cases is doubled, or the same as for the planar case.

Licensing

Public domain
I, the creator of this work, hereby release it into the public domain. This applies worldwide.

In case this is not legally possible, I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current15:38, 9 January 2016Thumbnail for version as of 15:38, 9 January 20161,488 × 744 (105 KB)Cmuelle8 (Talk | contribs)final version, with updated text in lower left
14:25, 9 January 2016Thumbnail for version as of 14:25, 9 January 20161,488 × 744 (103 KB)Cmuelle8 (Talk | contribs)corrected
22:09, 8 January 2016Thumbnail for version as of 22:09, 8 January 20161,488 × 744 (98 KB)Cmuelle8 (Talk | contribs)This is the same as File:Osm-defining-the-inside-of-an-area-by-coding-solely-if-it-lies-to-the-left-or-right-of-a-way.svg with the exception that for two (of four possible) ring orientation combinations all possible ''insides'' are shown, i.e. for...
  • You cannot overwrite this file.

Metadata