Opened 6 years ago
Closed 6 years ago
#4106 closed enhancement (fixed)
Improve MVT tests
Reported by: | Algunenano | Owned by: | Algunenano |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 2.4.5 |
Component: | postgis | Version: | 2.4.x |
Keywords: | Cc: |
Description
Currently regress/mvt.sql
tests are using the following format:
select 'PG4', ST_AsText(ST_Normalize(ST_AsMVTGeom( ST_GeomFromText('POLYGON ((0 0, 10 0, 10 5, 0 -5, 0 0))'), ST_MakeBox2D(ST_Point(0, 0), ST_Point(4096, 4096)), 4096, 0, false)));
Using ST_Normalize
here changes the output so it doesn't comply with the MVT spec and also hides any possible error in the polygon rings winding order, like the one solved in https://trac.osgeo.org/postgis/ticket/4079
Note:
See TracTickets
for help on using tickets.
In 16615: