xplan-tools 1.14.0__py3-none-any.whl → 1.14.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- xplan_tools/model/orm.py +2 -1
- {xplan_tools-1.14.0.dist-info → xplan_tools-1.14.1.dist-info}/METADATA +1 -1
- {xplan_tools-1.14.0.dist-info → xplan_tools-1.14.1.dist-info}/RECORD +6 -6
- {xplan_tools-1.14.0.dist-info → xplan_tools-1.14.1.dist-info}/WHEEL +0 -0
- {xplan_tools-1.14.0.dist-info → xplan_tools-1.14.1.dist-info}/entry_points.txt +0 -0
- {xplan_tools-1.14.0.dist-info → xplan_tools-1.14.1.dist-info}/licenses/LICENSE.md +0 -0
xplan_tools/model/orm.py
CHANGED
|
@@ -20,6 +20,7 @@ from sqlalchemy import (
|
|
|
20
20
|
Text,
|
|
21
21
|
Uuid,
|
|
22
22
|
case,
|
|
23
|
+
cast,
|
|
23
24
|
literal,
|
|
24
25
|
select,
|
|
25
26
|
)
|
|
@@ -104,7 +105,7 @@ class PGGeometry(TypeDecorator):
|
|
|
104
105
|
def bind_expression(self, bindvalue):
|
|
105
106
|
"""Transform incoming geometries to the SRID of the DB and force CCW orientation for polygons."""
|
|
106
107
|
return func.ST_Transform(
|
|
107
|
-
bindvalue,
|
|
108
|
+
cast(bindvalue, Geometry),
|
|
108
109
|
func.Find_SRID(
|
|
109
110
|
get_settings().db_schema or "public", "coretable", "geometry"
|
|
110
111
|
),
|
|
@@ -26,7 +26,7 @@ xplan_tools/model/migrations/env.py,sha256=dJw3GH3_pJn2LuiflD1wwJi7Dq-9avm56xdRc
|
|
|
26
26
|
xplan_tools/model/migrations/script.py.mako,sha256=04kgeBtNMa4cCnG8CfQcKt6P6rnloIfj8wy0u_DBydM,704
|
|
27
27
|
xplan_tools/model/migrations/versions/3c3445a58565_base_schema.py,sha256=nsgcqTDFkcejdT4YqRfyQeDbWAHMqZJKVyZnUm5BY9A,7857
|
|
28
28
|
xplan_tools/model/migrations/versions/f8b74c08ec07_add_refs_indexes_ensure_polygon_ccw.py,sha256=7qE9tkGeOKD1zxTiNxkiZNmF_1CNwylAblQC3c8aWzU,1239
|
|
29
|
-
xplan_tools/model/orm.py,sha256=
|
|
29
|
+
xplan_tools/model/orm.py,sha256=Dw0u6uZrNdSaOLJpVAPcbNuk8HY3Bjp4FZUkKloFblA,11747
|
|
30
30
|
xplan_tools/resources/styles.py,sha256=h0ezUqZrsXMQz2bTcF0nIyoI-IxMItstHx1j1xYGi3c,45010
|
|
31
31
|
xplan_tools/settings/__init__.py,sha256=yQdL0KFclWVUBE0ZMUTkktKMa9D78RDcPrHkK23Z9m8,89
|
|
32
32
|
xplan_tools/settings/settings.py,sha256=bABcqw7--TU-khpE9l-2XkavlQ-xuVZwmBmJiD0yRVw,462
|
|
@@ -42,8 +42,8 @@ xplan_tools/transform/transformer.py,sha256=2O4Aq_eTo9e2JOUwq9tJnfv6dwOxqNDdTGPt
|
|
|
42
42
|
xplan_tools/util/__init__.py,sha256=OqOorl5s8BZANbLeFE9wWlozvA64RINn9wigMkds2u8,11704
|
|
43
43
|
xplan_tools/util/style.py,sha256=xFAK-QH2XEEUo7AxXWx35s7hJtmrr1XaRHiqPH3YEMM,7959
|
|
44
44
|
xplan_tools/util/validate.py,sha256=3inTRLHrVonfQ9FDjtvSNKlAGem5DKtEvLqW7NxwWQs,3327
|
|
45
|
-
xplan_tools-1.14.
|
|
46
|
-
xplan_tools-1.14.
|
|
47
|
-
xplan_tools-1.14.
|
|
48
|
-
xplan_tools-1.14.
|
|
49
|
-
xplan_tools-1.14.
|
|
45
|
+
xplan_tools-1.14.1.dist-info/METADATA,sha256=MjsVms4vf20kL4ovMeOIT6o9M4rZBF1fqQWbZVMM91w,4824
|
|
46
|
+
xplan_tools-1.14.1.dist-info/WHEEL,sha256=kJCRJT_g0adfAJzTx2GUMmS80rTJIVHRCfG0DQgLq3o,88
|
|
47
|
+
xplan_tools-1.14.1.dist-info/entry_points.txt,sha256=NV98QKVV3vDuWnJtWsKZvcpEH2N7SF1yHXvVMet23Ps,52
|
|
48
|
+
xplan_tools-1.14.1.dist-info/licenses/LICENSE.md,sha256=b8nnCcy_4Nd_v_okJ6mDKCvi64jkexzbSfIag7TR5mU,13827
|
|
49
|
+
xplan_tools-1.14.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|