Re: [Qgis-user] ogr2ogr - how to use -s_srs, -t_srs and -a_srs

2017-08-06 Thread Erik Josefsson
Thank you Zoltan! On 06/08/17 07:05, Siki Zoltan wrote: > Dear Erik, > > if there is a .prj file to your shape and it is valid you need not to > use -s_srs. Yes, there is a .prj file to each .shp (in all zip-archives). > Only one of -a_srs and -t_srs is neccessary in your case, if > you want to

Re: [Qgis-user] ogr2ogr - how to use -s_srs, -t_srs and -a_srs

2017-08-06 Thread Erik Josefsson
Thank you very much Andre. I'm still puzzled how I can tell ogr2ogr to convert the coordinates themselves along with the conversion of the CRS (e.g. from EPSG:3008 to EPSG:3006). But maybe that is because I have not yet managed to retrieve from the .shp and .prj files the information that a cert

Re: [Qgis-user] ogr2ogr - how to use -s_srs, -t_srs and -a_srs

2017-08-06 Thread Erik Josefsson
On 06/08/17 11:07, Erik Josefsson wrote: > I'm still puzzled how I can tell ogr2ogr to convert the coordinates > themselves along with the conversion of the CRS (e.g. from EPSG:3008 to > EPSG:3006). As far as I can tell, I can do this manually by opening a shapefile in QGIS, right-click on it in t

Re: [Qgis-user] ogr2ogr - how to use -s_srs, -t_srs and -a_srs

2017-08-06 Thread Andre Joost
Am 06.08.2017 um 12:41 schrieb Erik Josefsson: On 06/08/17 11:07, Erik Josefsson wrote: I'm still puzzled how I can tell ogr2ogr to convert the coordinates themselves along with the conversion of the CRS (e.g. from EPSG:3008 to EPSG:3006). As far as I can tell, I can do this manually by openin

Re: [Qgis-user] ogr2ogr - how to use -s_srs, -t_srs and -a_srs

2017-08-06 Thread Andre Joost
Am 06.08.2017 um 10:34 schrieb Erik Josefsson: Here's the loop where it happens (please note that I expect ogr2ogr to read and write to the same shpfile): I don't think this is possible. It is safe to write to a temp file, wait for ogr2ogr to finish, then overwrite the input file with the out

Re: [Qgis-user] ogr2ogr - how to use -s_srs, -t_srs and -a_srs

2017-08-06 Thread Andre Joost
Am 06.08.2017 um 11:07 schrieb Erik Josefsson: It seems I need an interpreter of the output from ogrinfo that can translate that rather complex output into a simple EPSG-code. gdalsrsinfo has an easier output, but will not reveal EPSG codes either. One reason is because many EPSG codes shar

Re: [Qgis-user] Qgis-user Digest, Vol 138, Issue 7

2017-08-06 Thread loehr
Sehr geehrte Damen und Herren, ich bin bis zum 18.8. in Urlaub. EMails werden in dieser Zeit nicht weitergeleitet. In dringenden Fällen wenden Sie sich bitte an supp...@topographics.de Mit freundlichen Grüßen, Stefan Löhr ___ Qgis-user mailing list Qg

[Qgis-user] GDAL 2.2.0 install and QGIS removed

2017-08-06 Thread Micha Silver
Today's routine update on Mint 18 got gdal 2.2.0 but removed QGIS! $ sudo apt-get install qgis Reading package lists... Done Building dependency tree   Reading state information... Done Some packages could not be installed. This may mean that you have

Re: [Qgis-user] GDAL 2.2.0 install and QGIS removed

2017-08-06 Thread Andre Joost
Am 06.08.2017 um 21:13 schrieb Micha Silver: Today's routine update on Mint 18 got gdal 2.2.0 but removed QGIS! See https://issues.qgis.org/issues/16977 Unfortunately, Ubuntugis-only does not work either: https://issues.qgis.org/issues/16975 The only workaround is to drop ubuntugis ppa and

Re: [Qgis-user] GDAL 2.2.0 install and QGIS removed

2017-08-06 Thread Micha Silver
Thanks, Andre So we'll wait for the next point release? On 2017-08-07 08:28 AM, Andre Joost wrote: Am 06.08.2017 um 21:13 schrieb Micha Silver: Today's routine update on Mint 18 got gdal 2.2.0 but removed QGIS!