Skip to content

Commit 0989cf1

Browse files
PieterCKfelixxm
authored andcommitted
Fixed #34759 -- Confirmed support for SpatiaLite 5.1.
Thanks The Epic Dev for helping with tests.
1 parent f9cdecf commit 0989cf1

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

docs/ref/contrib/gis/install/geolibs.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Program Description Required
1313
:doc:`GDAL <../gdal>` Geospatial Data Abstraction Library Yes 3.7, 3.6, 3.5, 3.4, 3.3, 3.2, 3.1, 3.0, 2.4
1414
:doc:`GeoIP <../geoip2>` IP-based geolocation library No 2
1515
`PostGIS`__ Spatial extensions for PostgreSQL Yes (PostgreSQL only) 3.4, 3.3, 3.2, 3.1, 3.0
16-
`SpatiaLite`__ Spatial extensions for SQLite Yes (SQLite only) 5.0, 4.3
16+
`SpatiaLite`__ Spatial extensions for SQLite Yes (SQLite only) 5.1, 5.0, 4.3
1717
======================== ==================================== ================================ ===========================================
1818

1919
Note that older or more recent versions of these libraries *may* also work
@@ -48,6 +48,7 @@ totally fine with GeoDjango. Your mileage may vary.
4848
PROJ 5.0.0 2018-03-01
4949
SpatiaLite 4.3.0 2015-09-07
5050
SpatiaLite 5.0.0 2020-08-23
51+
SpatiaLite 5.1.0 2023-08-04
5152

5253
.. note::
5354

tests/gis_tests/geoapp/test_functions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ def test_asgml(self):
141141
)
142142
else:
143143
gml_regex = re.compile(
144-
r'^<gml:Point srsName="EPSG:4326"><gml:coordinates>'
144+
r'^<gml:Point srsName="(urn:ogc:def:crs:)?EPSG:4326"><gml:coordinates>'
145145
r"-104\.60925\d+,38\.255001</gml:coordinates></gml:Point>"
146146
)
147147
self.assertTrue(gml_regex.match(ptown.gml))

0 commit comments

Comments
 (0)