Changes between Initial Version and Version 1 of Ticket #4293, comment 5


Ignore:
Timestamp:
Jan 11, 2019, 7:51:27 AM (6 years ago)
Author:
joedjc

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4293, comment 5

    initial v1  
    44
    55{{{
    6 SELECT (ST_AsMVT(q, '303', 4096, 'geom')) FROM
     6SELECT (ST_AsMVT(q, '303', 4096, 'geom')) as data FROM
    77        (
    88                SELECT
    99                ST_AsMVTGeom(
    1010                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)),
    11                 ST_GeomFromText('POLYGON((260497.392395924 6250714.42504853,260497.392395924 6249491.43259597,261720.384848486 6249491.43259597,261720.384848486 6250714.42504853,260497.392395924 6250714.42504853))'),
     11                ST_MakeBox2D(ST_Point(260497.392395924, 6250714.42504853), ST_Point(261720.384848486, 6249491.43259597)),
    1212                4096,
    1313                256,
     
    1717}}}
    1818
     19This is the result:
     20
     21
     22{{{
     23\032$\012\003303\022\030\030\003"\024\011\252<\316\030"\217\006s\245\004\232\003s\324\013\314\017[\017(\200 x\002
     24}}}
     25
     26
    1927The visualisation library is mapbox. I've attached a screenshot showing this exact layer/tile being rendered with fill-extrusion.
    2028