Re: [Qgis-developer] EPSG codes
On 2014/12/12 23:07, Andre Joost wrote: Installing from Ubuntugis-unstable for trusty 14.04 will give you gdal 1.11 with the desired EPSG:6148. For Ubuntu Utopic 14.10, there is currently qgis, but no gdal package available. I'm hoping to get gdal-bin current/latest on my ubuntu 12.04 (lucid) box, but the ubuntugis unstable lucid repository comes up with IGN. Presumably because there have been no backports to lucid? I've tried to fool it by simply replacing 'lucid' with 'trusty' in the sources.list file, but that comes up IGN as well. (perhaps just as well :-) ) Is there any way I can do this? TIA, Zoltan -- === Zoltan Szecsei PrGISc [PGP0031] Geograph (Pty) Ltd. GIS and Photogrammetric Services P.O. Box 7, Muizenberg 7950, South Africa. Mobile: +27-83-6004028 Fax:+27-86-6115323 www.geograph.co.za === ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] EPSG codes
Am 15.12.2014 um 13:17 schrieb Zoltan Szecsei: On 2014/12/12 23:07, Andre Joost wrote: Installing from Ubuntugis-unstable for trusty 14.04 will give you gdal 1.11 with the desired EPSG:6148. For Ubuntu Utopic 14.10, there is currently qgis, but no gdal package available. I'm hoping to get gdal-bin current/latest on my ubuntu 12.04 (lucid) box, but the ubuntugis unstable lucid repository comes up with IGN. Presumably because there have been no backports to lucid? lucid was 10.04, 12.04 is Precise. For 10.04, gdal 1.11 is packaged, but qgis only 2.0.1 (and older than the gdal package). This might bring some trouble, if the old qgis package was compiled with gdal 1.10. For 12.04, gdal 1.10.0 and QGIS 2.6.1 are packaged. My own 12.04 box still has QGIS 2.2 installed, with no EPSG:6148 (as expected). What do you mean by comes up with IGN? I've tried to fool it by simply replacing 'lucid' with 'trusty' in the sources.list file, That trick was too easy ;-) Is there any way I can do this? You can grab the source package from http://download.osgeo.org/gdal/CURRENT/ Look for the file compdcs.csv in /gdal-1.11.1/data/, and push it into your /usr/share/gdal/1.10 folder. Then re-run /usr/lib/qgis/crssync. You need root rights for both operations. HTH, André Joost ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] EPSG codes
On 2014/12/15 18:03, Andre Joost wrote: Am 15.12.2014 um 13:17 schrieb Zoltan Szecsei: On 2014/12/12 23:07, Andre Joost wrote: Installing from Ubuntugis-unstable for trusty 14.04 will give you gdal 1.11 with the desired EPSG:6148. For Ubuntu Utopic 14.10, there is currently qgis, but no gdal package available. I'm hoping to get gdal-bin current/latest on my ubuntu 12.04 (lucid) box, but the ubuntugis unstable lucid repository comes up with IGN. Presumably because there have been no backports to lucid? lucid was 10.04, 12.04 is Precise. Aaargh - sorry - I meant 10.04 (lucid is correct) For 10.04, gdal 1.11 is packaged, but qgis only 2.0.1 (and older than the gdal package). This might bring some trouble, if the old qgis package was compiled with gdal 1.10. I wonder if that's how I messed it up some time back. I normally don't use the server for work, but I have 4TB of orthos to check/process, so was wanting to run my bash/awk scripts on the server instead of across the network. For 12.04, gdal 1.10.0 and QGIS 2.6.1 are packaged. My own 12.04 box still has QGIS 2.2 installed, with no EPSG:6148 (as expected). This is not about the 6148 any more, but about gdal_edit.py and some newer gdal functionality that 1.9 does not have. What do you mean by comes up with IGN? apt-get update lists the repositories as it scans them. 'Hit' means changes found, and 'IGN' means same as on local system ie: nothing to download. See: http://askubuntu.com/questions/294525/what-does-ign-mean-when-running-an-apt-get-update I've tried to fool it by simply replacing 'lucid' with 'trusty' in the sources.list file, That trick was too easy ;-) Is there any way I can do this? You can grab the source package from http://download.osgeo.org/gdal/CURRENT/ Look for the file compdcs.csv in /gdal-1.11.1/data/, and push it into your /usr/share/gdal/1.10 folder. Then re-run /usr/lib/qgis/crssync. You need root rights for both operations. I'll try the above if I am pushed, but I'm loath to mass-change stuff on my server. Reality is, is that I need to update the server to 14.04. Now, where was that round tuit I had . Thanks Andre. Regards, Zoltan HTH, André Joost ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer -- === Zoltan Szecsei PrGISc [PGP0031] Geograph (Pty) Ltd. GIS and Photogrammetric Services P.O. Box 7, Muizenberg 7950, South Africa. Mobile: +27-83-6004028 Fax:+27-86-6115323 www.geograph.co.za === ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] EPSG codes
I did check the code for crssync and it appears that only the gdal csv and wkt files are what is checked. This makes the situation on my machines confusing as the reference to ESPG:6148 is absent from the gdal 1.9 and yet it is present in the srs.db on the same machine. How it got there is baffling, but this would appear to be a distribution issue. TSW On Fri, Dec 12, 2014 at 11:29 PM, Trevor Wiens tsw@gmail.com wrote: I don't understand it either; I'm not in any way suggesting it makes sense. I'm simply describing how it is. The confusing state of my machines suggests that crssync may do other things than just use the GDAL sources to populate srs.db. Is that mistaken? I haven't looked at the source for crssync; do you know for certain that it only scans the gdal csv files? The point the original question poster made and which I verified was that with QGIS 2.4 on Linux, EPSG:6148 was present and supported; an upgrade to 2.6.1 removes it. I don't how or why. Again, my machines suggests that this is more than a GDAL library issue. TSW On Fri, Dec 12, 2014 at 10:52 PM, Andre Joost andre+jo...@nurfuerspam.de wrote: Am 12.12.2014 um 22:14 schrieb Trevor Wiens: Andre I believe you misunderstood what I'm saying. The version of gdal does not appear to affect the presence of EPSG:6148 in srs.db Box 1: debian wheezy QGIS 2.4 gdal 1.9 ESPG:6148 in the srs.db ESPG6148 NOT in gdal csv files Box 2: debian wheezy QGIS 2.6.1 gdal 1.9 ESPG:6148 NOT in srs.db ESPG:6148 NOT in gdal csv files This issue is clearly more complex than the gdal version. I don't understand your logic. Both Boxes have gdal 1.9, both missing EPSG:6148. It is crssync that pushes the GDAL definition into srs.db. Looking at the Windows installations of gisinternals and QGIS standalone, I find the EPSG code inserted between GDAL 1.10.1 and 1.11.0, published 05/2013 vs 04/2014 QGIS 2.2.0 and 2.4.0, published 02/2014 vs 06/2014 QGIS Linux packages don't include gdal, so it is up to you to get the recent GDAL version (unless it is updated as dependency). Greetings, André Joost ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer -- Trevor Wiens Apropos Information Systems aproposinfosystems.com Calgary, Alberta Ph. 403-973-5901 Fax 780-666-4580 -- Trevor Wiens Apropos Information Systems aproposinfosystems.com Calgary, Alberta Ph. 403-973-5901 Fax 780-666-4580 ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] EPSG codes
Am 12.12.2014 um 15:21 schrieb Zoltan Szecsei: Hi, I have a fresh install of QGIS 2.6 on ubuntu 14.04.1 desktop from the qgis.org/debian trusty main repository (installed a day or two ago) When I set the 'filter' on Project-Properties-CRS to 6148 nothing comes up. On my Windows based QGIS 2.6, ETRS89 / NTM zone 8 EPSG:6148 comes up. Where/how do I get the EPSG codes updated on the ubuntu install? The CRS list should get synchronized at the end of the installation. If not, your installation is broken at some point. I remember that I had to install python-qgis manually when updating to 2.6.1 on Ubuntu, and the sync was done with that (and EPSG:6148 is present). HTH, André Joost ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] EPSG codes
On 2014/12/12 17:28, Andre Joost wrote: Am 12.12.2014 um 15:21 schrieb Zoltan Szecsei: Hi, I have a fresh install of QGIS 2.6 on ubuntu 14.04.1 desktop from the qgis.org/debian trusty main repository (installed a day or two ago) When I set the 'filter' on Project-Properties-CRS to 6148 nothing comes up. On my Windows based QGIS 2.6, ETRS89 / NTM zone 8 EPSG:6148 comes up. Where/how do I get the EPSG codes updated on the ubuntu install? The CRS list should get synchronized at the end of the installation. If not, your installation is broken at some point. I remember that I had to install python-qgis manually when updating to 2.6.1 on Ubuntu, and the sync was done with that (and EPSG:6148 is present). HTH, André Joost Hmmm... I remember I got and older version when I had the ubuntugis repository, so I uninstalled that and then apt-get installed from the qgis.org repository. Is there a definitive list of what to install? I think I just did: python-software-properties qgis python-qgis Thanks, Z -- === Zoltan Szecsei PrGISc [PGP0031] Geograph (Pty) Ltd. GIS and Photogrammetric Services P.O. Box 7, Muizenberg 7950, South Africa. Mobile: +27-83-6004028 Fax:+27-86-6115323 www.geograph.co.za === ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] EPSG codes
Am 12.12.2014 um 16:41 schrieb Zoltan Szecsei: On 2014/12/12 17:28, Andre Joost wrote: Am 12.12.2014 um 15:21 schrieb Zoltan Szecsei: Hi, I have a fresh install of QGIS 2.6 on ubuntu 14.04.1 desktop from the qgis.org/debian trusty main repository (installed a day or two ago) When I set the 'filter' on Project-Properties-CRS to 6148 nothing comes up. On my Windows based QGIS 2.6, ETRS89 / NTM zone 8 EPSG:6148 comes up. Where/how do I get the EPSG codes updated on the ubuntu install? The CRS list should get synchronized at the end of the installation. If not, your installation is broken at some point. I remember that I had to install python-qgis manually when updating to 2.6.1 on Ubuntu, and the sync was done with that (and EPSG:6148 is present). HTH, André Joost Hmmm... I remember I got and older version when I had the ubuntugis repository, so I uninstalled that and then apt-get installed from the qgis.org repository. You should look for ubuntugis-unstable, 2.6.1 is from Sun, 30 Nov 2014 22:07:45 +0100 Is there a definitive list of what to install? I think I just did: python-software-properties qgis python-qgis I just did sudo apt-get update and apt-get upgrade, and saw that the qgis packages were held back. So I forced the install of qgis and python-qgis manually, and everything worked again. In Windows I know where to find the postinstall.log, I'm not sure where it is logged on Ubuntu. HTH, André Joost ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] EPSG codes
On 2014/12/12 18:09, Andre Joost wrote: Hmmm... I remember I got and older version when I had the ubuntugis repository, so I uninstalled that and then apt-get installed from the qgis.org repository. You should look for ubuntugis-unstable, 2.6.1 is from Sun, 30 Nov 2014 22:07:45 +0100 OK - cool - thanks. Regards, Zoltan Is there a definitive list of what to install? I think I just did: python-software-properties qgis python-qgis I just did sudo apt-get update and apt-get upgrade, and saw that the qgis packages were held back. So I forced the install of qgis and python-qgis manually, and everything worked again. In Windows I know where to find the postinstall.log, I'm not sure where it is logged on Ubuntu. HTH, André Joost ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer -- === Zoltan Szecsei PrGISc [PGP0031] Geograph (Pty) Ltd. GIS and Photogrammetric Services P.O. Box 7, Muizenberg 7950, South Africa. Mobile: +27-83-6004028 Fax:+27-86-6115323 www.geograph.co.za === ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] EPSG codes
I have two debian Wheezy systems. One with 2.4 and the other with 2.6.1. In the 2.4 instance 6148 is present and in the 2.6.1 instance it is not Runing /usr/lib/qgis/crssync does not solve the issue. It updates various files including /usr/share/qgis/resources/srs.db On the box with 2.4 there is a table called tbl_srs which has 5630 records including one for EPSG:6148. On the 2.6.1 box this same table has 5325 records and no entry for EPSG:6148. It is unclear which package provides this database that does seem to be the source of the issue. Hope that helps. TSW On Fri, Dec 12, 2014 at 9:12 AM, Zoltan Szecsei zolt...@geograph.co.za wrote: On 2014/12/12 18:09, Andre Joost wrote: Hmmm... I remember I got and older version when I had the ubuntugis repository, so I uninstalled that and then apt-get installed from the qgis.org repository. You should look for ubuntugis-unstable, 2.6.1 is from Sun, 30 Nov 2014 22:07:45 +0100 OK - cool - thanks. Regards, Zoltan Is there a definitive list of what to install? I think I just did: python-software-properties qgis python-qgis I just did sudo apt-get update and apt-get upgrade, and saw that the qgis packages were held back. So I forced the install of qgis and python-qgis manually, and everything worked again. In Windows I know where to find the postinstall.log, I'm not sure where it is logged on Ubuntu. HTH, André Joost ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer -- === Zoltan Szecsei PrGISc [PGP0031] Geograph (Pty) Ltd. GIS and Photogrammetric Services P.O. Box 7, Muizenberg 7950, South Africa. Mobile: +27-83-6004028 Fax:+27-86-6115323 www.geograph.co.za === ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer -- Trevor Wiens Apropos Information Systems aproposinfosystems.com Calgary, Alberta Ph. 403-973-5901 Fax 780-666-4580 ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] EPSG codes
On both boxes, the file compdcs.csv does not contain a record for EPSG:6148. The gdal version is 1.9, not 1.11 for Wheezy and I assume the same for Ubuntu. EPSG:6148 is not listed on both boxes in any files in /usr/share/gdal/1.9/ on both of my machines (one with QGIS 2.4 listing 6148, one with QGIS 2.6 not listing 6148) It would seem if crssync uses the files in /usr/share/gdal/1.9/ to create srs.db it accesses other files as well because on the box with 2.4 there is a record for EPSG:6148 and on the box with 2.6.1 there isn't. TSW On Fri, Dec 12, 2014 at 12:33 PM, Andre Joost andre+jo...@nurfuerspam.de wrote: Am 12.12.2014 um 18:05 schrieb Trevor Wiens: I have two debian Wheezy systems. One with 2.4 and the other with 2.6.1. In the 2.4 instance 6148 is present and in the 2.6.1 instance it is not Runing /usr/lib/qgis/crssync does not solve the issue. It updates various files including /usr/share/qgis/resources/srs.db On the box with 2.4 there is a table called tbl_srs which has 5630 records including one for EPSG:6148. On the 2.6.1 box this same table has 5325 records and no entry for EPSG:6148. It is unclear which package provides this database that does seem to be the source of the issue. On Windows, EPSG:6148 is defined originally in /share/gdal/compdcs.csv. Under Ubuntu I find this file in /usr/share/gdal/1.11/. If crssync finds this file, the definition should go into the srs.db as well. HTH, André Joost ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer -- Trevor Wiens Apropos Information Systems aproposinfosystems.com Calgary, Alberta Ph. 403-973-5901 Fax 780-666-4580 ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] EPSG codes
Am 12.12.2014 um 21:29 schrieb Trevor Wiens: On both boxes, the file compdcs.csv does not contain a record for EPSG:6148. The gdal version is 1.9, not 1.11 for Wheezy and I assume the same for Ubuntu. Installing from Ubuntugis-unstable for trusty 14.04 will give you gdal 1.11 with the desired EPSG:6148. For Ubuntu Utopic 14.10, there is currently qgis, but no gdal package available. The official debian and ubuntu packages might be outdated. HTH, André Joost ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] EPSG codes
Andre I believe you misunderstood what I'm saying. The version of gdal does not appear to affect the presence of EPSG:6148 in srs.db Box 1: debian wheezy QGIS 2.4 gdal 1.9 ESPG:6148 in the srs.db ESPG6148 NOT in gdal csv files Box 2: debian wheezy QGIS 2.6.1 gdal 1.9 ESPG:6148 NOT in srs.db ESPG:6148 NOT in gdal csv files This issue is clearly more complex than the gdal version. TSW On Fri, Dec 12, 2014 at 2:07 PM, Andre Joost andre+jo...@nurfuerspam.de wrote: Am 12.12.2014 um 21:29 schrieb Trevor Wiens: On both boxes, the file compdcs.csv does not contain a record for EPSG:6148. The gdal version is 1.9, not 1.11 for Wheezy and I assume the same for Ubuntu. Installing from Ubuntugis-unstable for trusty 14.04 will give you gdal 1.11 with the desired EPSG:6148. For Ubuntu Utopic 14.10, there is currently qgis, but no gdal package available. The official debian and ubuntu packages might be outdated. HTH, André Joost ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer -- Trevor Wiens Apropos Information Systems aproposinfosystems.com Calgary, Alberta Ph. 403-973-5901 Fax 780-666-4580 ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] EPSG codes
Am 12.12.2014 um 22:14 schrieb Trevor Wiens: Andre I believe you misunderstood what I'm saying. The version of gdal does not appear to affect the presence of EPSG:6148 in srs.db Box 1: debian wheezy QGIS 2.4 gdal 1.9 ESPG:6148 in the srs.db ESPG6148 NOT in gdal csv files Box 2: debian wheezy QGIS 2.6.1 gdal 1.9 ESPG:6148 NOT in srs.db ESPG:6148 NOT in gdal csv files This issue is clearly more complex than the gdal version. I don't understand your logic. Both Boxes have gdal 1.9, both missing EPSG:6148. It is crssync that pushes the GDAL definition into srs.db. Looking at the Windows installations of gisinternals and QGIS standalone, I find the EPSG code inserted between GDAL 1.10.1 and 1.11.0, published 05/2013 vs 04/2014 QGIS 2.2.0 and 2.4.0, published 02/2014 vs 06/2014 QGIS Linux packages don't include gdal, so it is up to you to get the recent GDAL version (unless it is updated as dependency). Greetings, André Joost ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] EPSG codes
I don't understand it either; I'm not in any way suggesting it makes sense. I'm simply describing how it is. The confusing state of my machines suggests that crssync may do other things than just use the GDAL sources to populate srs.db. Is that mistaken? I haven't looked at the source for crssync; do you know for certain that it only scans the gdal csv files? The point the original question poster made and which I verified was that with QGIS 2.4 on Linux, EPSG:6148 was present and supported; an upgrade to 2.6.1 removes it. I don't how or why. Again, my machines suggests that this is more than a GDAL library issue. TSW On Fri, Dec 12, 2014 at 10:52 PM, Andre Joost andre+jo...@nurfuerspam.de wrote: Am 12.12.2014 um 22:14 schrieb Trevor Wiens: Andre I believe you misunderstood what I'm saying. The version of gdal does not appear to affect the presence of EPSG:6148 in srs.db Box 1: debian wheezy QGIS 2.4 gdal 1.9 ESPG:6148 in the srs.db ESPG6148 NOT in gdal csv files Box 2: debian wheezy QGIS 2.6.1 gdal 1.9 ESPG:6148 NOT in srs.db ESPG:6148 NOT in gdal csv files This issue is clearly more complex than the gdal version. I don't understand your logic. Both Boxes have gdal 1.9, both missing EPSG:6148. It is crssync that pushes the GDAL definition into srs.db. Looking at the Windows installations of gisinternals and QGIS standalone, I find the EPSG code inserted between GDAL 1.10.1 and 1.11.0, published 05/2013 vs 04/2014 QGIS 2.2.0 and 2.4.0, published 02/2014 vs 06/2014 QGIS Linux packages don't include gdal, so it is up to you to get the recent GDAL version (unless it is updated as dependency). Greetings, André Joost ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer -- Trevor Wiens Apropos Information Systems aproposinfosystems.com Calgary, Alberta Ph. 403-973-5901 Fax 780-666-4580 ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer