mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-11-03 00:14:12 -05:00 
			
		
		
		
	* Added a small README on the process on how to do the above * Change the CRS recognition when reading from projects, so it tries to match the proj4 string if valid. This is a must when the srs.db now is updated * Changed to read ellipsoid an projection acronyms from srs.db nistead of qgis.db (mostly) * Misc. clean up of comments and deletion of stale code. * Fixes #1534. git-svn-id: http://svn.osgeo.org/qgis/trunk@11447 c8812cc2-4d05-0410-92ff-de0c093fc19c
		
			
				
	
	
		
			16 lines
		
	
	
		
			543 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			543 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
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 |