[QGIS-Developer] Relative path for GeoPackage/Rasterlite rasters does not work

2018-07-25 Thread Alexander Bruy
Hi,

seems QGIS does not recognize relative paths for the GeoPackage and
Rasterlite raster layers, e.g. GPKG:./some/path/file.gpkg:layer. But
same path works fine from the command line with gdal utilities like
gdalinfo

Anyone confirms?

-- 
Alexander Bruy
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] Relative path for GeoPackage/Rasterlite rasters does not work

2018-07-26 Thread Matthias Kuhn
Hi Alex,

I realized a couple of weeks ago that when the file is added with the
add layer dialog paths are non-relative, while it works fine using drag
and drop from the system's file explorer. At least on the Windows
systems we had in a course there.

Matthias


On 07/26/2018 05:03 AM, Alexander Bruy wrote:
> Hi,
>
> seems QGIS does not recognize relative paths for the GeoPackage and
> Rasterlite raster layers, e.g. GPKG:./some/path/file.gpkg:layer. But
> same path works fine from the command line with gdal utilities like
> gdalinfo
>
> Anyone confirms?
>

-- 
Matthias Kuhn
matth...@opengis.ch 
+41 (0)76 435 67 63 
OPENGIS.ch Logo 
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] Relative path for GeoPackage/Rasterlite rasters does not work

2018-07-26 Thread Alexander Bruy
Hi Matthias,

I tried to edit layer source in the project file and layers with
relative paths became "missed" when loading
project. I'm testing on Linux, will try on Windows too.
чт, 26 лип. 2018 о 13:26 Matthias Kuhn  пише:
>
> Hi Alex,
>
> I realized a couple of weeks ago that when the file is added with the add 
> layer dialog paths are non-relative, while it works fine using drag and drop 
> from the system's file explorer. At least on the Windows systems we had in a 
> course there.
>
> Matthias
>
>
> On 07/26/2018 05:03 AM, Alexander Bruy wrote:
>
> Hi,
>
> seems QGIS does not recognize relative paths for the GeoPackage and
> Rasterlite raster layers, e.g. GPKG:./some/path/file.gpkg:layer. But
> same path works fine from the command line with gdal utilities like
> gdalinfo
>
> Anyone confirms?
>
>
> --
> Matthias Kuhn
> matth...@opengis.ch
> +41 (0)76 435 67 63
> ___
> QGIS-Developer mailing list
> QGIS-Developer@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer



-- 
Alexander Bruy
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer