[postgis-tickets] [PostGIS] #4293: Polygon fill-extrusion issue in mapbox with ST_AsMVT created tiles

PostGIS trac at osgeo.org
Fri Jan 11 07:43:14 PST 2019


#4293: Polygon fill-extrusion issue in mapbox with ST_AsMVT created tiles
----------------------+---------------------------
  Reporter:  joedjc   |      Owner:  pramsey
      Type:  defect   |     Status:  new
  Priority:  medium   |  Milestone:  PostGIS 2.5.2
 Component:  postgis  |    Version:  2.4.x
Resolution:           |   Keywords:
----------------------+---------------------------

Comment (by joedjc):

 @ Algunenano -

 Here is an example using a datasource i've created:

 {{{
 SELECT (ST_AsMVT(q, '303', 4096, 'geom')) FROM
         (
                 SELECT
                 ST_AsMVTGeom(
 ST_MakeValid(ST_Transform(ST_GeomFromText('POLYGON((2.35044440995268
 48.8547079153776,2.34939134536916 48.8548089953983,2.34865467128913
 48.8544487872917,2.34849994773995 48.8531318335876,2.35117736888415
 48.8532126364981,2.35044440995268 48.8547079153776))',4326),3857)),
                 ST_GeomFromText('POLYGON((260497.392395924
 6250714.42504853,260497.392395924 6249491.43259597,261720.384848486
 6249491.43259597,261720.384848486 6250714.42504853,260497.392395924
 6250714.42504853))'),
                 4096,
                 256,
                 true
                 ) geom
         ) as q
 }}}

 The visualisation library is mapbox. I've attached a screenshot showing
 this exact layer/tile being rendered with fill-extrusion.

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