Skip to content

Commit

Permalink
Fixed #34759 -- Confirmed support for SpatiaLite 5.1.
Browse files Browse the repository at this point in the history
Thanks The Epic Dev for helping with tests.
  • Loading branch information
PieterCK authored and felixxm committed Oct 4, 2023
1 parent f9cdecf commit 0989cf1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docs/ref/contrib/gis/install/geolibs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Program Description Required
: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
:doc:`GeoIP <../geoip2>` IP-based geolocation library No 2
`PostGIS`__ Spatial extensions for PostgreSQL Yes (PostgreSQL only) 3.4, 3.3, 3.2, 3.1, 3.0
`SpatiaLite`__ Spatial extensions for SQLite Yes (SQLite only) 5.0, 4.3
`SpatiaLite`__ Spatial extensions for SQLite Yes (SQLite only) 5.1, 5.0, 4.3
======================== ==================================== ================================ ===========================================

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

.. note::

Expand Down
2 changes: 1 addition & 1 deletion tests/gis_tests/geoapp/test_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def test_asgml(self):
)
else:
gml_regex = re.compile(
r'^<gml:Point srsName="EPSG:4326"><gml:coordinates>'
r'^<gml:Point srsName="(urn:ogc:def:crs:)?EPSG:4326"><gml:coordinates>'
r"-104\.60925\d+,38\.255001</gml:coordinates></gml:Point>"
)
self.assertTrue(gml_regex.match(ptown.gml))
Expand Down

0 comments on commit 0989cf1

Please sign in to comment.