Skip to content

Commit db2dcf2

Browse files
committed
fixes for views pk and json formatting in html
1 parent 247c739 commit db2dcf2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tifeatures/layer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def _geom(
134134
g = pg_funcs.cast(g, "geometry")
135135

136136
if geometry_column.srid == 4326:
137-
g = logic.Func("ST_Transform", g, 4326)
137+
g = logic.Func("ST_Transform", g, pg_funcs.cast(4326, "int"))
138138

139139
if bbox_only:
140140
g = logic.Func("ST_Envelope", g)

0 commit comments

Comments
 (0)