mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-16 00:05:45 -04:00
a layer is loaded which has no CRS This is the new default behavior. It effectively defers the choice of CRS from layer loading time to a later time which is convenient for users. E.g. it no longer asks for CRS choice 100x when loading 100 files into QGIS at once. (Effectively an application crash/hang... no one will sit through these 100 dialogs!) The new behavior means there's no prompt (by default!) when loading these layers, and instead the layers will be shown in the layer tree with an "unknown CRS" indicator icon. They'll also be un-referenced, with coordinates from the layer treated as purely numerically, non-earth values. I.e. the same behavior as all layers get when a project is set to have no CRS. The user can then resolve these in their own time, and by using convenient shortcuts like highlighting multiple layers at once and then setting the CRS for all these in a single action. Fixes #19762, #27634, #24815 (and probably others)
Updating the srs.db ------------------- The srs.db can be updated from the EPSG codes in the GDAL installation: 1) Install latest GDAL, be sure to configure with --with-python. 2) Set PATH and PYTHONDIR if installed GDAL in non-standard location. 3) Run 'scripts/qgis_srs.sh > new_srs.sql'. It may take a minute or two. 4) Run 'sqlite3 new_srs.db < new_srs.sql'.' 4) Run 'sqlite3 new_srs.db <postprocess_srs.sql' You can use sqlite3 to dump the contents from both srs.db and new_srs.db before you decide to commit. Magnus Homann 2009-08-19