[postgis-tickets] [PostGIS] #4181: St_AsMVTGeom: Avoid type change due to validation

PostGIS trac at osgeo.org
Tue Oct 2 07:20:32 PDT 2018


#4181: St_AsMVTGeom: Avoid type change due to validation
-------------------------+---------------------------
  Reporter:  Algunenano  |      Owner:  Algunenano
      Type:  defect      |     Status:  reopened
  Priority:  medium      |  Milestone:  PostGIS 2.4.6
 Component:  postgis     |    Version:  2.4.x
Resolution:              |   Keywords:
-------------------------+---------------------------
Changes (by Algunenano):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 Still happening in some cases:
 {{{
 SELECT 'PG46', St_AsEWKT(ST_AsMVTGeom(
 'SRID=3857;MULTIPOLYGON(((-8230324.85567616
 4984496.35685962,-8230307.1114228 4984654.46474466,-8230285.21085987
 4984959.60349704,-8230324.85567616 4984496.35685962)),((-8230327.54013683
 4984444.33052449,-8230327.23971431 4984450.39401942,-8230327.26833036
 4984449.87731981,-8230327.54013683 4984444.33052449)))'::geometry,
 'SRID=3857;POLYGON((-8238077.16046316 4989809.20645631,-8238077.16046316
 4980025.2668358,-8228293.22084265 4980025.2668358,-8228293.22084265
 4989809.20645631,-8238077.16046316 4989809.20645631))'::geometry,
 4096,
 16,
 true));
  ?column? |                               st_asewkt
 ----------+------------------------------------------------------------------------
  PG46     | SRID=3857;MULTILINESTRING((3244 2244,3244 2246),(3244
 2243,3244 2244))
 }}}

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