[Django] #32353: Add support for PROJ 7.X.

1 view
Skip to first unread message

Django

unread,
Jan 14, 2021, 2:24:23 AM1/14/21
to django-...@googlegroups.com
#32353: Add support for PROJ 7.X.
--------------------------------------------+------------------------
Reporter: Mariusz Felisiak | Owner: nobody
Type: New feature | Status: new
Component: GIS | Version: 3.1
Severity: Normal | Keywords:
Triage Stage: Accepted | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
--------------------------------------------+------------------------
See [https://proj.org/news.html#id168 release notes].

#32352 reported some issues with PROJ 7+.

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

Django

unread,
Mar 13, 2021, 5:01:32 AM3/13/21
to django-...@googlegroups.com
#32353: Add support for PROJ 7.X.
----------------------------------+------------------------------------

Reporter: Mariusz Felisiak | Owner: nobody
Type: New feature | Status: new
Component: GIS | Version: 3.1
Severity: Normal | Resolution:

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

Comment (by David Smith):

Proj 8 has also been released see
[https://github.com/OSGeo/PROJ/releases/tag/8.0.0 release notes]. Mariusz
should this be a separate ticket or can this one cover adding support for
both versions 7 and 8?

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

Django

unread,
Mar 13, 2021, 7:24:27 AM3/13/21
to django-...@googlegroups.com
#32353: Add support for PROJ 7.X.
----------------------------------+------------------------------------

Reporter: Mariusz Felisiak | Owner: nobody
Type: New feature | Status: new
Component: GIS | Version: 3.1
Severity: Normal | Resolution:

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

Comment (by Mariusz Felisiak):

This is a separate series so I would prefer a separate ticket (which
depends on this one).

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

Django

unread,
Mar 14, 2021, 1:02:14 PM3/14/21
to django-...@googlegroups.com
#32353: Add support for PROJ 7.X.
-------------------------------------+-------------------------------------
Reporter: Mariusz Felisiak | Owner: Mariusz
| Felisiak
Type: New feature | Status: assigned
Component: GIS | Version: 3.1
Severity: Normal | Resolution:

Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

* owner: nobody => Mariusz Felisiak
* status: new => assigned


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

Django

unread,
Mar 14, 2021, 3:37:23 PM3/14/21
to django-...@googlegroups.com
#32353: Add support for PROJ 7.X.
-------------------------------------+-------------------------------------
Reporter: Mariusz Felisiak | Owner: Mariusz
| Felisiak
Type: New feature | Status: assigned
Component: GIS | Version: 3.1
Severity: Normal | Resolution:

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

Comment (by Mariusz Felisiak):

Everything works with PROJ 7.2.1 (GDAL 3.0.4 and GEOS 3.8.0), so I'm going
to prepare the docs update. #32352 is not really an issue in Django
itself.

Jani, does it work for you?

--
Ticket URL: <https://code.djangoproject.com/ticket/32353#comment:4>

Django

unread,
Mar 16, 2021, 7:22:40 AM3/16/21
to django-...@googlegroups.com
#32353: Add support for PROJ 7.X.
-------------------------------------+-------------------------------------
Reporter: Mariusz Felisiak | Owner: Mariusz
| Felisiak
Type: New feature | Status: assigned
Component: GIS | Version: 3.1
Severity: Normal | Resolution:

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

Comment (by Mariusz Felisiak):

> Jani, does it work for you?

Confirmed on IRC:
{{{
[09:28] <jtiai> felixx: Hi. If tests do pass with proj4 versions it's good
then.
[09:31] <felixx> jtiai: yes all tests work with PROJ 7
[09:32] <felixx> and GEOS 3.8 and GDAL 3
[10:18] <jtiai> Then it must be ok.
}}}

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

Django

unread,
Mar 16, 2021, 8:06:32 AM3/16/21
to django-...@googlegroups.com
#32353: Add support for PROJ 7.X.
-------------------------------------+-------------------------------------
Reporter: Mariusz Felisiak | Owner: Mariusz
| Felisiak
Type: New feature | Status: assigned
Component: GIS | Version: 3.1
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

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

* has_patch: 0 => 1


Comment:

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

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

Django

unread,
Mar 16, 2021, 3:22:54 PM3/16/21
to django-...@googlegroups.com
#32353: Add support for PROJ 7.X.
-------------------------------------+-------------------------------------
Reporter: Mariusz Felisiak | Owner: Mariusz
| Felisiak
Type: New feature | Status: closed
Component: GIS | Version: 3.1
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by GitHub <noreply@…>):

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


Comment:

In [changeset:"065832eaec167a45008aa125887ce1215a1f257d" 065832ea]:
{{{
#!CommitTicketReference repository=""
revision="065832eaec167a45008aa125887ce1215a1f257d"
Fixed #32353 -- Confirmed support for PROJ 7.X.
}}}

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

Django

unread,
Mar 16, 2021, 3:24:11 PM3/16/21
to django-...@googlegroups.com
#32353: Add support for PROJ 7.X.
-------------------------------------+-------------------------------------
Reporter: Mariusz Felisiak | Owner: Mariusz
| Felisiak
Type: New feature | Status: closed
Component: GIS | Version: 3.1
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

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

Comment (by Mariusz Felisiak <felisiak.mariusz@…>):

In [changeset:"4aba70900ccdc71544d150f65e432056564d01c7" 4aba7090]:
{{{
#!CommitTicketReference repository=""
revision="4aba70900ccdc71544d150f65e432056564d01c7"
[3.2.x] Fixed #32353 -- Confirmed support for PROJ 7.X.

Backport of 065832eaec167a45008aa125887ce1215a1f257d from main
}}}

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

Django

unread,
Mar 23, 2021, 4:16:50 AM3/23/21
to django-...@googlegroups.com
#32353: Add support for PROJ 7.X.
-------------------------------------+-------------------------------------
Reporter: Mariusz Felisiak | Owner: Mariusz
| Felisiak
Type: New feature | Status: closed
Component: GIS | Version: 3.1
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
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:"2cd40263348a9c345a58c44d48922ac3b370a119" 2cd40263]:
{{{
#!CommitTicketReference repository=""
revision="2cd40263348a9c345a58c44d48922ac3b370a119"
Refs #32353, Refs #32352 -- Fixed GIS tests with PROJ 7.X.

Different PROJ versions use different transformations, all are correct
as having a 1 meter accuracy.

These are differences in PROJ versions that cannot and should not be
handled in Django itself.

Thanks Jani Tiainen and David Smith for reports.

See: https://github.com/OSGeo/gdal/issues/3377
}}}

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

Django

unread,
Mar 23, 2021, 4:18:36 AM3/23/21
to django-...@googlegroups.com
#32353: Add support for PROJ 7.X.
-------------------------------------+-------------------------------------
Reporter: Mariusz Felisiak | Owner: Mariusz
| Felisiak
Type: New feature | Status: closed
Component: GIS | Version: 3.1
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

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

Comment (by Mariusz Felisiak <felisiak.mariusz@…>):

In [changeset:"e2e371593ff6b8c9446633a233c73a57d4253aa3" e2e37159]:
{{{
#!CommitTicketReference repository=""
revision="e2e371593ff6b8c9446633a233c73a57d4253aa3"
[3.2.x] Refs #32353, Refs #32352 -- Fixed GIS tests with PROJ 7.X.

Different PROJ versions use different transformations, all are correct
as having a 1 meter accuracy.

These are differences in PROJ versions that cannot and should not be
handled in Django itself.

Thanks Jani Tiainen and David Smith for reports.

See: https://github.com/OSGeo/gdal/issues/3377
Backport of 2cd40263348a9c345a58c44d48922ac3b370a119 from main
}}}

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

Reply all
Reply to author
Forward
0 new messages