It is possible to get list/dictionary of "Recently used coordinate reference system" from QGIS by python?
Or get list of all "Coordinate reference systems of the world" also from QGIS by python.
coordinate systemepsgqgisqgis-plugins
It is possible to get list/dictionary of "Recently used coordinate reference system" from QGIS by python?
Or get list of all "Coordinate reference systems of the world" also from QGIS by python.
Best Answer
The recently used projections are stored in your user settings. Here is an example of the keys and some sample values:
For example, you could get the AuthIds like so:
All of the coordinate systems are stored in the srs.db file found in the resources directory of your QGIS install. You can use the Python sqlite3 module to query this database and get a list of all the coordinate systems: