Skip to content

Commit

Permalink
feat: add support for complex geometries (#218) (h/t @christianversloot)
Browse files Browse the repository at this point in the history
  • Loading branch information
christianversloot committed Oct 7, 2021
1 parent 1a25129 commit 8b5fbf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/get_geom.sql
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SELECT
ST_AsMVTGeom (ST_Transform ({geometry_column}, 3857), {mercator_bounds}, {extent}, {buffer}, {clip_geom}) AS geom {properties} FROM {id}, bounds
ST_AsMVTGeom (ST_Transform (ST_CurveToLine({geometry_column}), 3857), {mercator_bounds}, {extent}, {buffer}, {clip_geom}) AS geom {properties} FROM {id}, bounds
WHERE
{geometry_column} && bounds.srid_{srid}

0 comments on commit 8b5fbf9

Please sign in to comment.