Opened 17 years ago

Closed 17 years ago

Last modified 15 years ago

#598 closed patch (fixed)

Update projection values fo French NTF in srs.db

Reported by: lrntct@… Owned by: nobody
Priority: major: does not work as expected Milestone:
Component: Projection Support Version: 0.8
Keywords: lambert, ntf Cc:
Must Fix for Release: No Platform: Windows
Platform Version: 2000 Awaiting user input: no

Description

Hello,

As discussed here, Qgis ship with wrong values for the French "Lambert" projections. I tried to make an SQL script to update it. It could be great if some NTF users check it.

Thanks.

UPDATE tbl_srs SET parameters='+proj=lcc +lat_1=49.50000000000001 +lat_0=49.50000000000001 +lon_0=0 +k_0=0.999877341 +x_0=600000 +y_0=200000 +a=6378249.2 +b=6356515 +towgs84=-168,-60,320,0,0,0,0 +pm=paris +units=m +no_defs' WHERE rowid=1600;
UPDATE tbl_srs SET parameters='+proj=lcc +lat_1=46.8 +lat_0=46.8 +lon_0=0 +k_0=0.99987742 +x_0=600000 +y_0=200000 +a=6378249.2 +b=6356515 +towgs84=-168,-60,320,0,0,0,0 +pm=paris +units=m +no_defs' WHERE rowid=1601;
UPDATE tbl_srs SET parameters='+proj=lcc +lat_1=44.10000000000001 +lat_0=44.10000000000001 +lon_0=0 +k_0=0.999877499 +x_0=600000 +y_0=200000 +a=6378249.2 +b=6356515 +towgs84=-168,-60,320,0,0,0,0 +pm=paris +units=m +no_defs' WHERE rowid=1602;
UPDATE tbl_srs SET parameters='+proj=lcc +lat_1=42.16500000000001 +lat_0=42.16500000000001 +lon_0=0 +k_0=0.99994471 +x_0=234.358 +y_0=185861.369 +a=6378249.2 +b=6356515 +towgs84=-168,-60,320,0,0,0,0 +pm=paris +units=m +no_defs' WHERE rowid=1603;
UPDATE tbl_srs SET parameters='+proj=lcc +lat_1=49.50000000000001 +lat_0=49.50000000000001 +lon_0=0 +k_0=0.999877341 +x_0=600000 +y_0=1200000 +a=6378249.2 +b=6356515 +towgs84=-168,-60,320,0,0,0,0 +pm=paris +units=m +no_defs' WHERE rowid=1604;
UPDATE tbl_srs SET parameters='+proj=lcc +lat_1=46.8 +lat_0=46.8 +lon_0=0 +k_0=0.99987742 +x_0=600000 +y_0=2200000 +a=6378249.2 +b=6356515 +towgs84=-168,-60,320,0,0,0,0 +pm=paris +units=m +no_defs' WHERE rowid=1605;
UPDATE tbl_srs SET parameters='+proj=lcc +lat_1=44.10000000000001 +lat_0=44.10000000000001 +lon_0=0 +k_0=0.999877499 +x_0=600000 +y_0=3200000 +a=6378249.2 +b=6356515 +towgs84=-168,-60,320,0,0,0,0 +pm=paris +units=m +no_defs' WHERE rowid=1606;
UPDATE tbl_srs SET parameters='+proj=lcc +lat_1=42.16500000000001 +lat_0=42.16500000000001 +lon_0=0 +k_0=0.99994471 +x_0=234.358 +y_0=4185861.369 +a=6378249.2 +b=6356515 +towgs84=-168,-60,320,0,0,0,0 +pm=paris +units=m +no_defs' WHERE rowid=1607;
UPDATE tbl_srs SET parameters='+proj=lcc +lat_1=49.50000000000001 +lat_0=49.50000000000001 +lon_0=0 +k_0=0.999877341 +x_0=600000 +y_0=1200000 +a=6378249.2 +b=6356515 +towgs84=-168,-60,320,0,0,0,0 +pm=paris +units=m +no_defs' WHERE rowid=1608;
UPDATE tbl_srs SET parameters='+proj=lcc +lat_1=46.8 +lat_0=46.8 +lon_0=0 +k_0=0.99987742 +x_0=600000 +y_0=2200000 +a=6378249.2 +b=6356515 +towgs84=-168,-60,320,0,0,0,0 +pm=paris +units=m +no_defs' WHERE rowid=1609;
UPDATE tbl_srs SET parameters='+proj=lcc +lat_1=44.10000000000001 +lat_0=44.10000000000001 +lon_0=0 +k_0=0.999877499 +x_0=600000 +y_0=3200000 +a=6378249.2 +b=6356515 +towgs84=-168,-60,320,0,0,0,0 +pm=paris +units=m +no_defs' WHERE rowid=1610;
UPDATE tbl_srs SET parameters='+proj=lcc +lat_1=42.16500000000001 +lat_0=42.16500000000001 +lon_0=0 +k_0=0.99994471 +x_0=234.358 +y_0=4185861.369 +a=6378249.2 +b=6356515 +towgs84=-168,-60,320,0,0,0,0 +pm=paris +units=m +no_defs' WHERE rowid=1611;
UPDATE tbl_srs SET parameters='+proj=lcc +lat_1=49.50000000000001 +lat_0=49.50000000000001 +lon_0=0 +k_0=0.999877341 +x_0=600000 +y_0=200000 +a=6378249.2 +b=6356515 +towgs84=-168,-60,320,0,0,0,0 +pm=paris +units=m +no_defs' WHERE rowid=1612;
UPDATE tbl_srs SET parameters='+proj=lcc +lat_1=46.8 +lat_0=46.8 +lon_0=0 +k_0=0.99987742 +x_0=600000 +y_0=200000 +a=6378249.2 +b=6356515 +towgs84=-168,-60,320,0,0,0,0 +pm=paris +units=m +no_defs' WHERE rowid=1613;
UPDATE tbl_srs SET parameters='+proj=lcc +lat_1=44.10000000000001 +lat_0=44.10000000000001 +lon_0=0 +k_0=0.999877499 +x_0=600000 +y_0=200000 +a=6378249.2 +b=6356515 +towgs84=-168,-60,320,0,0,0,0 +pm=paris +units=m +no_defs' WHERE rowid=1614;
UPDATE tbl_srs SET parameters='+proj=lcc +lat_1=42.16500000000001 +lat_0=42.16500000000001 +lon_0=0 +k_0=0.99994471 +x_0=234.358 +y_0=185861.369 +a=6378249.2 +b=6356515 +towgs84=-168,-60,320,0,0,0,0 +pm=paris +units=m +no_defs' WHERE rowid=1615;

Change History (4)

comment:1 by anonymous, 17 years ago

Awaiting user input: unset
Milestone: Version 0.8.1

comment:2 by jrepetto, 17 years ago

I think the parameter +ellps=clark80 is missing too. See ticket #719.

comment:3 by timlinux, 17 years ago

Resolution: fixed
Status: newclosed

Thank you for your contribution. I have applied these changes to both 0.8.1 and svn trunk as r7014 and r7015 respectively.

Regards

Tim

comment:4 by (none), 15 years ago

Milestone: Version 0.8.1

Milestone Version 0.8.1 deleted

Note: See TracTickets for help on using tickets.