Re: [QGIS-it-user] SmoothLine e Go2NextFeature

2017-01-12 Thread Giulio Fattori

Il 12/01/2017 14:44, Sergio Gollino ha scritto:

Salve a tutti,

volevo solo segnalarvi il rilascio di due nuovi plugin che trovate su 
repository ufficiale.


SmoothLine: vi permette di generalizzare una linea cliccandoci sopra. 
Rispetto agli altri plugin di generalizzazione agisce sul livello in 
editing e sulla geometria singola senza dover creare un nuovo layer 
apposito. Inoltre rispetta la topologia, il che è fondamentale se lo 
usate su un livello su cui intendete fare un routing ad esempio.


Go2NextFeature: siccome in ufficio abbiamo l'esigenza di controllare 
una grossa mole di dati puntuali le cui coordinate sono spesso 
imprecise, abbiamo pensato ad un plugin che ci permettesse di 
"saltare" da un punto ad un altro pasando tutti gli oggetti di un 
layer premendo un tasto. Se dovete validare dei dati potrebbe esservi 
molto utile.


Saluti

Sergio

--
Sergio Gollino

Questo messaggio, comprensivo di eventuali allegati, è ad uso 
esclusivo del destinatario e potrebbe contenere informazioni 
riservate; se è stato recapitato per errore ci scusiamo per l'accaduto 
e Vi invitiamo cortesemente a darcene notizia provvedendo alla sua 
distruzione.


Vi ricordiamo che la diffusione, l'utilizzo e/o la conservazione dei 
dati ricevuti per errore costituiscono violazione alle disposizioni 
del D.Lgs. n. 196/2003 "Codice in materia di protezione dei dati 
personali".



___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-it-user


Ottima pensata, complimenti!

___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-it-user


[Qgis-user] Load Style from database dialog is blank

2017-01-12 Thread Tony Bazeley

  
  
Hi,
I'm having some trouble attempting to work with styles in
  postgresql.
I can successfully save a style to the database - table
  layer_styles is created and populated.
  But attempting to load brings up the 'Load Style from database
  dialog' with messages "No styles found in database'
Am using QGIS 2.18.2 with postgresql 9.6 and postgis 2.3
Would appreciate any thoughts on how to progress.
Thanks
  Tony

  

___
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] Display pictures at points

2017-01-12 Thread Andrew Harfoot
Untested, but (in 2.18 and possibly earlier) you can create Filled 
Marker styles with a raster image fill, and the source of the raster can 
be data driven. Worth a try?


Cheers,

Andy

On 11/01/2017 17:42, Josef Fürst wrote:

Dear QGIS users,

I am switching over more and more from ArcGIS to QGIS. Many features 
are really much nicer.
But now I am needing a feature that displays small pictures 
(pictograms) at all points of a point shapefile. Similar to diagrams, 
but these specific diagrams are already available in PNG (or JPG) 
format. An attribute of the point shapefile contains the filenames of 
the pictures. I can display these pictures interactively point by 
point using either eVIs Browser or Action, even HTML maptip. But I 
want to see them all together on the map like other point symbols (or 
diagrams).


Any idea? Some existing script or plugin that I can use as a starter? 
Or maybe I am just missing an existing feature?


Thank you!

Sepp


___
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



--
Andy Harfoot

GeoData Institute
University of Southampton
Southampton
SO17 1BJ

Tel:  +44 (0)23 8059 2719

www.geodata.soton.ac.uk

___
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] How do you change floating values in a raster to integers

2017-01-12 Thread Bernd Vogelgesang

2) Have a look at http://gis.stackexchange.com/a/146551
I think this answer might still work. Found this easily with "QGIS raster  
round" as search string in google.


Cheers
Bernd

Am 12.01.2017, 23:06 Uhr, schrieb Ernest Dunwoody :



Hello Readers,

I’m sure this has been asked before, and probably answered, but I cannot  
find a way to search the QGIS-user Archives for the answer. Any advice  
>on


1.  How to search the QGIS user archive, and

2.  How to convert floating raster values to integers (needed to  
create raster attribute tables)


Would be very much appreciated.

Thank you


Ernest Dunwoody

P O Box 420

Drayton North Qld 4350

Australia

edunwoo...@gmail.com

Ph. 0431 004 054






--
Bernd Vogelgesang
Siedlerstraße 2
91083 Baiersdorf/Igelsdorf
Tel: 09133-825374___
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

[Qgis-user] How do you change floating values in a raster to integers

