From 5f86cfb1599676c2c9dcdbd2a828afc427551854 Mon Sep 17 00:00:00 2001 From: floriandeboissieu Date: Tue, 14 Oct 2025 23:56:38 +0200 Subject: [PATCH] Add projection v1.2.0 to the list schema URIs in projection.py The migration of projection to latest version systematically pops the field epsg. If extension URI is pointing to versions 1.0.0 or 1.1.0, it is also changed to point to version 2.0.0. However, if schema URI is v1.2.0 the extension schema URI is not changed. I propose to change it as well in that case so that the change is explicit for all versions < 2.0.0. That would help finding out that a change occurred. --- pystac/extensions/projection.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pystac/extensions/projection.py b/pystac/extensions/projection.py index 4adf3dae2..05cf2196a 100644 --- a/pystac/extensions/projection.py +++ b/pystac/extensions/projection.py @@ -30,6 +30,7 @@ SCHEMA_URIS: list[str] = [ "https://stac-extensions.github.io/projection/v1.0.0/schema.json", "https://stac-extensions.github.io/projection/v1.1.0/schema.json", + "https://stac-extensions.github.io/projection/v1.2.0/schema.json", SCHEMA_URI, ] PREFIX: str = "proj:"