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

PostGIS trac at osgeo.org
Fri Jan 11 03:34:45 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 - I am displaying Polygon features using an extrusion style in
 Mapbox (really 2.5d rather than full 3D). It would typically be used to
 extrude buildings but it uses standard Polygons (see mapbox example:
 https://www.mapbox.com/mapbox-gl-js/example/3d-buildings/)

 @ komzpa  - I am using PostGIS 2.4.4 ("POSTGIS="2.4.4 r16526" PGSQL="100"
 GEOS="3.5.1-CAPI-1.9.1 r4246" SFCGAL="1.3.0" PROJ="Rel. 4.9.3, 15 August
 2016" GDAL="GDAL 2.1.2, released 2016/10/24" LIBXML="2.9.4"
 LIBJSON="0.12.1" LIBPROTOBUF="1.2.1" TOPOLOGY RASTER").

 Here is the dataset for the Polygon used in the example:

 {{{
 POLYGON((55.1659679979817 24.9837262257836,55.1678036156365
 24.9841294406773,55.1681636731593 24.98353980785,55.1674536009453
 24.9826248241092,55.166349678866 24.9828068916502,55.1659679979817
 24.9837262257836))
 }}}

 GeoJSON:

 {"type":"Polygon","coordinates":[[[55.1659679979817,24.9837262257836],[55.1678036156365,24.9841294406773],[55.1681636731593,24.98353980785],[55.1674536009453,24.9826248241092],[55.166349678866,24.9828068916502],[55.1659679979817,24.9837262257836]]]}

 That Polygon isn't following the 'right hand rule', but I tried with one
 which does with the same results:

 {"type":"Polygon","coordinates":[[[55.1675895300076,24.9860683065305],[55.1657664584022,24.9855976928018],[55.1659753590738,24.9845247978325],[55.1681225482439,24.9849268449059],[55.1675895300076,24.9860683065305]]]}

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