2017-01-12 Thread Ernest Dunwoody
Hello Readers,

I'm sure this has been asked before, and probably answered, but I cannot
find a way to search the QGIS-user Archives for the answer. Any advice on

1.  How to search the QGIS user archive, and

2.  How to convert floating raster values to integers (needed to create
raster attribute tables)

Would be very much appreciated.

Thank you

 

Ernest Dunwoody

P O Box 420

Drayton North Qld 4350

Australia

edunwoo...@gmail.com  

Ph. 0431 004 054

 

___
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] Symbolizing a discrete or a boolean raster

2017-01-12 Thread Kurt Menke
Nyall and Alexandre, Thanks so much for the suggestions and reminders! I
contributed this winter as part of the QGIS 3.0 push but would also love to
be able to contribute to a specific enhancement. I’ll work with Stéphane on
this.

Best,

Kurt 

 

**

Kurt Menke, GISP

Bird’s Eye View 

  www.BirdsEyeViewGIS.com 

Work: 505-265-0243

Cell: 505-362-1776

 

___
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

[Qgis-user] QGIS 2.18.2 can not see GRASS data / use GRASS algorithms

2017-01-12 Thread Robert Nuske
Dear List

I can not see/load my GRASS data from within QGIS anymore and can not use the 
GRASS algorithms offered in the Processing Toolbox (GRASS GIS 7 commands are 
activated in the Processing options).

Trying to run v.info from the Toolbox I get the following error message:
---
This algorithm cannot be run :-( 
It seems that GRASS GIS 7 is not correctly installed and configured in your 
system. Please install it before running GRASS GIS 7 algorithms.
---

Starting QGIS on the command line does not produce suspicious output:
---
$ qgis
Warning: loading of qgis translation failed [/usr/share/qgis/i18n//qgis_en_US]
Warning: loading of qt translation failed [/usr/share/qt4/translations/
qt_en_US]
Warning: QCss::Parser - Failed to load file  "/style.qss" 
Warning: QLayout: Attempting to add QLayout "" to QgsPanelWidgetStack 
"mWidgetStack", which already has a layout
---

QGIS 2.18.2  was installed this week on a new computer running kubuntu 16.04.1 
(xenial) amd64 using the following repositories
  deb http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu xenial main
  deb http://qgis.org/ubuntugis xenial main
Please see below for a list of qgis related installed packages.


Do I use the wrong repositories or does anything else need to be configured?

Any hints are more than welcome.

Thanks 
  Robert

---

$ dpkg -s qgis
Package: qgis
Status: install ok installed
Priority: optional
Section: science
Installed-Size: 18417
Maintainer: QGIS developers 
Architecture: amd64
Version: 1:2.18.2+24xenial-ubuntugis

$ dpkg -s grass
Package: grass
Status: install ok installed
Priority: optional
Section: metapackages
Installed-Size: 35
Maintainer: Debian GIS Project 
Architecture: all
Version: 7.2.0-1~xenial2


$ aptitude search qgis | grep ^i
i A libqgis-analysis2.18.2  - QGIS - shared analysis library
i A libqgis-app2.18.2   - QGIS - shared app library 
i A libqgis-core2.18.2  - QGIS - shared core library
i A libqgis-customwidgets   - QGIS custom widgets for Qt Designer   
i A libqgis-gui2.18.2   - QGIS - shared gui library 
i A libqgis-networkanalysis2.18.2   - QGIS - shared network analysis library
i A libqgis-server2.18.2- QGIS - shared server library  
i A libqgisgrass7-2.18.2- QGIS - shared grass library   
i A libqgispython2.18.2 - QGIS - shared Python library  
i A python-qgis - Python bindings to QGIS   
i A python-qgis-common  - Python bindings to QGIS - architecture
i   qgis- Geografisches Informationssystem (GIS)
i A qgis-common - QGIS - architecture-independent data  
i A qgis-plugin-globe   - OSG globe plugin for QGIS 
i A qgis-plugin-globe-common- OSG globe plugin for QGIS - arch
i A qgis-plugin-grass   - GRASS plugin for QGIS 
i A qgis-plugin-grass-common- GRASS plugin for QGIS - architecture
i A qgis-provider-grass - GRASS provider for QGIS   
i A qgis-providers  - collection of data providers to QGIS  
i A qgis-providers-common   - collection of data providers to QGIS 


$ aptitude search grass | grep ^i
i   grass   - Geographic Resources Analysis Support 
i A grass-core  - GRASS-GIS-Kernkomponenten 
i A grass-doc   - GRASS GIS user documentation  
i A grass-gui   - GRASS GIS graphical user interfaces   
i A libqgisgrass7-2.18.2- QGIS - shared grass library   
i A qgis-plugin-grass   - GRASS plugin for QGIS 
i A qgis-plugin-grass-common- GRASS plugin for QGIS - architecture-
i A qgis-provider-grass - GRASS provider for QGIS 
___
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] 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

[QGIS-it-user] SmoothLine e Go2NextFeature

2017-01-12 Thread Sergio Gollino
Salve a tutti,

volevo solo segnalarvi il rilascio di due nuovi plugin che trovate su
repository ufficiale.

SmoothLine: vi permette di generalizzare una linea cliccandoci sopra.
Rispetto agli altri plugin di generalizzazione agisce sul livello in
editing e sulla geometria singola senza dover creare un nuovo layer
apposito. Inoltre rispetta la topologia, il che è fondamentale se lo usate
su un livello su cui intendete fare un routing ad esempio.

Go2NextFeature: siccome in ufficio abbiamo l'esigenza di controllare una
grossa mole di dati puntuali le cui coordinate sono spesso imprecise,
abbiamo pensato ad un plugin che ci permettesse di "saltare" da un punto ad
un altro pasando tutti gli oggetti di un layer premendo un tasto. Se dovete
validare dei dati potrebbe esservi molto utile.

Saluti

Sergio

-- 
Sergio Gollino

Questo messaggio, comprensivo di eventuali allegati, è ad uso esclusivo del
destinatario e potrebbe contenere  informazioni riservate; se è stato
recapitato per errore ci scusiamo per l'accaduto e Vi invitiamo
cortesemente a darcene notizia provvedendo alla sua distruzione.
Vi ricordiamo che la diffusione, l'utilizzo e/o la conservazione dei dati
ricevuti per errore costituiscono violazione alle disposizioni del D.Lgs.
n. 196/2003 "Codice in materia di protezione dei dati personali".
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-it-user


Re: [Qgis-user] Symbolizing a discrete or a boolean raster (Stéphane Henriod)

2017-01-12 Thread Stéphane Henriod
Hi all

upon advice from Andreas, I started a formal description of the
requirements for such a feature:

https://docs.google.com/document/d/1cDemM2m88_mbs65sYzfBbVdHI_ObOjf_i35ne3OKsRs/edit?usp=sharing

Please, anyone interested, do check, comment, add, correct,... Once we have
a "final" version, I will inquire a more precise financial estimation. Then
let's see how we can move forward!

Thanks and cheers

Stéphane

Le jeudi 12 janvier 2017, Stéphane Henriod  a écrit :

> Hi Alexandre
>
> (also posting on dev-)
>
> I 100% agree with you and I would love to somehow give back to QGIS (I did
> already, but at a small scale).
>
> I mostly wanted to know if I am the only one to wish for this feature.
> Apparently not the case: many have expressed the same wish!
>
> Now funding: I would love to have a rough idea what "not very expensive"
> means. If there are any dev around who could have the interest / skills to
> implement this feature, can we somehow go concrete and work together on a
> feature description and tentative budget? The situation is obviously very
> different if we talk about 1.000 or 20.000€
>
> And thanks Nyall for your amazing overview. That indeed makes things much
> clearer to me!
>
> Cheers
>
> Stéphane
>
>
> Le jeudi 12 janvier 2017, Alexandre Neto  > a écrit :
>
>> I will share my opinion as I did in the developers list.
>>
>> We users are as responsible for QGIS development as the developers. So
>> rather than asking what QGIS can do for us, maybe we should think what we
>> can do for QGIS. Don't just wait that a volunteer developer decide to spend
>> his free time developing a tool that you need.
>>
>> IMHO, since it seems that you are not able/willing to sponsor the feature
>> yourself, sounds like a good opportunity for a small crowdfunding.
>>
>> That way you would be able to contribute back to QGIS by giving your time
>> in finding a developer able to do it, setting up the crowdfunding,
>> advertise it, pay for part of it and so on.
>>
>> It looks like a simple feature. It should not be very expensive (much
>> less than an ArcGIS license for sure), and if you think many people need
>> this, then the money will be easy to raise. And there is still time to
>> introduce this before QGIS 3.0.
>>
>> Best regards,
>> Alexandre Neto
>>
>> A qua, 11/01/2017, 14:55, Stéphane Henriod  escreveu:
>>
>>> Thanks for checking, that's what I realized as well!
>>>
>>> Do you know if there is still a chance to include it for 3.0 or is it
>>> too late already?
>>>
>>> Cheers
>>>
>>> Stéphane
>>>
>>>
>>> Le mercredi 11 janvier 2017, DelazJ  a écrit :
>>>
 Hi Stéphane,

 I gave it a look and I'm sorry I was wrong. There have been some work
 on the raster classification but it was rather about color and extent
 management. See https://github.com/qgis/QGIS/p
 ulls?utf8=%E2%9C%93=is%3Apr%20discrete%20is%3Aclosed%20 or
 https://github.com/qgis/QGIS/pulls?utf8=%E2%9C%93=is%3Apr%
 20pseudocolor%20is%3Aclosed%20 but testing upcoming 3.0 shows that
 nothing has changed in the area you are interested in.

 Harrissou

 2017-01-11 4:37 GMT+01:00 Stéphane Henriod :

> Hi Harrissou
>
> is there any description / documentation of the work that has been
> done on this (feature description, etc.)? If yes, I'd like to have a look
> and maybe
>
> Thanks a lot!
>
> Stéphane
>
>
> Le mardi 10 janvier 2017, DelazJ  a écrit :
>
>> Hi Stéphane,
>>
>> 2017-01-10 4:02 GMT+01:00 Stéphane Henriod :
>>
>>> Hi Chris
>>> this is very nice! I indeed didn't know this trick and will
>>> certainly use it again in the future!
>>>
>>> However... :-)
>>>
>>> I am currently teaching QGIS to beginners and this for sure is not
>>> an appropriate method for them (especially in the case you have to 
>>> generate
>>> the symbology file through a script)!
>>>
>>> Since the user can style continuous rasters with some
>>> "button-clicking", I believe the same option should be available for
>>> discrete rasters as well.
>>>
>>> I am thus wondering if anyone else than me sees it as a priority for
>>> QGIS? If yes, how to motivate the developers to take it for the next
>>> release and / or how much would such a development cost? (I 
>>> unfortunately
>>> don't have the competences to do it myself)
>>>
>>> There have been some work done in the raster properties dialog in
>> the upcoming 3.0. I don't know if your concern was covered though.
>> If you want, you can move the question to the developer's list
>> 
>> and discuss whether/how this can be implemented (and 

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

2017-01-12 Thread Even Rouault
On jeudi 12 janvier 2017 10:17:52 CET Jukka Rahkonen wrote:
> Hi,
> 
> I did not manage to send mail to QGIS users, but see this:
> http://gis.stackexchange.com/questions/224188/geopackage-error-is-mounted-an
> d-in-wal-mode-this-combination-is-not-allowed
> 
> Could it mean issues which end users can't understand if GeoPackage is
> left to WAL mode and user tries to use it from network drive or as
> read-only? Is it even possible to change the journal mode in this case
> without moving the db into local disk?

Jukka,

(Adding qgis-user in CC)

WAL will not enabled by QGIS if the GeoPackage is located on a network driver 
(as best as we 
can detect that situation !) since the SQLite doc mentions that WAL isn't safe 
in that mode 
(see https://www.sqlite.org/wal.html)
And I don't think WAL can be enabled either on a read-only file/directory (the 
opening will go 
on even if we can't turn WAL on)

If moving a WAL enabled DB (the .gpkg plus the -wal and -shm) on a network 
share, then this 
should probably work, but not in a reliable way in a concurrent use case. If 
moving on a read-
only location, according to the doc, the database shouldn't be openable. If 
moving only the 
.gpkg file without the -wal and -shm, you'll probably get an outdated version 
of the database, 
or will not be able to open it at all. Not sure.

WAL is turned off by QGIS on layer removal, but QGIS must be the last program 
to have the 
file opened so that operation to be successful. If a GeoPackage is left in WAL 
mode (on a 
local disk), a workaround is to close all connections to it, and open / close 
it again with QGIS.

If there are interoperability problems, people can either define the
OGR_SQLITE_JOURNAL environment variable to DELETE or set the QGIS setting 
"/qgis/
walForSqlite3" (in advanced mode) to false, and this will prevent QGIS from 
enabling WAL on 
opening. The drawback is potential deadlocks in some situations where a reader 
and writer 
would run concurrently.

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.

I'm afraid there's no perfect solution. SQLite is a file-based database. One 
cannot ask for it 
the full power of server-based databases regarding concurrent use. 

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.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