From 381a713a37280a8fdd71011fe36cc7edd018e9fa Mon Sep 17 00:00:00 2001 From: Odilxon Date: Sun, 29 May 2022 19:05:14 +0500 Subject: [PATCH] Changing web srid to db srid --- flask_admin/contrib/geoa/fields.py | 1 + 1 file changed, 1 insertion(+) diff --git a/flask_admin/contrib/geoa/fields.py b/flask_admin/contrib/geoa/fields.py index 0e9a30371..e758405c6 100644 --- a/flask_admin/contrib/geoa/fields.py +++ b/flask_admin/contrib/geoa/fields.py @@ -22,6 +22,7 @@ def __init__(self, label=None, validators=None, geometry_type="GEOMETRY", if self.srid == -1: self.transform_srid = self.web_srid else: + self.web_srid = self.srid self.transform_srid = self.srid self.geometry_type = geometry_type.upper() self.session = session