[Qgis-developer] Plugin [900] QMetaTiles approval notification.

2016-06-13 Thread noreply

Plugin QMetaTiles approval by pcav.
The plugin version "[900] QMetaTiles 1.1 Experimental" is now approved
Link: http://plugins.qgis.org/plugins/QMetaTiles/
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] Segmentation fault when using layersRemoved SIGNAL.

2016-06-13 Thread Germán Carrillo
Hi All,

there seems to be an issue connecting the SIGNAL layersRemoved from
QgsMapLayerRegistry.

For example, if I save this script to a file, and run it from the Linux
terminal:


import unittest
from qgis.core import QgsApplication, QgsMapLayerRegistry

class SIGNALTest( unittest.TestCase ):

def setUp( self ):
app = QgsApplication([], True)
QgsApplication.setPrefixPath("/usr", True)
QgsApplication.initQgis()

QgsMapLayerRegistry.instance().layersRemoved.connect(
self.myFunction )

def myFunction( self, layerIds ):
print "Called!"

def test1( self ):
self.assertEqual(1,1)

def tearDown( self ):
QgsApplication.exitQgis()

if __name__ == "__main__":
unittest.main()


I get the following result:

##
Called!
.
--
Ran 1 test in 0.119s

OK
Segmentation fault
###

If, on the contrary, I comment out the line where the connection is set or
if I use other signals such as layerRemoved or layersAdded instead of
layersRemoved, I get:

###
.
--
Ran 1 test in 0.111s

OK
###

I'm using QGIS 2.14.2 on a GNU/Linux machine.

Can you confirm such problem? Do you have any clue about it?


Regards,

Germán

-- 
---
   |\__
(:>__)(
   |/
Soluciones Geoinformáticas Libres
http://geotux.tuxfamily.org/
http://twitter.com/GeoTux2
http://about.me/germancarrillo


___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] Animated gif support now in changelog

2016-06-13 Thread Tim Sutton
Hi All

