Skip to content
Permalink
Browse files

Remove old manual crs db overrides

  • Loading branch information
nyalldawson committed Apr 30, 2019
1 parent e9a80d6 commit 8c132299c3f53399e78ec4e5e77b36766342d7a6
Showing with 0 additions and 6 deletions.
  1. +0 −6 src/core/qgscoordinatereferencesystem.cpp
@@ -2062,12 +2062,6 @@ int QgsCoordinateReferenceSystem::syncDatabase()
return -1;
}

// fix up database, if not done already //
if ( sqlite3_exec( database.get(), "alter table tbl_srs add noupdate boolean", nullptr, nullptr, nullptr ) == SQLITE_OK )
( void )sqlite3_exec( database.get(), "update tbl_srs set noupdate=(auth_name='EPSG' and auth_id in (5513,5514,5221,2065,102067,4156,4818))", nullptr, nullptr, nullptr );

( void )sqlite3_exec( database.get(), "UPDATE tbl_srs SET srid=141001 WHERE srid=41001 AND auth_name='OSGEO' AND auth_id='41001'", nullptr, nullptr, nullptr );

OGRSpatialReferenceH crs = nullptr;
sqlite3_statement_unique_ptr statement;
int result;

0 comments on commit 8c13229

Please sign in to comment.
You can’t perform that action at this time.