Skip to content
Permalink
Browse files
Update internal srsdb and legacy mappings
  • Loading branch information
nyalldawson committed Jun 16, 2021
1 parent cf75f14 commit dfe98205894818de8bbe3c026b492c6bb23455e7
Showing with 241 additions and 2 deletions.
  1. BIN resources/srs6.db
  2. +2 −2 src/core/proj/qgscoordinatereferencesystem.cpp
  3. +239 −0 src/core/proj/qgscoordinatereferencesystem_legacy.h
BIN +66 KB (100%) resources/srs6.db
Binary file not shown.
@@ -2354,8 +2354,8 @@ int QgsCoordinateReferenceSystem::syncDatabase()

PROJ_STRING_LIST authorities = proj_get_authorities_from_database( pjContext );

int nextSrsId = 63321;
int nextSrId = 520003321;
int nextSrsId = 63560;
int nextSrId = 520003560;
for ( auto authIter = authorities; authIter && *authIter; ++authIter )
{
const QString authority( *authIter );
@@ -10102,4 +10102,243 @@ const QMap< QString, QString > sAuthIdToQgisSrsIdMap
{"IGNF:RGWF96", "63318,520003318"},
{"IGNF:RGWF96GDD", "63319,520003319"},
{"IGNF:RGWF96GEODD", "63320,520003320"},
{"EPSG:900913", "63321,520003321"},
{"EPSG:20905", "63322,520003322"},
{"EPSG:20906", "63323,520003323"},
{"EPSG:20907", "63324,520003324"},
{"EPSG:20908", "63325,520003325"},
{"EPSG:20909", "63326,520003326"},
{"EPSG:20910", "63327,520003327"},
{"EPSG:20911", "63328,520003328"},
{"EPSG:20912", "63329,520003329"},
{"EPSG:20913", "63330,520003330"},
{"EPSG:20914", "63331,520003331"},
{"EPSG:20915", "63332,520003332"},
{"EPSG:20916", "63333,520003333"},
{"EPSG:20917", "63334,520003334"},
{"EPSG:20918", "63335,520003335"},
{"EPSG:20919", "63336,520003336"},
{"EPSG:20920", "63337,520003337"},
{"EPSG:20921", "63338,520003338"},
{"EPSG:20922", "63339,520003339"},
{"EPSG:20923", "63340,520003340"},
{"EPSG:20924", "63341,520003341"},
{"EPSG:20925", "63342,520003342"},
{"EPSG:20926", "63343,520003343"},
{"EPSG:20927", "63344,520003344"},
{"EPSG:20928", "63345,520003345"},
{"EPSG:20929", "63346,520003346"},
{"EPSG:20930", "63347,520003347"},
{"EPSG:20931", "63348,520003348"},
{"EPSG:20932", "63349,520003349"},
{"EPSG:21004", "63350,520003350"},
{"EPSG:21005", "63351,520003351"},
{"EPSG:21006", "63352,520003352"},
{"EPSG:21007", "63353,520003353"},
{"EPSG:21008", "63354,520003354"},
{"EPSG:21009", "63355,520003355"},
{"EPSG:21010", "63356,520003356"},
{"EPSG:21011", "63357,520003357"},
{"EPSG:21012", "63358,520003358"},
{"EPSG:21013", "63359,520003359"},
{"EPSG:21014", "63360,520003360"},
{"EPSG:21015", "63361,520003361"},
{"EPSG:21016", "63362,520003362"},
{"EPSG:21017", "63363,520003363"},
{"EPSG:21018", "63364,520003364"},
{"EPSG:21019", "63365,520003365"},
{"EPSG:21020", "63366,520003366"},
{"EPSG:21021", "63367,520003367"},
{"EPSG:21022", "63368,520003368"},
{"EPSG:21023", "63369,520003369"},
{"EPSG:21024", "63370,520003370"},
{"EPSG:21025", "63371,520003371"},
{"EPSG:21026", "63372,520003372"},
{"EPSG:21027", "63373,520003373"},
{"EPSG:21028", "63374,520003374"},
{"EPSG:21029", "63375,520003375"},
{"EPSG:21030", "63376,520003376"},
{"EPSG:21031", "63377,520003377"},
{"EPSG:21032", "63378,520003378"},
{"EPSG:29874", "63379,520003379"},
{"EPSG:9286", "63380,520003380"},
{"EPSG:9289", "63381,520003381"},
{"EPSG:9290", "63382,520003382"},
{"EPSG:9292", "63383,520003383"},
{"EPSG:9293", "63384,520003384"},
{"EPSG:9294", "63385,520003385"},
{"EPSG:9295", "63386,520003386"},
{"EPSG:9296", "63387,520003387"},
{"EPSG:9297", "63388,520003388"},
{"EPSG:9299", "63389,520003389"},
{"EPSG:9300", "63390,520003390"},
{"EPSG:9306", "63391,520003391"},
{"EPSG:9307", "63392,520003392"},
{"EPSG:9308", "63393,520003393"},
{"EPSG:9309", "63394,520003394"},
{"EPSG:9311", "63395,520003395"},
{"EPSG:9354", "63396,520003396"},
{"EPSG:9356", "63397,520003397"},
{"EPSG:9357", "63398,520003398"},
{"EPSG:9358", "63399,520003399"},
{"EPSG:9359", "63400,520003400"},
{"EPSG:9360", "63401,520003401"},
{"EPSG:9364", "63402,520003402"},
{"EPSG:9367", "63403,520003403"},
{"EPSG:9368", "63404,520003404"},
{"EPSG:9372", "63405,520003405"},
{"EPSG:9373", "63406,520003406"},
{"EPSG:9374", "63407,520003407"},
{"EPSG:9377", "63408,520003408"},
{"EPSG:9378", "63409,520003409"},
{"EPSG:9379", "63410,520003410"},
{"EPSG:9380", "63411,520003411"},
{"EPSG:9384", "63412,520003412"},
{"EPSG:9387", "63413,520003413"},
{"EPSG:9388", "63414,520003414"},
{"EPSG:9391", "63415,520003415"},
{"EPSG:9403", "63416,520003416"},
{"EPSG:9404", "63417,520003417"},
{"EPSG:9405", "63418,520003418"},
{"EPSG:9406", "63419,520003419"},
{"EPSG:9407", "63420,520003420"},
{"EPSG:9422", "63421,520003421"},
{"EPSG:9423", "63422,520003422"},
{"EPSG:9424", "63423,520003423"},
{"EPSG:9425", "63424,520003424"},
{"EPSG:9426", "63425,520003425"},
{"EPSG:9427", "63426,520003426"},
{"EPSG:9428", "63427,520003427"},
{"EPSG:9429", "63428,520003428"},
{"EPSG:9430", "63429,520003429"},
{"EPSG:9449", "63430,520003430"},
{"EPSG:9450", "63431,520003431"},
{"EPSG:9452", "63432,520003432"},
{"EPSG:9453", "63433,520003433"},
{"EPSG:9456", "63434,520003434"},
{"EPSG:9457", "63435,520003435"},
{"EPSG:9462", "63436,520003436"},
{"EPSG:9463", "63437,520003437"},
{"EPSG:9464", "63438,520003438"},
{"EPSG:9468", "63439,520003439"},
{"EPSG:9469", "63440,520003440"},
{"EPSG:9470", "63441,520003441"},
{"EPSG:9473", "63442,520003442"},
{"EPSG:9474", "63443,520003443"},
{"EPSG:9475", "63444,520003444"},
{"EPSG:9476", "63445,520003445"},
{"EPSG:9477", "63446,520003446"},
{"EPSG:9478", "63447,520003447"},
{"EPSG:9479", "63448,520003448"},
{"EPSG:9480", "63449,520003449"},
{"EPSG:9481", "63450,520003450"},
{"EPSG:9482", "63451,520003451"},
{"EPSG:9487", "63452,520003452"},
{"EPSG:9488", "63453,520003453"},
{"EPSG:9489", "63454,520003454"},
{"EPSG:9490", "63455,520003455"},
{"EPSG:9491", "63456,520003456"},
{"EPSG:9492", "63457,520003457"},
{"EPSG:9493", "63458,520003458"},
{"EPSG:9494", "63459,520003459"},
{"EPSG:9498", "63460,520003460"},
{"EPSG:9500", "63461,520003461"},
{"EPSG:9501", "63462,520003462"},
{"EPSG:9502", "63463,520003463"},
{"EPSG:9503", "63464,520003464"},
{"EPSG:9504", "63465,520003465"},
{"EPSG:9505", "63466,520003466"},
{"EPSG:9506", "63467,520003467"},
{"EPSG:9507", "63468,520003468"},
{"EPSG:9508", "63469,520003469"},
{"EPSG:9509", "63470,520003470"},
{"EPSG:9510", "63471,520003471"},
{"EPSG:9511", "63472,520003472"},
{"EPSG:9512", "63473,520003473"},
{"EPSG:9513", "63474,520003474"},
{"EPSG:9514", "63475,520003475"},
{"EPSG:9515", "63476,520003476"},
{"EPSG:9516", "63477,520003477"},
{"EPSG:9517", "63478,520003478"},
{"EPSG:9518", "63479,520003479"},
{"EPSG:9519", "63480,520003480"},
{"EPSG:9520", "63481,520003481"},
{"EPSG:9521", "63482,520003482"},
{"EPSG:9522", "63483,520003483"},
{"EPSG:9523", "63484,520003484"},
{"EPSG:9524", "63485,520003485"},
{"EPSG:9525", "63486,520003486"},
{"EPSG:9526", "63487,520003487"},
{"EPSG:9527", "63488,520003488"},
{"EPSG:9528", "63489,520003489"},
{"EPSG:9529", "63490,520003490"},
{"EPSG:9530", "63491,520003491"},
{"EPSG:9531", "63492,520003492"},
{"EPSG:9532", "63493,520003493"},
{"EPSG:9533", "63494,520003494"},
{"EPSG:9534", "63495,520003495"},
{"EPSG:9535", "63496,520003496"},
{"EPSG:9536", "63497,520003497"},
{"EPSG:9537", "63498,520003498"},
{"EPSG:9538", "63499,520003499"},
{"EPSG:9539", "63500,520003500"},
{"EPSG:9540", "63501,520003501"},
{"EPSG:9541", "63502,520003502"},
{"EPSG:9542", "63503,520003503"},
{"EPSG:9543", "63504,520003504"},
{"EPSG:9544", "63505,520003505"},
{"EPSG:9545", "63506,520003506"},
{"EPSG:9546", "63507,520003507"},
{"EPSG:9547", "63508,520003508"},
{"EPSG:9656", "63509,520003509"},
{"EPSG:9657", "63510,520003510"},
{"EPSG:9674", "63511,520003511"},
{"EPSG:9678", "63512,520003512"},
{"EPSG:9680", "63513,520003513"},
{"EPSG:9694", "63514,520003514"},
{"EPSG:9695", "63515,520003515"},
{"EPSG:9696", "63516,520003516"},
{"EPSG:9697", "63517,520003517"},
{"EPSG:9698", "63518,520003518"},
{"EPSG:9699", "63519,520003519"},
{"EPSG:9700", "63520,520003520"},
{"EPSG:9701", "63521,520003521"},
{"EPSG:9702", "63522,520003522"},
{"EPSG:9705", "63523,520003523"},
{"EPSG:9707", "63524,520003524"},
{"EPSG:9709", "63525,520003525"},
{"EPSG:9711", "63526,520003526"},
{"EPSG:9712", "63527,520003527"},
{"EPSG:9713", "63528,520003528"},
{"EPSG:9714", "63529,520003529"},
{"EPSG:9715", "63530,520003530"},
{"EPSG:9716", "63531,520003531"},
{"EPSG:9723", "63532,520003532"},
{"EPSG:9724", "63533,520003533"},
{"EPSG:9725", "63534,520003534"},
{"EPSG:9739", "63535,520003535"},
{"EPSG:9741", "63536,520003536"},
{"EPSG:9742", "63537,520003537"},
{"EPSG:9748", "63538,520003538"},
{"EPSG:9749", "63539,520003539"},
{"ESRI:103598", "63540,520003540"},
{"ESRI:103599", "63541,520003541"},
{"ESRI:103699", "63542,520003542"},
{"ESRI:103872", "63543,520003543"},
{"ESRI:104028", "63544,520003544"},
{"ESRI:104602", "63545,520003545"},
{"ESRI:104613", "63546,520003546"},
{"ESRI:104644", "63547,520003547"},
{"ESRI:104645", "63548,520003548"},
{"ESRI:104647", "63549,520003549"},
{"ESRI:104648", "63550,520003550"},
{"ESRI:104653", "63551,520003551"},
{"ESRI:104664", "63552,520003552"},
{"ESRI:104693", "63553,520003553"},
{"ESRI:104696", "63554,520003554"},
{"ESRI:104697", "63555,520003555"},
{"NKG:ETRF00", "63556,520003556"},
{"NKG:ETRF14", "63557,520003557"},
{"OGC:CRS27", "63558,520003558"},
{"OGC:CRS83", "63559,520003559"},
};

0 comments on commit dfe9820

Please sign in to comment.