Just a note for those helping to add entries to the visual changelog 
(http://changelog.qgis.org/en/qgis/version/2.16.0/): we now support uploading 
animated gif’s. See Matthias’s entry “New configuration options for attribute 
table” - I have added a small example there. It would be great if you could use 
your favourite gif tool to make little animations of new features. If you need 
any help getting logged in / entry creation permissions, please pop me a note.

Thanks

Tim



---

Tim Sutton
QGIS Project Steering Committee Chair
t...@qgis.org




___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Possible QGIS D3 Data Analysis Plugin

2016-06-13 Thread Luigi Pirelli
Hi Calvin

I did a plugin integrating a D3.js Sunburst Diagram in a plugin to
allow interactive editing of a distribution/configuration file

you can find tech references in the presentation I'll give next week
in the Portuguese QGIS User Conference... it's still in draft state,
btw some information you need are available there or linked in a
previous plugin.

http://slides.com/luigipirelli/qtraffic#/

generally speaking, regarding interfacing D3 in a QWebView the main
work is to undestanding how to organize data to be used by the D3
specific graphic visualization. QTraffic plugin is more complex
because there is also a 2way management of the the modification events
that are propagated from the webview to the python plugin and then to
the configuration file and viceversa. In case of "static"
visualization, that means dynamic but only in the webview, the
complexity is reduced to push data and organize them to a static html
template page.

regards
Luigi Pirelli

**
* Boundless QGIS Support/Development: lpirelli AT boundlessgeo DOT com
* LinkedIn: https://www.linkedin.com/in/luigipirelli
* Stackexchange: http://gis.stackexchange.com/users/19667/luigi-pirelli
* GitHub: https://github.com/luipir
* Mastering QGIS:
https://www.packtpub.com/application-development/mastering-qgis
**


On 13 June 2016 at 15:59, C Hamilton  wrote:
> Thank you for the response. I will hold off trying to write my own plugin,
> but if you happen to need additional help let me know. The one capability
> that I am very interested in is a functionality similar to the ArcGIS Data
> Clock.
>
> http://desktop.arcgis.com/en/arcmap/latest/extensions/tracking-analyst/094-the-data-clock.htm
>
> Are you planning on doing something like that?
>
> Thanks,
>
> Calvin
>
> On Sat, Jun 11, 2016 at 3:29 PM, Matteo Ghetta 
> wrote:
>>
>> Hi,
>> Thanks to Paolo and Rene-luc for pointing out..
>>
>> Me and Michael are currently working on a plugin that plots D3 interactive
>> plots..
>>
>> In a first release (hopefully we will release soon a first version) the
>> user will be able to draw some plot types and also have a "feedback" between
>> the plot and the map canvas..
>>
>> Just have some more patience ;-)
>>
>> Cheers
>>
>> Matteo
>>
>> Il 10/giu/2016 17:19 "René-Luc Dhont"  ha scritto:
>>>
>>> Hi Clavin,
>>>
>>> Somes are working on something like that:
>>> https://github.com/ghtmtt/DataPlot
>>>
>>> Regards,
>>>
>>> Le 10/06/2016 17:08, C Hamilton a écrit :
>>>
>>> I am contemplating writing a visualization plugin that analyzes temporal
>>> patterns in distributions of data in two dimensions similar to the ArcGIS
>>> Data Clock.
>>>
>>>
>>> http://desktop.arcgis.com/en/arcmap/latest/extensions/tracking-analyst/094-the-data-clock.htm
>>>
>>> My first thought would be to have it create the graph as a D3 html page.
>>> The pro to that would be that I would get to learn D3 but also it would
>>> become an interactive graph that would be separate from QGIS. It could be
>>> integrated into a web page. The other option would be to use a python
>>> graphics library to display it within a QGIS window like the Environmental
>>> Data Explorer.
>>>
>>> Ultimately, I would envision all sorts of analysis and graphs. Is anyone
>>> already working on a D3 plugin like this?
>>>
>>> What are your thoughts? Would anyone be interested in a capability like
>>> this? Would D3 be a good or bad way to implement this?
>>>
>>> Thanks,
>>>
>>> Calvin
>>>
>>>
>>> ___
>>> Qgis-developer mailing list
>>> Qgis-developer@lists.osgeo.org
>>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>>>
>>>
>>>
>>> ___
>>> Qgis-developer mailing list
>>> Qgis-developer@lists.osgeo.org
>>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>>
>>
>> ___
>> Qgis-developer mailing list
>> Qgis-developer@lists.osgeo.org
>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>
>
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] What is the API for opening and displaying HDF5 files through native python console in QGIS?

2016-06-13 Thread Adrián Lugo Bendezú
Hello,

I would like to kindly ask for help opening a .h5 file, which is the extension 
for HDF5 file format, through the python console. Specifically I would like to 
open and display a dataset object (specific object type in HDF5) nested inside 
a group object (other specific object type in HDF5). I know that QGIS existing 
functionality allows HDF5 files to be opened and displayed through the GUI. 
When I use the Layer > Add Layer > Add Raster layer tool and open my desired 
HDF5 file, a window called “Select raster layers to add…” pops up listing all 
dataset objects inside my file that would ultimately open as raster files on 
QGIS. Selecting any of them effectively displays them in the map canvas. 
However, I would like to know the API for opening and displaying the HDF5 file 
dataset object through the native python console rather than the toolbar. I 
expect to be able to use the API to open and display any of the dataset objects 
within the HDF5 file and potentially provide proper CRS (Coordinate Reference 
System) for proper georeference. I am using QGIS 2.12.1 Lyon on Windows.

Thanks,
 
Adrián Lugo Bendezú
Airborne Observation Platform Intern
(NEON) National Ecological Observatory Network
Office: 720.921.2726
www.neonscience.org 
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Possible QGIS D3 Data Analysis Plugin

2016-06-13 Thread C Hamilton
Thank you for the response. I will hold off trying to write my own plugin,
but if you happen to need additional help let me know. The one capability
that I am very interested in is a functionality similar to the ArcGIS Data
Clock.

http://desktop.arcgis.com/en/arcmap/latest/extensions/tracking-analyst/094-the-data-clock.htm

Are you planning on doing something like that?

Thanks,

