[PostGIS] #5654: Missing line segment with self-intersection and MVT

PostGIS trac at osgeo.org
Thu Jan 25 12:32:48 PST 2024


#5654: Missing line segment with self-intersection and MVT
-----------------------+------------------------------------
  Reporter:  mhkeller  |      Owner:  pramsey
      Type:  defect    |     Status:  new
  Priority:  medium    |  Milestone:  PostGIS 3.4.2
 Component:  postgis   |    Version:  3.4.x
Resolution:            |   Keywords:  mvt, self-intersection
-----------------------+------------------------------------
Comment (by pramsey):

 For example, I tried these tests and didn't repro.
 {{{
 CREATE TABLE path_line AS
 SELECT 'LINESTRING(-74.00257 40.74101, -73.98698 40.74101, -73.97476
 40.729633, -73.98698 40.74101)'::geometry(Linestring, 4326) AS geom;

 SELECT ST_AsText(ST_AsMVTGeom(ST_Transform(geom,3857),
 ST_TileEnvelope(17,38598,49267))) FROM path_line;
 SELECT ST_AsText(ST_AsMVTGeom(ST_Transform(geom,3857),
 ST_TileEnvelope(17,38597,49267))) FROM path_line;

 SELECT ST_AsText(ST_AsMVTGeom(ST_Transform(geom,3857),
 ST_TileEnvelope(16,19298,24633))) FROM path_line;
 SELECT ST_AsText(ST_AsMVTGeom(ST_Transform(geom,3857),
 ST_TileEnvelope(16,19299,24633))) FROM path_line;
 }}}
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5654#comment:2>
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