This document discusses problems with how polygons are represented in OpenStreetMap and proposes a new area datatype to address these issues. Specifically, it notes that there are currently multiple ways to define polygons that make them difficult to understand, edit, and use. The proposed area datatype would provide a single representation for polygons and make them easier to validate and work with programmatically. It outlines high-level considerations for what such a datatype might look like and how existing polygon data could be migrated to the new format.
24. Problems
Which polygon type to use?
(lakes?, rivers?, boundaries?)
What if several types
are in use at the same time?
Converting from one to another?
28. Polygons in OSM are...
difficult to understand,
diffcult to edit,
difficult to use.
29. Some Numbers...
110 million (closed way) polygons
90 million are buildings
72 million have 6 points or less
900,000 area=yes
750,000 natural=coastline (31 million nodes)
260,000 waterway=riverbank
33. What Should it Look Like?
Referencing nodes? (Like a way?)
(What about huge areas?)
Referencing ways? (A bit like MP relations?)
(What about small areas?)
Not referencing anything, coordinates inside?
(Like Simple Feature)
34. Polygons are Problematic...
1. Because there are several ways to accomplish
the same thing.
2. Because they are hard to edit and keep valid.
35. Polygons are Problematic...
1. Because there are several ways to accomplish
the same thing.
→ One area datatype
2. Because they are hard to edit and keep valid.
36. Polygons are Problematic...
1. Because there are several ways to accomplish
the same thing.
→ One area datatype
2. Because they are hard to edit and keep valid.
→ Let the computer do the checking