Calvin

On Sat, Jun 11, 2016 at 3:29 PM, Matteo Ghetta 
wrote:

> Hi,
> Thanks to Paolo and Rene-luc for pointing out..
>
> Me and Michael are currently working on a plugin that plots D3 interactive
> plots..
>
> In a first release (hopefully we will release soon a first version) the
> user will be able to draw some plot types and also have a "feedback"
> between the plot and the map canvas..
>
> Just have some more patience ;-)
>
> Cheers
>
> Matteo
> Il 10/giu/2016 17:19 "René-Luc Dhont"  ha scritto:
>
>> Hi Clavin,
>>
>> Somes are working on something like that:
>> https://github.com/ghtmtt/DataPlot
>>
>> Regards,
>>
>> Le 10/06/2016 17:08, C Hamilton a écrit :
>>
>> I am contemplating writing a visualization plugin that analyzes temporal
>> patterns in distributions of data in two dimensions similar to the ArcGIS
>> Data Clock.
>>
>>
>> http://desktop.arcgis.com/en/arcmap/latest/extensions/tracking-analyst/094-the-data-clock.htm
>>
>> My first thought would be to have it create the graph as a D3 html page.
>> The pro to that would be that I would get to learn D3 but also it would
>> become an interactive graph that would be separate from QGIS. It could be
>> integrated into a web page. The other option would be to use a python
>> graphics library to display it within a QGIS window like the Environmental
>> Data Explorer.
>>
>> Ultimately, I would envision all sorts of analysis and graphs. Is anyone
>> already working on a D3 plugin like this?
>>
>> What are your thoughts? Would anyone be interested in a capability like
>> this? Would D3 be a good or bad way to implement this?
>>
>> Thanks,
>>
>> Calvin
>>
>>
>> ___
>> Qgis-developer mailing listqgis-develo...@lists.osgeo.org
>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>>
>>
>>
>> ___
>> Qgis-developer mailing list
>> Qgis-developer@lists.osgeo.org
>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>>
>
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Report 3 - QGIS Symbology Sharing Tools

2016-06-13 Thread Alessandro Pasotti
2016-06-12 12:55 GMT+02:00 Akbar Gumbira :

> Hi All,
>
> Here is the report for the 3rd week of GSoC
>
> *What did you get done this week?*
> This week I didn't have much time to work on GSoC, but I managed to:
>
>- Try some python git libraries, but didn't really find one that could
>easily be used without some further efforts contributing on the libraries
>first. Using git to interact with the git repositories is really nice to
>have for example to clone only one collections from a repository (one
>repository could have many collections).
>- Implement some basic classes to deal with remote git repository (now
>it could fetch the metadata)
>- Configure testing: Travis and Coveralls. For testing I used
>Matthias' mocked QGIS module, not Ale's testing framework with QGIS on
>docker.
>
> *What do you plan on doing next week?*
> This week I am planning to:
>
>- Continue working on the modules to handle remote repository so that
>it can more neatly handle other cases (timeout, the repo isn't available,
>the metadata isn't available, etc)
>- Parsing the metadata file to a collections object
>- Update the add, edit, and delete repository slots to also update the
>collections object when those actions happened.
>
> Finally I will have the last final exam tomorrow on Monday. After that, I
> will work full-time on this (though I still need to do some administrations
> for a few weeks here). I made a gitter chat room here:
> https://gitter.im/akbargumbira/qgis_symbology_sharing so you can ping me
> there for faster response. The repository is here
> https://github.com/akbargumbira/qgis_symbology_sharing. I would be happy
> to get code review from any of you .
>
> *Are you blocked on anything?*
> For now, no.
>
> Cheers
> --
>

Akbar,

Thank you for the updates,

I've had a quick look at you code and it looks good to me!

I've added a couple of comments to the github commits page.

Looking forward to see you progress!



-- 
Alessandro Pasotti
w3:   www.itopen.it
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] Plugin [740] qgis2web approval notification.

2016-06-13 Thread noreply

Plugin qgis2web approval by pcav.
The plugin version "[740] qgis2web 1.9.2" is now approved
Link: http://plugins.qgis.org/plugins/qgis2web/
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] SVG paths in print layout templates

