[postgis-tickets] [PostGIS] #4106: Improve MVT tests

PostGIS trac at osgeo.org
Wed Jun 13 07:11:25 PDT 2018


#4106: Improve MVT tests
-------------------------+---------------------------
 Reporter:  Algunenano   |      Owner:  Algunenano
     Type:  enhancement  |     Status:  assigned
 Priority:  medium       |  Milestone:  PostGIS 2.4.5
Component:  postgis      |    Version:  2.4.x
 Keywords:               |
-------------------------+---------------------------
 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

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4106>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list