[postgis-tickets] [PostGIS] #4134: MVT test failure in trunk

PostGIS trac at osgeo.org
Thu Jul 26 00:22:02 PDT 2018


#4134: MVT test failure in trunk
----------------------+---------------------------
  Reporter:  dbaston  |      Owner:  Algunenano
      Type:  defect   |     Status:  new
  Priority:  blocker  |  Milestone:  PostGIS 2.5.0
 Component:  postgis  |    Version:  trunk
Resolution:           |   Keywords:
----------------------+---------------------------
Changes (by Algunenano):

 * owner:  pramsey => Algunenano
 * status:  assigned => new


Comment:

 I'll add that ST_AsMVTGeom was ok with invalid geometries, either as input
 or after some of its internal transformations. Part of that was
 `lwgeom_clip_by_rect` being ok with them too. And, at least for 2.5, we
 want to keep this behaviour. I'll do some performance tests of the
 possible solutions.


 > This should make MVT clipping work as it did in 2.4. I verified that it
 works locally but it requires rewriting the MVT tests to use ST_Equals
 instead of text comparison.

 I'm avoiding St_Equals as it ignores directionality, which is mandatory in
 the MVT spec 2.1, and we have already been bitten by it (the tests used to
 ignore it, so introducing bugs was pretty easy).

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4134#comment:1>
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