2016-06-13 Thread Paolo Cavallini
Il 13/06/2016 11:21, Frank Sokolic ha scritto:

> The same thing seems to happen with project files. If you create a
> project with an SVG (e.g. a north arrow) in Linux and then open the
> project in Windows, the SVG doesn't display in the map composer because
> the path is wrong. The SVG path seems to be dependent on the OS.

So it seems rather serious. Ticket opened:
http://hub.qgis.org/issues/15019
Thanks.
-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] SVG paths in print layout templates

2016-06-13 Thread Frank Sokolic

On 13/06/2016 11:07, Paolo Cavallini wrote:

Hi all,
if I create a layout template on Linux, Windows users miss system SVGs,
because the path stored in the template is OS-independent, therefore
points to a non existing path (/usr/share/qgis/svg/).
To me this seems a definite bug, agreed?
I had a look to the bugtracker, and could not find a ticket about
exactly this.
Thanks.



Hi Paolo,

The same thing seems to happen with project files. If you create a 
project with an SVG (e.g. a north arrow) in Linux and then open the 
project in Windows, the SVG doesn't display in the map composer because 
the path is wrong. The SVG path seems to be dependent on the OS.


Regards, Frank.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] SVG paths in print layout templates

2016-06-13 Thread Paolo Cavallini
Il 13/06/2016 11:24, DelazJ ha scritto:
> Hi,
> 
> If the folder /usr/share/qgis/svg/ itself is not accessible from Windows
> computer, there's no way to get it in QGIS, so not sure we can consider
> this as a QGIS bug. It's rather a matter of storage location.

Don't agree with this: the same file is certainly available in a
different, OS-specific, directory. QGIS normally take into account this,
quite effectively.
What is wrong here IMHO is to store an absolute, OS independent, path,
instead of a variable, OS specific, one, that gets replaced as most
appropriate for each system.

> I work with colleagues that use Windows or Mac computers and had
> problems with that. What I finally do is to put the svg folder on the
> network so that any computer can access these files and then configure
> QGIS to store relative paths (works for svg but also for shapefiles...).
> Then no more OS dependent problem to share projects .

Of course this work, but it’s a hack.

Thanks Harrissou for your opinion.
-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] SVG paths in print layout templates

2016-06-13 Thread DelazJ
Hi,

If the folder /usr/share/qgis/svg/ itself is not accessible from Windows
computer, there's no way to get it in QGIS, so not sure we can consider
this as a QGIS bug. It's rather a matter of storage location.
I work with colleagues that use Windows or Mac computers and had problems
with that. What I finally do is to put the svg folder on the network so
that any computer can access these files and then configure QGIS to store
relative paths (works for svg but also for shapefiles...). Then no more OS
dependent problem to share projects .

HTH,
Harrissou

2016-06-13 11:07 GMT+02:00 Paolo Cavallini :

> Hi all,
> if I create a layout template on Linux, Windows users miss system SVGs,
> because the path stored in the template is OS-independent, therefore
> points to a non existing path (/usr/share/qgis/svg/).
> To me this seems a definite bug, agreed?
> I had a look to the bugtracker, and could not find a ticket about
> exactly this.
> Thanks.
> --
> Paolo Cavallini - www.faunalia.eu
> QGIS & PostGIS courses: http://www.faunalia.eu/training.html
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] SVG paths in print layout templates

2016-06-13 Thread Paolo Cavallini
Hi all,
if I create a layout template on Linux, Windows users miss system SVGs,
because the path stored in the template is OS-independent, therefore
points to a non existing path (/usr/share/qgis/svg/).
To me this seems a definite bug, agreed?
I had a look to the bugtracker, and could not find a ticket about
exactly this.
Thanks.
-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] Plugin [995] dzetsaka : Classification tool approval notification.

2016-06-13 Thread noreply

Plugin dzetsaka : Classification tool approval by pcav.
The plugin version "[995] dzetsaka : Classification tool 1.2" is now approved
Link: http://plugins.qgis.org/plugins/dzetsaka/
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer