go-spatial / geom

Geometry interfaces to help drive interoperability within the Go geospatial community
MIT License
168 stars 37 forks source link

Polygon cut is appearing as an additional polygon #89

Closed gdey closed 4 years ago

gdey commented 4 years ago

As you can see from this picture: (location of the issue: http://localhost:8080/?debug=true#6.62/23.78/-76.40)

image showing issue

The pointed out outline should be a cutout, and not solid. This indicates that the cutout is being treated as a seperate polygon

Provided are three wkt's of the region.

screen shot of the area the three wkt's cover

This is the full wkt geom_query.csv.txt

This is the area with in the extent st_makeenvelope(-8.77619383836914e+06,2.4949046028808597e+06,-8.13045382350586e+06,3.140644617744142e+06,3857)

geom_query_got.csv.txt

One that is focused in on the issue: geom_query_mini.csv.txt

gdey commented 4 years ago

Created a program to break down the process and generate intermediate representations. However, was not able to replicate the issue. Trying location 2/1/1 as it has the same issues.

gdey commented 4 years ago

The issue is not in makevalid but the mvt encoding step.