-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How do we deal with organisations changing names? #85
Comments
The grid_alternatives table of proj.db has 3 columns:
The FileManager::open_resource_file() method has logic to query the database to be able to use indifferently proj_grid_name and old_proj_grid_name. Probably that a compromise would be to rename in PROJ-data the dk_sdfe directory to df_sdfi (and updating other references such as agency.json, README.data, CMakeLists.txt), while keeping the existing grid filenames unchanged. |
There's a bit of a back story to this issue. I am in the process of improving our documentation of all Danish and Greenlandic reference systems and transformations. This includes EPSG-updates. Part of this is also to give users a proper way to download our transformation models via our website (this isn't really possible today). With all of this up in the air I was thinking about giving the official filenames of the various models a revamp so they align with PROJ. That would of course also include updates to EPSG. So that the GVR2016 grid officially available from us would be With that in mind, would updating the grid names in EPSG make it possible us to rename the grids in PROJ-data? The reasoning being that a change in |
My reading of the code is that a new row with
In the proj-data-XXXX tarball, you mean ? That would be confusing to have both the old and new names (and it wouldn't help keeping it as small as possible). If you meant on the CDN, yes, there's no issue. The resynchronization from PROJ-data to the CDN is a append/update only operation: existing files on the CDN no longer in PROJ-data are kept. So older PROJ releases using the CDN will still work. |
Yeah, that's what I meant. Just thinking out loud what might work. It's definitely a downside to have duplicates. I'll have to test what happens if I add new rows to |
As luck would have it, the Danish geodetic authority (my employer) has changed its name from SDFE to SDFI. The question now is how to handle that? We've got a bunch of transformation resources in the
dk_sdfe
-folder which now all have the wrong prefix. Ideally I'd like to change all the prefixes fromdk_sdfe
todk_sdfi
but I am not sure how feasible that is. Can the names be aliased in the database so that references to e.g.dk_sdfe_dvr90.tif
er linked todk_sdfi_dvr90.tif
and vice versa? Or is it generally best to just leave it as is and use the new name when releasing new products?The text was updated successfully, but these errors were encountered: