Skip to content

Update contrib.gis for Django 5.1 #2587

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 3 commits into from
Apr 26, 2025
Merged

Update contrib.gis for Django 5.1 #2587

merged 3 commits into from
Apr 26, 2025

Conversation

adamchainz
Copy link
Contributor

I have made things!

From django/django@08306ba:

  • In django.contrib.gis.gdal.prototypes.raster, these were removed:

    • register_all
    • get_driver
    • get_driver_by_name
    • get_driver_count
    • get_driver_description
  • In django.contrib.gis.gdal.prototypes.ds, these were added:

    • GDAL_OF_READONLY
    • GDAL_OF_UPDATE
    • GDAL_OF_ALL
    • GDAL_OF_RASTER
    • GDAL_OF_VECTOR
    • get_driver_description
    • get_dataset_driver
  • In django.contrib.gis.gdal.prototypes.ds, these were removed:

    • get_driver_name
    • release_ds

From django/django@3f6d939:

  • In django.contrib.gis.gdal.geometries, these were added:
    • LineString.m
    • Point.m
  • In django.contrib.gis.gdal.prototypes.geom, these were added:
    • getm
    • is_measured
    • set_measured
    • to_iso_wkb
    • to_iso_wkt

From django/django@cfacd69:

  • In django.contrib.gis.gdal.prototypes.geom, these were added:
    • is_3d
    • set_3d

Related issues

n/a

From django/django@08306ba:

* In `django.contrib.gis.gdal.prototypes.raster`, these were removed:
  * `register_all`
  * `get_driver`
  * `get_driver_by_name`
  * `get_driver_count`
  * `get_driver_description`

* In `django.contrib.gis.gdal.prototypes.ds`, these were added:
  * `GDAL_OF_READONLY`
  * `GDAL_OF_UPDATE`
  * `GDAL_OF_ALL`
  * `GDAL_OF_RASTER`
  * `GDAL_OF_VECTOR`
  * `get_driver_description`
  * `get_dataset_driver`

* In `django.contrib.gis.gdal.prototypes.ds`, these were removed:
  * `get_driver_name`
  * `release_ds`

From django/django@3f6d939:

* In `django.contrib.gis.gdal.geometries`, these were added:
  - `LineString.m`
  - `Point.m`
* In `django.contrib.gis.gdal.prototypes.geom`, these were added:
  - `getm`
  - `is_measured`
  - `set_measured`
  - `to_iso_wkb`
  - `to_iso_wkt`

From django/django@cfacd69:

* In `django.contrib.gis.gdal.prototypes.geom`, these were added:
  - `is_3d`
  - `set_3d`
@adamchainz adamchainz requested a review from sobolevn March 26, 2025 22:09
Copy link
Member

@sobolevn sobolevn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! One question.

@sobolevn
Copy link
Member

@adamchainz can you please resolve conflicts on this PR? :)

@sobolevn sobolevn merged commit f630535 into master Apr 26, 2025
36 checks passed
@sobolevn sobolevn deleted the django_5.1_gis branch April 26, 2025 10:26
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants