[Qgis-user] Error make install Qgis
APM
apschwimmer at apmland.de
Mon Dec 13 09:46:08 PST 2021
Hi Andrea,
I changed the files, all is o.k. now.
Is this o.k. as well, to report such errors or will they be fixed anyway?
Kind regards
Piet
Am 13.12.21 um 17:59 schrieb Andrea Giudiceandrea:
>>
>> APM
>> <https://www.mail-archive.com/search?l=qgis-user@lists.osgeo.org&q=from:%22APM%22>Mon,
>> 13 Dec 2021 05:05:32 -0800
>> <https://www.mail-archive.com/search?l=qgis-user@lists.osgeo.org&q=date:20211213>
>>
>> Dear List,
>>
>> I compiled Qgis from github.
>> If I install the build with make install I got the message:
>>
>> Installing crssync ... Could not execute: INSERT INTO
>> tbl_srs(srs_id,description,projection_acronym,ellipsoid_acronym,parameters,srid,auth_name,auth_id,is_geo,deprecated)VALUES
>> (63560, 'GSK-2011 / GSK 3GK zone
>> 7','tmerc','tmerc','+proj=tmerc+lat_0=0 +lon_0=21 +k=1 +x_0=7250000
>> +y_0=0 +ellps=GSK2011+towgs84=0,0,0,0,0,0,0 +units=m
>> +no_defs',520003560,'EPSG','21207',0,0)[UNIQUE constraint failed:
>> tbl_srs.srs_id/UNIQUE constraint failed:tbl_srs.srs_id]
>
> Hi Piet,
> this issue is similar to the one previously also reported by you some
> months ago.
>
> It seems to me there is again an issue in the source code files
> qgscoordinatereferencesystem.cpp and qgscoordinatereferencesystem_legacy.h
>
> You should be able to fix the issue patching the lines 2357 and 2358
> of src/core/proj/qgscoordinatereferencesystem.cpp
>
> from:
>
> int nextSrsId = 63560;
> int nextSrId = 520003560;
>
>
> to:
>
> int nextSrsId = 63561;
> int nextSrId = 520003561;
>
>
>
> and the last lines of src/core/proj/qgscoordinatereferencesystem_legacy.h
>
> from:
>
> {"OGC:CRS83", "63559,520003559"},
> };
>
>
> to:
>
> {"OGC:CRS83", "63559,520003559"},
> {"EPSG:20904", "63560,520003560"},
> };
>
>
>
> Best regards.
>
> Andrea Giudiceandrea
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20211213/2d02988f/attachment.html>
More information about the Qgis-user
mailing list