Re: [Qgis-user] Something to think about GeoPackage and WAL

2017-01-12 Thread jratike80
I believe that for most users and most of the time using WAL does not make
any harm. What I can imagine affects mostly eager power users who might

1) Take only the .gpkg file and copy it while GeoPackage is still open in
QGIS - Hey, I have been reading that GeoPackage is just one file! As a
results the copy of GeoPackage lacks the pending edits and it remains in WAL
mode.

2) Keep GeoPackage open in other programs (like spatialite-gui) while it is
also open in QGIS. If QGIS is closing the connection first it can't switch
the journal mode, and if the other program does not even try to switch the
mode the GeoPackage file will remain in WAL mode. Data loss will not happen,
though.

Some real harm may happen if data are delivered for end users as GeoPackage
that is in WAL mode. If the WAL-db is saved into read-only media (CD, DVD,
read-only memory card) it can't be opened at all before copying it into some
writable media. And if user is placing the WAL db on a network drive it may
lead to some other problems in multi-user environment.

Probably this kind of issues will not occur frequently and I can't say if
enabling WAL by default makes more harm than good. 

-Jukka Rahkonen-


Even Rouault-2 wrote
> If the current situation causes more harm than good, we can change the 
> "/qgis/
> walForSqlite3" setting default value to false. Together with enabling WAL,
> I made another 
> change in the OGR provider that prevented a reader that has finished from
> iterating over 
> features from being left in a ghost active state, but I guess there will
> be real read/write 
> concurrent situations were deadlocks will appear.





--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Re-Something-to-think-about-GeoPackage-and-WAL-tp5303139p5303203.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Why QGIS change the SRS?

2017-03-27 Thread jratike80
Goyo wrote
> No, those are WKT and they include some data which is different (name
> and EPSG code). The proj4 strings are identical:
> 
> http://spatialreference.org/ref/epsg/etrs89-etrs-tm30/proj4/
> http://spatialreference.org/ref/epsg/etrs89-utm-zone-30n/proj4/

The real difference between these projections is in the order of coordinate
axis and it can be queried from the EPSG database:

This one is Northing-Easting system
http://epsg-registry.org/export.htm?wkt=urn:ogc:def:crs:EPSG::3042

But this one is Easting-Northing system
http://epsg-registry.org/export.htm?wkt=urn:ogc:def:crs:EPSG::25830

Mixing those two may cause problems for example when data are exported into
GML format.

-Jukka Rahkonen-





--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Why-QGIS-change-the-SRS-tp5308203p5314438.html
Sent from the QGIS - User mailing list archive at Nabble.com.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Cannot add cloud optimised GeoTIFF (COG) as raster layer

2021-04-19 Thread jratike80
Hi Andrea,

Setting the GDAL_HTTP_PROXY env variable solved my problem. Should I file a
ticket about this or is there some use case where the proxy that is
configured in general settings should not be applied?

-Jukka Rahkonen-



Andrea Giudiceandrea wrote
> jcabieces wrote
>> It works for me with current QGIS master if I paste this exact url in URI
>> with HTTP/HTTPS/FTP
>> type : http://latuviitta.kapsi.fi/data/dem10m/dem10.tif
> 
> Hi,
> I can also add and display the raster layer in QGIS adding it using Data
> Source Manager | Raster as:
> 
> Source Type: Protocol: HTTP(S)...
> URI: http://latuviitta.kapsi.fi/data/dem10m/dem10.tif
> 
> OR
> 
> Source Type: File
> Raster dataset(s):
> /vsicurl/http://latuviitta.kapsi.fi/data/dem10m/dem10.tif
> 
> 
> Anyway, if the problem is the presence of a proxy, maybe the relevant
> GDAL_*PROXY env vars should be set.
> See
> https://gdal.org/user/virtual_file_systems.html#vsicurl-http-https-ftp-files-random-access
> and
> https://gdal.org/user/configoptions.html#list-of-configuration-options-and-where-they-apply
> 
> Regards.
> 
> Andrea
> 
> 
> 
> --
> Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
> ___
> Qgis-user mailing list

> Qgis-user@.osgeo

> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user





--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user