[Django] #30678: Add support for GDAL 2.4 and GDAL 3.0

18 views
Skip to first unread message

Django

unread,
Aug 5, 2019, 4:17:10 AM8/5/19
to django-...@googlegroups.com
#30678: Add support for GDAL 2.4 and GDAL 3.0
---------------------------------------+---------------------------
Reporter: Yury Ryabov | Owner: nobody
Type: New feature | Status: new
Component: GIS | Version: 2.2
Severity: Normal | Keywords: GDAL, GIS
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
---------------------------------------+---------------------------
Neither of this versions works correctly with Django 2.2 as
[https://code.djangoproject.com/ticket/30645#comment:4/ reported here]. It
causes a lot of inconvenience on systems with openSUSE as modern versions
are shipped with GDAL 2.4 or higher.

Please add support for the newer versions of GDAL.

--
Ticket URL: <https://code.djangoproject.com/ticket/30678>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Aug 5, 2019, 4:17:54 AM8/5/19
to django-...@googlegroups.com
#30678: Add support for GDAL 2.4 and GDAL 3.0
-----------------------------+--------------------------------------

Reporter: Yury Ryabov | Owner: nobody
Type: New feature | Status: new
Component: GIS | Version: 2.2
Severity: Normal | Resolution:

Keywords: GDAL, GIS | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------+--------------------------------------
Description changed by Yury Ryabov:

Old description:

> Neither of this versions works correctly with Django 2.2 as
> [https://code.djangoproject.com/ticket/30645#comment:4/ reported here].
> It causes a lot of inconvenience on systems with openSUSE as modern
> versions are shipped with GDAL 2.4 or higher.
>
> Please add support for the newer versions of GDAL.

New description:

Neither of these versions works correctly with Django 2.2 as


[https://code.djangoproject.com/ticket/30645#comment:4/ reported here]. It
causes a lot of inconvenience on systems with openSUSE as modern versions
are shipped with GDAL 2.4 or higher.

Please add support for the newer versions of GDAL.

--

--
Ticket URL: <https://code.djangoproject.com/ticket/30678#comment:1>

Django

unread,
Aug 5, 2019, 4:48:43 AM8/5/19
to django-...@googlegroups.com
#30678: Confirm support for GDAL 3.0.
--------------------------------------+------------------------------------

Reporter: Yury Ryabov | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: GIS | Version: master
Severity: Normal | Resolution:
Keywords: GDAL, GIS | Triage Stage: Accepted

Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by felixxm):

* version: 2.2 => master
* type: New feature => Cleanup/optimization
* stage: Unreviewed => Accepted


Comment:

Support for GDAL 2.4 was confirmed in
b2333426deb1ae9529bed79c1412a9a8046da951 and it didn't require any changes
in Django (see related [https://github.com/django/django/pull/10962 PR]).

Agreed, we should confirm support for GDAL 3.0+.

--
Ticket URL: <https://code.djangoproject.com/ticket/30678#comment:2>

Django

unread,
Oct 28, 2019, 11:03:32 AM10/28/19
to django-...@googlegroups.com
#30678: Confirm support for GDAL 3.0.
--------------------------------------+------------------------------------
Reporter: Yury Ryabov | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: GIS | Version: master
Severity: Normal | Resolution:
Keywords: GDAL, GIS | Triage Stage: Accepted

Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------

Comment (by Adam Starrh):

This still doesn't seem to be working for me. The latest version of Django
that I get from pip (2.2.6) does not contain `gdal204` in the `libgdal.py`
file as indicated in the above comment (which seems to link to code for
the Django 3 beta). Furthermore, if I add it manually,
[https://code.djangoproject.com/ticket/28237 which worked last time], it
still doesn't solve the issue. If I set `GDAL_LIBRARY_PATH` to the .dll
directly, I get: `OSError: [WinError 126] The specified module could not
be found.`

Is this working on other Windows systems with the latest version of
OSGeo4Win? As it stands, following the directions in the GeoDjango docs
isn't resulting in a successful installation for me.

--
Ticket URL: <https://code.djangoproject.com/ticket/30678#comment:3>

Django

unread,
May 5, 2020, 11:42:41 PM5/5/20
to django-...@googlegroups.com
#30678: Confirm support for GDAL 3.0.
--------------------------------------+------------------------------------
Reporter: Yury Ryabov | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: GIS | Version: master
Severity: Normal | Resolution:
Keywords: GDAL, GIS | Triage Stage: Accepted

Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by Simon Meers):

* cc: Simon Meers (added)


--
Ticket URL: <https://code.djangoproject.com/ticket/30678#comment:5>

Django

unread,
May 8, 2020, 5:40:22 AM5/8/20
to django-...@googlegroups.com
#30678: Confirm support for GDAL 3.0.
-------------------------------------+-------------------------------------
Reporter: Yury Ryabov | Owner: Claude
Type: | Paroz
Cleanup/optimization | Status: assigned

Component: GIS | Version: master
Severity: Normal | Resolution:
Keywords: GDAL, GIS | Triage Stage: Accepted

Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Claude Paroz):

* owner: nobody => Claude Paroz
* status: new => assigned


--
Ticket URL: <https://code.djangoproject.com/ticket/30678#comment:6>

Django

unread,
May 8, 2020, 9:34:44 AM5/8/20
to django-...@googlegroups.com
#30678: Confirm support for GDAL 3.0.
-------------------------------------+-------------------------------------
Reporter: Yury Ryabov | Owner: Claude
Type: | Paroz
Cleanup/optimization | Status: assigned
Component: GIS | Version: master
Severity: Normal | Resolution:
Keywords: GDAL, GIS | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Claude Paroz):

* has_patch: 0 => 1


Comment:

[https://github.com/django/django/pull/12878 PR]

--
Ticket URL: <https://code.djangoproject.com/ticket/30678#comment:7>

Django

unread,
May 12, 2020, 3:08:40 AM5/12/20
to django-...@googlegroups.com
#30678: Confirm support for GDAL 3.0.
-------------------------------------+-------------------------------------
Reporter: Yury Ryabov | Owner: Claude
Type: | Paroz
Cleanup/optimization | Status: assigned
Component: GIS | Version: master
Severity: Normal | Resolution:
Keywords: GDAL, GIS | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by felixxm):

* stage: Accepted => Ready for checkin


--
Ticket URL: <https://code.djangoproject.com/ticket/30678#comment:8>

Django

unread,
May 12, 2020, 4:35:25 AM5/12/20
to django-...@googlegroups.com
#30678: Confirm support for GDAL 3.0.
-------------------------------------+-------------------------------------
Reporter: Yury Ryabov | Owner: Claude
Type: | Paroz
Cleanup/optimization | Status: closed
Component: GIS | Version: master
Severity: Normal | Resolution: fixed

Keywords: GDAL, GIS | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak <felisiak.mariusz@…>):

* status: assigned => closed
* resolution: => fixed


Comment:

In [changeset:"58f1b07e49a98bb391c9e38b91f078ab2c302703" 58f1b07e]:
{{{
#!CommitTicketReference repository=""
revision="58f1b07e49a98bb391c9e38b91f078ab2c302703"
Fixed #30678 -- Added support for GDAL 3.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/30678#comment:9>

Django

unread,
May 12, 2020, 5:26:01 AM5/12/20
to django-...@googlegroups.com
#30678: Confirm support for GDAL 3.0.
-------------------------------------+-------------------------------------
Reporter: Yury Ryabov | Owner: Claude
Type: | Paroz
Cleanup/optimization | Status: closed
Component: GIS | Version: master
Severity: Normal | Resolution: fixed
Keywords: GDAL, GIS | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by GitHub <noreply@…>):

In [changeset:"91e287cce0561b647e7b7fb96dd415567512f279" 91e287cc]:
{{{
#!CommitTicketReference repository=""
revision="91e287cce0561b647e7b7fb96dd415567512f279"
Refs #30678 -- Added support for GDAL 3.1.

OSRSetAxisMappingStrategy() really returns void, so no errcheck is
needed. Previously set errcheck was raising positive false exceptions
on GDAL 3.1.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/30678#comment:10>

Reply all
Reply to author
Forward
0 new messages