I figured it out. The files_removed.geojson file at https://github.com/OSGeo/PROJ-data/blob/master/files_removed.geojson lacked a "version_removed" property, which caused the final files.geojson file used by projsync to also lack it. And without the information of the version where a file has been removed, projsync is conservative and tries to download it since it doesn't know if it might be useful or not.

I've fixed it in https://github.com/OSGeo/PROJ-data/commit/5e84d7936226f70442f1360077ffafbf1dea2f9a , also adding consistency checks so we properly fill metadata when removing a file

But the bottom line is that we can't just remove a file from the CDN without breaking projsync of older PROJ versions. We might remove it one day when we are reasonably confident that nobody longer used a PROJ version that uses a PROJ.data that is lower than the version where the file was removed. But that's more a 5+ years horizon to be on the safe side

Le 25/04/2024 à 21:15, Even Rouault via PROJ a écrit :

I thought I was going to regret it: it broke "projsync --all", at least in the context of build GDAL master docker images (it shouldn't in theory, but in practice it does, and I don't have time to investigate that at the moment).  So I've re-uploaded the file to the CDN to the version it was at https://github.com/OSGeo/PROJ-data/blob/0531fe9dbc818beb156df75eb5b3a8cac0278ef0/nl_nsgi/nl_nsgi_naptrans2018.tif

Le 25/04/2024 à 17:14, Even Rouault via PROJ a écrit :

I've just removed it from the CDN

Le 23/04/2024 à 14:37, Even Rouault via PROJ a écrit :

We use to keep old grids on the CDN even when they are removed in a later version of PROJ-data. That way people things will still work for people that use an older PROJ version

Are we completely sure that nobody no longer use nl_nsgi_naptrans2018.tif ?

Le 23/04/2024 à 13:18, Lesparre, Jochem via PROJ a écrit :

I noticed that CDN still contains the from VDatum (gtx) to GeoTIFF (tif) converted geoid grid https://cdn.proj.org/nl_nsgi_naptrans2018.tif for the Netherlands, although it isn’t listed in https://cdn.proj.org/nl_nsgi_README.txt  I thought I removed that grid from PROJ when I corrected the metadata of the other GeoTIFF grids for the Netherlands, but apparently I missed something. It doesn’t make sense to distribute that grid as GeoTIFF, because it is only usable for PROJ versions that did not yet support GeoTIFF.

Can someone help to get the GeoTIFF version removed completely?

Jochem



Disclaimer:
De inhoud van deze e-mail is vertrouwelijk en uitsluitend bestemd voor de geadresseerde(n). Gebruik, openbaarmaking, vermenigvuldiging, verspreiding en/of verstrekking van deze informatie aan derden is niet toegestaan. Op al onze producten en diensten zijn onze algemene leveringsvoorwaarden van toepassing
[https://www.kadaster.nl/algemene-leveringsvoorwaarden].

Disclaimer:
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient, you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. Our general terms and conditions of delivery apply to all our products and services
[https://www.kadaster.com/general-terms-and-conditions].

_______________________________________________
PROJ mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/proj
--
http://www.spatialys.com
My software is free, but my time generally not.

_______________________________________________
PROJ mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/proj
--
http://www.spatialys.com
My software is free, but my time generally not.

_______________________________________________
PROJ mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/proj
--
http://www.spatialys.com
My software is free, but my time generally not.

_______________________________________________
PROJ mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/proj

--
http://www.spatialys.com
My software is free, but my time generally not.
_______________________________________________
PROJ mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/proj

Reply via email to