Invention Grant
- Patent Title: Generating valid polygon data based on input data with errors
-
Application No.: US16004389Application Date: 2018-06-10
-
Publication No.: US10586357B2Publication Date: 2020-03-10
- Inventor: Mackenzie Blake Thompson
- Applicant: Mapbox, Inc.
- Applicant Address: US CA San Francisco
- Assignee: MAPBOX, INC.
- Current Assignee: MAPBOX, INC.
- Current Assignee Address: US CA San Francisco
- Agency: Fenwick & West LLP
- Main IPC: G06T11/20
- IPC: G06T11/20

Abstract:
A polygon Boolean operation and topology correction algorithm generates valid polygons despite polygon data containing self-intersecting polygons, overlapping polygons, polygons including a chain of holes, and/or polygons including complex intersections. A polygon Boolean operation and topology correction algorithm uses two variants of the Vatti algorithm along with a topology correction algorithm to address problematic areas within input data, such as the overlapping area shared between one or more polygons or a polygon having no area at all. Upon performing a variant of the Vatti algorithm to identify hot pixels within an arrangement of polygons, the polygon Boolean operation and topology correction algorithm runs a second variant of the Vatti algorithm to generate polygons within an integer coordinate system using snap-rounding. Snap-rounded polygons are then analyzed by a topology correction algorithm that ensures the proper winding order is followed to render valid polygons for display in an electronic map.
Public/Granted literature
- US20180357797A1 Generating Valid Polygon Data Based on Input Data with Errors Public/Granted day:2018-12-13
Information query