Skip to content

Commit

Permalink
Readd homogenize and expect empty output on collapsed polygon
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/postgis/trunk@15380 b70326c6-7e19-0410-871a-916f4a2858ee
  • Loading branch information
bjornharrtell committed Apr 30, 2017
1 parent d1cb828 commit 9837896
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion postgis/mvt.c
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ LWGEOM *mvt_geom(LWGEOM *lwgeom, GBOX *gbox, uint32_t extent, uint32_t buffer,
LWCOLLECTION *lwcoll = lwgeom_as_lwcollection(lwgeom_out);
lwgeom_out = lwcollection_as_lwgeom(
lwcollection_extract(lwcoll, max_type(lwcoll)));
//lwgeom_out = lwgeom_homogenize(lwgeom_out);
lwgeom_out = lwgeom_homogenize(lwgeom_out);
// TODO: might not be valid here... may want to union?
}

Expand Down
2 changes: 1 addition & 1 deletion regress/mvt_expected
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ PG1|POINT(1 4094)
PG2|POINT(0 4095)
PG3|POINT(2 4092)
PG4|MULTIPOLYGON(((5 4096,10 4096,10 4091,5 4096)),((0 4096,0 4101,5 4096,0 4096)))
PG5|POINT(0 4096)
PG5|
PG6|POLYGON((894 2704,2791 594,600 594,894 2704))
PG7|POLYGON((1252 1904,1251 1904,1252 1905,1253 1906,1253 1905,1252 1904))
PG8|MULTIPOLYGON(((5 4096,10 4096,10 4091,5 4096)),((0 4096,0 4101,5 4096,0 4096)))
Expand Down

0 comments on commit 9837896

Please sign in to comment.