[Qgis-developer] VTerrain plugin - version 1.0 ( QGis 1.5 - 2.0.1 )

2013-10-14 Thread Geo DrinX
Hello all,


I have problems to upload my new version of VTerrain plugin for QGis,
because I lost the passw for   http://plugins.qgis.org/plugins/VTerrain/

:(

could you please contact me ?


Thank you

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

Re: [Qgis-developer] VTerrain plugin - version 1.0 ( QGis 1.5 - 2.0.1 )

2013-10-15 Thread Geo DrinX
Hi Richard,

as you can see in my image, I have not edit in my VTerrain plugin.
Instead, I have editing on my GEarthView ...

Misterious...

How can I reset the password for VTerrain ?

There is some other way to solve it ?

Roberto


2013/10/14 Richard Duivenvoorde rdmaili...@duif.net

 On 14-10-13 17:52, Geo DrinX wrote:
  Hello all,
 
 
  I have problems to upload my new version of VTerrain plugin for QGis,
  because I lost the passw for   http://plugins.qgis.org/plugins/VTerrain/
 
  :(
 
  could you please contact me ?
 
 
  Thank you
 
  Roberto

 Hi Roberto,

 attached you find a screendump of (I think) two geodrinx users. Maybe it
 is of use for you.

 I also resaved the general info of geodrinx login, hoping it sents you
 your old password.

 If all this fails, I think indeed you need to reset your password via:
 https://www.osgeo.org/user/password

 Hope this helps,

 Richard Duivenvoorde



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

Re: [Qgis-developer] VTerrain plugin - version 1.0 ( QGis 1.5 - 2.0.1 )

2013-10-15 Thread Geo DrinX
Richard,

I just have reset the passw,  but the situation is not changed...


Roberto


2013/10/15 Richard Duivenvoorde rich...@duif.net

 On 15-10-13 11:19, Geo DrinX wrote:

 Hi Roberto,

 hub just uses your osgeo password and login.

 So I think you really have to reset your password via:

 https://www.osgeo.org/user/password

 Regards,

 Richard


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

Re: [Qgis-developer] VTerrain plugin - version 1.0 ( QGis 1.5 - 2.0.1 )

2013-10-15 Thread Geo DrinX
Richard,

I don't know if it is useful, but my geodrinx user is this:

https://www.osgeo.org/user/1157


Roberto


2013/10/15 Geo DrinX geodr...@gmail.com

 Richard,

 I just have reset the passw,  but the situation is not changed...


 Roberto


 2013/10/15 Richard Duivenvoorde rich...@duif.net

 On 15-10-13 11:19, Geo DrinX wrote:

 Hi Roberto,

 hub just uses your osgeo password and login.

 So I think you really have to reset your password via:

 https://www.osgeo.org/user/password

 Regards,

 Richard



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

[Qgis-developer] Qgis Processing Merge Shape Layers

2013-10-15 Thread Geo DrinX
Hello All,


It seems to me that QGis Processing Merge Shape Layers function does not
work correctly:   also selecting all layers I have in list, only one layer
appears into MergedLayer.

Somebody has tested it recently ?


Regards

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

[Qgis-developer] Select all elements in the view ...

2013-10-16 Thread Geo DrinX
Hello,

somebody knows if it just exists a plugin that select all elements (of one
or more layers) contained in the QGis view ?

I need something similar to the Show elements visible in the map button
of the Attributes table, but selecting the elements.


Thank you for any info about this

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

[Qgis-developer] Poligon coordinates in PyQgis 2

2013-10-17 Thread Geo DrinX
Hello all,

because PyQgis syntax is changed so much, from Qgis 1.8 to 2.0.1,  I do not
find how to have polygon coordinates.


Could someone help me ?   Any new documentation about it ?


Thank you in advance

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

Re: [Qgis-developer] Poligon coordinates in PyQgis 2

2013-10-18 Thread Geo DrinX
 in the same way as before but with layer.getFeatures():

 layer = qgis.utils.iface.activeLayer()
 for elem in layer.getFeatures():
 geom= elem.geometry()
 poly = geom.asPolygon()

poly.wkbType() == QGis.WKBPolygon
True
# coordinates of vertex:
print poly
[[(232139,110988), (232673,110410), (232311,110090),
 (231814,110190),
 (231684,110648), (232139,110988)]].


...strange, because also using your code, I had this error

poly.wkbType() == QGis.WKBPolygon
AttributeError: 'list' object has no attribute 'wkbType'

What I do not understand is:  for what reason getting coordinates is
different from Lines and Polygon ?
Perhaps, Is this a new of PyQGis 2 ?


Thank you

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

Re: [Qgis-developer] Poligon coordinates in PyQgis 2

2013-10-18 Thread Geo DrinX
I found a way to have coordinates:

layer = qgis.utils.iface.activeLayer()
for elem in layer.getFeatures():
geom= elem.geometry()

elem = geom.asPolygon()

 for iii in range (len(elem)):
  for jjj in range (len(elem[iii])):

x1,y1 = elem[iii][jjj][0], elem[iii][jjj][1]


Is this the unique way ?   Nothing of more elegant ?

For what reason, in the linestring case I can write something like this:


layer = qgis.utils.iface.activeLayer()
for elem in layer.getFeatures():
geom= elem.geometry()
poly = geom.asPolyline()

for p1 in elem:
 x1,y1 = p1.x(),p1.y()
 print   ('%lf,%lf \n') % (x1,y1)


...and, instead, in polygon there is not a x()  y()  method ?

:)



Thank you

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

[Qgis-developer] How to get the field values in PyQGis 2 ?

2013-10-23 Thread Geo DrinX
Hello all,

I have difficulties writing the python code to print the field value
contents from a feature.

This is my source code:

iter = layer.getFeatures()
for feat in iter:
  fff = feat.fields()
  num = fff.count()
  print num %d\n %(num)
  for iii in range(num):
 fieldValue = fff[iii]
 print %s\n %(fieldValue)

but this is what I had:

qgis.core.QgsField object at 0x0BF95268

etcetera


What I need to modify in the source code to have the correct string values ?

Sorry, but the 2.0 documentation is not so clear... actually  :(


Thank you in advance for any info about this

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

Re: [Qgis-developer] How to get the field values in PyQGis 2 ?

2013-10-23 Thread Geo DrinX
OK, I found it !


iter = layer.getFeatures()
for feat in iter:
  fff = feat.fields()
  num = fff.count()
  for iii in range(num):
 print %s  %(feat[iii])


But...  what about to have the field names ?

Thank you

Roberto


2013/10/23 Geo DrinX geodr...@gmail.com

 Hello all,

 I have difficulties writing the python code to print the field value
 contents from a feature.

 This is my source code:

 iter = layer.getFeatures()
 for feat in iter:
   fff = feat.fields()
   num = fff.count()
   print num %d\n %(num)
   for iii in range(num):
  fieldValue = fff[iii]
  print %s\n %(fieldValue)

 but this is what I had:

 qgis.core.QgsField object at 0x0BF95268

 etcetera


 What I need to modify in the source code to have the correct string values
 ?

 Sorry, but the 2.0 documentation is not so clear... actually  :(


 Thank you in advance for any info about this

 Roberto

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

Re: [Qgis-developer] How to get the field values in PyQGis 2 ?

2013-10-23 Thread Geo DrinX
Thank you, Nathan.


But I have not the field names.  I want to have the field names ...


Roberto

PS: ... For  is  for  and Print is print   ;)
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] How to get the field values in PyQGis 2 ?

2013-10-23 Thread Geo DrinX
2013/10/23 Matthias Kuhn matthias.k...@gmx.ch

 for f in l.pendingFields():
 print f.name()



Great !   Thank you   :)


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

Re: [Qgis-developer] Select all elements in the view ...

2013-10-24 Thread Geo DrinX
Hello all again,

From PyQgis, I need to export (to my own format) only the elements
contained in the QGis view.

So, I taken the canvas coordinates and I created a string that has the
expression syntax:

text = self.iface.mapCanvas().extent().toString()
text1 = text.replace(, ,  )
text2 = text1.replace( : , ,)
text = bbox($geometry, geomFromWKT ( 'LINESTRING( + text2
+ )'))


There is a way to applicate the bbox filter during the scanning of the
elements, that is during:

iter = layer.getFeatures()
for feat in iter:

...or, need I to filter elements from myself ?

It will be only in 2.2 version ?

Thank you for any info about this

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

Re: [Qgis-developer] Select all elements in the view ...

2013-10-24 Thread Geo DrinX
Great Nathan !!!


 This is all you need:

 rq = QgsFeatureRequest(iface.mapCanvas().extent())
 for feature in layer.getFeatures(rq):


You are the best:  you solved in a second all my ploblems  :)


Thank thank thank you.

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

[Qgis-developer] GEarthView 1.0.3

2013-10-24 Thread Geo DrinX
Hello,

I inserted a new version of GEarthView plugin for QGis.

When possible, please test it for the approval

These are the updates:

- Added publishing in KML also vector elements inside the view (with
attributes)

- Added an info panel


Regards

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

[Qgis-developer] How to Raster layer setTransparency with pyQGis 2 ?

2013-11-06 Thread Geo DrinX
Hello All,


pyQGis 2  changed many things  :(

For example:  how is possible, now, to set the transparency of a raster ?

Before, simply was:

l_raster.setTransparency(50)


And now ?

Thank you for any info about it


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

Re: [Qgis-developer] How to Raster layer setTransparency with pyQGis 2 ?

2013-11-06 Thread Geo DrinX
Great, Giovanni !

Thank you

Roberto


2013/11/6 G. Allegri gioha...@gmail.com

 Try using l_raster.renderer().setOpacity(0.5)

 giovanni


 2013/11/6 Geo DrinX geodr...@gmail.com

 Hello All,


 pyQGis 2  changed many things  :(

 For example:  how is possible, now, to set the transparency of a raster ?

 Before, simply was:

 l_raster.setTransparency(50)


 And now ?

 Thank you for any info about it


 Roberto

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




 --
 Giovanni Allegri
 http://about.me/giovanniallegri
 blog: http://blog.spaziogis.it
 GEO+ geomatica in Italia http://bit.ly/GEOplus

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

[Qgis-developer] New Rasparenza plugin for QGis

2013-11-07 Thread Geo DrinX
Hello all,

I created  a new plugin for QGis 1.8 and 2.0.1, named Rasparenza , that
changes the transparency of all raster layers.

Please, test it and, if you like,  approvate it.


Regards

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

Re: [Qgis-developer] New Rasparenza plugin for QGis

2013-11-07 Thread Geo DrinX
Hi Nathan,


I inserted these description and tags to
http://plugins.qgis.org/plugins/rasparenza/


rasparenza : change all raster layer transparency

*Author:* geodrinx http://plugins.qgis.org/plugins/author/geodrinx/

*Author's email:* geodr...@gmail.com

*Maintainer:* geodrinx http://plugins.qgis.org/plugins/user/geodrinx/admin

*Tags:* raster http://plugins.qgis.org/plugins/tags/raster/,
transparencyhttp://plugins.qgis.org/plugins/tags/transparency/



is it enough?   :)


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

[Qgis-developer] GEarthView new version

2013-11-17 Thread Geo DrinX
Hello All,


I entered on October 24 a new version of GEarthView plugin for QGIS.
But it still has not been approved.
Can you tell me something about it?

Thanks and regards

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

[Qgis-developer] Rasparenza plugin

2013-11-17 Thread Geo DrinX
Hello again,


my plugin Rasparenza set the transparency of all the raster layers
together:

http://plugins.qgis.org/plugins/rasparenza/


You can approve it, please ?


Thank you

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

[Qgis-developer] QGIS : How to define a new CRS name into PRJ ?

2013-11-25 Thread Geo DrinX
Hello all,

I am trying to give a name for my own cassini projection into the PRJ file,
but reloading the shp, QGis seems to ignore my name, and it use, instead, a
generic  * SR generated (+prj etcetera) definition name.

It 's impossible to give a new name through a PRJ file?


Thank you for any info about this

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

[Qgis-developer] How to set Vector layer transparency with pyQgis ?

2013-12-03 Thread Geo DrinX
Hello all,

... as in object, I need to set the transparency of all the vector layers
in my plugin ( rasparenza ).

What is the syntax to set the transparency of a vector layer (in pyQis 1.8
and 2.0 versions ) ?

I am searching in documentation and in  gis.stackexchange,  but I only
found... myself.


Thank you in advance for any info

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

[Qgis-developer] New GEarthView 1.0.4 version - plugin for QGis

2013-12-04 Thread Geo DrinX
Hello,

I just inserted a new version of GEarthView plugin for QGis.

Please, approve it  (if you like :)


Regards

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

[Qgis-developer] How to get feat.geometry() from SpatiaLite in pyQGis ?

2013-12-05 Thread Geo DrinX
Hello all,


as in object, within pyQGis  I need to read the geometry of a SpatiaLite
vector layer.

This is my source code:

layer = iface.mapCanvas().currentLayer()
iter = layer.getFeatures()
for feat in iter:
geom = feat.geometry()
elem = geom.asPolyline()
print(ELEM %s\n) %(elem)
for p1 in elem:
x1,y1 = p1.x(),p1.y()
print(XY= %lf %lf\n) %(x1, y1)


But... it returns only:

ELEM []
ELEM []
ELEM []
ELEM []

etcetera, instead of something like this :

ELEM [(2.37786e+06,4.60302e+06), (2.37784e+06,4.60304e+06)]

... that I had with a normal qgis layer.

Sure, I miss something.

Somebody can help me to understand how to get geometry from SpatiaLite ?


Thank you in advance

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

Re: [Qgis-developer] How to get feat.geometry() from SpatiaLite in pyQGis ?

2013-12-06 Thread Geo DrinX
Hi Christos (!),


sorry but your code works only in QGis 1.8 version.
I am using the 2.0.1 version and pyQGis methods are changed:

http://hub.qgis.org/wiki/quantum-gis/Python_plugin_API_changes_from_18_to_20


BTW, my problem is:

- using a SHP file layer,  elements are returned
- using SpatiaLite layer,  elements are returned, but each is empty.


It 'a known issue?
Someone in the list has tried it?


Roberto


2013/12/6 mmekuria sail...@yahoo.com

 Hi, Roberto:

 I think the query from layer.getFeatures() returns an iterator and that
 means you use the nextFeature(feat) to get the next feature until it fails
 to return a feature, then it means you have reached the end of the iterator
 list.

 iter = layer.getFeatures()
 while iter.nextFeature(feat):
 geom = feat.geometry()
 elem = geom.asPolyline()
 print(ELEM %s\n) %(elem)
 for p1 in elem:
 x1,y1 = p1.x(),p1.y()
 print(XY= %lf %lf\n) %(x1, y1)


 Should work for you,





 -
 Maaza Christos, PhD
 www.Axumcorp.com

 --
 View this message in context:
 http://osgeo-org.1560.x6.nabble.com/How-to-get-feat-geometry-from-SpatiaLite-in-pyQGis-tp5092891p5093041.html
 Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
 ___
 Qgis-developer mailing list
 Qgis-developer@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-developer

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

[Qgis-developer] What about Phonon.so on MacOSX ?

2013-12-16 Thread Geo DrinX
Hello all,


installing  Video UAV Tracker  plugin for QGis 2.0.1  on MacOSX  I had an
error message referring to phonon.so, that seems not installed.


Someone knows how to solve it ?


Thank you in advance

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

Re: [Qgis-developer] What about Phonon.so on MacOSX ?

2013-12-16 Thread Geo DrinX
William,


Phonon should be in the package.  I was able to install the plugin.  Does
 this work in the QGIS python console:

 from PyQt4.phonon import Phonon



From console, I had:

from PyQt4.phonon import Phonon
Traceback (most recent call last):
  File input, line 1, in module
  File
/Applications/QGIS-2.01.app/Contents/MacOS/../Resources/python/qgis/utils.py,
line 453, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
ImportError:
dlopen(/Applications/QGIS-2.01.app/Contents/MacOS/../Resources/python/PyQt4/phonon.so,
2): Library not loaded: QtDBus.framework/Versions/4/QtDBus
  Referenced from:
/Applications/QGIS-2.01.app/Contents/MacOS/../Resources/python/PyQt4/phonon.so
  Reason: image not found


In reality, I have the   phonon.so  in this other path:

/Applications/QGIS-2.01.app/Contents/Resources/python/PyQt4/phonon.so


I have QGis 2.0.1-4 .


Misterious.   What I need to do ?



Thank you for any other info

Roberto








 On Dec 16, 2013, at 2:54 PM, Geo DrinX wrote:

  Hello all,
 
 
  installing  Video UAV Tracker  plugin for QGis 2.0.1  on MacOSX  I had
 an error message referring to phonon.so, that seems not installed.
 
 
  Someone knows how to solve it ?
 
 
  Thank you in advance
 
  Roberto
  ___
  Qgis-developer mailing list
  Qgis-developer@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/qgis-developer

 -
 William Kyngesburye kyngchaos*at*kyngchaos*dot*com
 http://www.kyngchaos.com/

 I ache, therefore I am.  Or in my case - I am, therefore I ache.

 - Marvin



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

Re: [Qgis-developer] What about Phonon.so on MacOSX ?

2013-12-17 Thread Geo DrinX
William,


also the QGis-2.0.1-6  has the same empty video box problem.  :(

BTW, here there is a link for the test video and gps data :

https://www.dropbox.com/s/ugm7awhlwlt5yj3/Dati%20VUT.zip


and this a short tutorial, from my blog:

http://droneplanner.blogspot.it/2013/12/video-uav-tracker-plugin-per-qgis.html


I know, it's an italian language blog… I am sorry;  but, more than words,
it's important the video shown.

:)


Roberto



2013/12/17 William Kyngesburye wokl...@kyngchaos.com

 Well, it's possible that it was compiled right after I committed a fix to
 the source this morning.  The package on my site is just a fix to the
 package without a rebuild, but the source fix should not break it like I
 did.

 On Dec 17, 2013, at 4:20 PM, Geo DrinX wrote:

  It goes better.  I have some new:
 
  I installed QGis 2.1-dev  and the plugin  VideoUAVTracker starts.  So, I
 selected the avi file, and I done the same actions as on Windows, but… the
 video window remains empty, as in attach tif.
 
  Misterious.  No error message.
 
 
  Roberto
 
 
 
  2013/12/17 William Kyngesburye wokl...@kyngchaos.com
  D'oh!  Messed up, got it partially right.  I'll get another update out
 tonight.
 
  On Dec 17, 2013, at 3:31 PM, Geo DrinX wrote:
 
   Hello William,
  
   I installed now QGis 2.0.1-5 ,  but QtDBus is still missing.  :(
  
   I had hoped … but  :)
  
  
   Roberto
  
  
  
  
  
   2013/12/17 William Kyngesburye wokl...@kyngchaos.com
   Ah, it's not that phonon is missing (it's not) but phonon needs
 QtDBus, and that is missing.  Must be a recent link requirement I missed.
  Works for me because it finds it in my development environment.
  
   I'll have to package an update with the needed QtDBus...
  
   On Dec 16, 2013, at 9:04 PM, Geo DrinX wrote:
  
William,
   
   
Phonon should be in the package.  I was able to install the plugin.
  Does this work in the QGIS python console:
   
from PyQt4.phonon import Phonon
   
   
From console, I had:
   
from PyQt4.phonon import Phonon
Traceback (most recent call last):
  File input, line 1, in module
  File
 /Applications/QGIS-2.01.app/Contents/MacOS/../Resources/python/qgis/utils.py,
 line 453, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
ImportError:
 dlopen(/Applications/QGIS-2.01.app/Contents/MacOS/../Resources/python/PyQt4/phonon.so,
 2): Library not loaded: QtDBus.framework/Versions/4/QtDBus
  Referenced from:
 /Applications/QGIS-2.01.app/Contents/MacOS/../Resources/python/PyQt4/phonon.so
  Reason: image not found
   
   
In reality, I have the   phonon.so  in this other path:
   
/Applications/QGIS-2.01.app/Contents/Resources/python/PyQt4/phonon.so
   
   
I have QGis 2.0.1-4 .
   
   
Misterious.   What I need to do ?
   
   
   
Thank you for any other info
   
Roberto
   
   
   
   
   
   
   
On Dec 16, 2013, at 2:54 PM, Geo DrinX wrote:
   
 Hello all,


 installing  Video UAV Tracker  plugin for QGis 2.0.1  on MacOSX
  I had an error message referring to phonon.so, that seems not installed.


 Someone knows how to solve it ?


 Thank you in advance

 Roberto
 ___
 Qgis-developer mailing list
 Qgis-developer@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-developer
   
-
William Kyngesburye kyngchaos*at*kyngchaos*dot*com
http://www.kyngchaos.com/
   
I ache, therefore I am.  Or in my case - I am, therefore I ache.
   
- Marvin
   
   
   
  
   -
   William Kyngesburye kyngchaos*at*kyngchaos*dot*com
   http://www.kyngchaos.com/
  
   Theory of the Universe
  
   There is a theory which states that if ever anyone discovers exactly
 what the universe is for and why it is here, it will instantly disappear
 and be replaced by something even more bizarrely inexplicable.  There is
 another theory which states that this has already happened.
  
   -Hitchhiker's Guide to the Galaxy 2nd season intro
  
  
  
 
  -
  William Kyngesburye kyngchaos*at*kyngchaos*dot*com
  http://www.kyngchaos.com/
 
  I ache, therefore I am.  Or in my case - I am, therefore I ache.
 
  - Marvin
 
 
 
  VUAVTrackerEmpty.tiff

 -
 William Kyngesburye kyngchaos*at*kyngchaos*dot*com
 http://www.kyngchaos.com/

 All generalizations are dangerous, even this one.



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

[Qgis-developer] gdalwarp not installed on MacOSX ?

2013-12-30 Thread Geo DrinX
Hello all,

as you can see in this image:

https://drive.google.com/file/d/0Bwg_m86uaXY1R0c0VHk3Sy1HdDA/edit?usp=sharing

it seems that  gdalwarp  is not installed (or not found)  by  Qgis2threejs
 plugin  on MacOSX.


Could you please help me to solve this ?


Thank you in advance

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

[Qgis-developer] Qgis2threejs suggestions...

2013-12-31 Thread Geo DrinX
Hello Minoru,


Your  Qgis2threejs  is  great !

This is an image I taken from it:

https://drive.google.com/file/d/0Bwg_m86uaXY1LUVzdmV0bUdNcnM/edit?usp=sharing


Well,  I have some suggestion:

The only thing that I find to be improved is the fact that it opens a new
web page, and that is opened in QGis an information panel on which (if any)
choose the DEM layer.

For me, the panel should be confined in a panel on Settings, and
instead the function must be called directly (and using the same web page)

Sure, with this, everything would be (even more) immediate and amazing.

Also I suggest to use a temporary directory inside the plugin directory, as
in my GEarthView plugin.

What do you think about ?

Thank you for your great work and ... Happy New Year all in 3D !!!

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

Re: [Qgis-developer] Qgis2threejs suggestions...

2014-01-02 Thread Geo DrinX
Hi Minoru,

before all, happy new year :)

Then, with the new year, I had an idea: what do you think of a QT window
inside QGIS, which displays the 3D html page ?

Could it be doable ?   Do you have just tested ?


Regards

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

Re: [Qgis-developer] Qgis2threejs suggestions...

2014-01-02 Thread Geo DrinX
Minoru,

Other argument:
in this image, on the left you can see GoogleEarth, and on the right the
threejs.html :

https://drive.google.com/file/d/0Bwg_m86uaXY1QVVGVnJmMlBfOEk/edit?usp=sharing

It seems that 3D html model  has exagerated height.  True ?


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

Re: [Qgis-developer] Qgis2threejs suggestions...

2014-01-02 Thread Geo DrinX
  Then, with the new year, I had an idea: what do you think of a QT window
  inside QGIS, which displays the 3D html page ?
 
  Could it be doable ?   Do you have just tested ?

 Interesting, but I have not tested it yet.


I tested now, but I had:

Sorry, your browser doesn't seem to support WebGL

:(

But, test it yourself, also. Who knows if you have some magical settings
on your machine...


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

Re: [Qgis-developer] Qgis2threejs suggestions...

2014-01-02 Thread Geo DrinX
Minoru,

this is my ( experimental starting )  test plugin for webbrowser:

https://drive.google.com/file/d/0Bwg_m86uaXY1ZWstOWZ3aER2cDQ/edit?usp=sharing

Simply, drag and drop a url link inside the web view.  For example:

http://opensciencemap.org/map/#scale=12,rot=0,tilt=65,lat=42.3502,lon=13.3988

and you will have the message:

Sorry, your browser doesn't seem to support WebGL


How to discover what browser is used by Qt ?   I will investigate ...



Roberto



2014/1/2 Geo DrinX geodr...@gmail.com


  Then, with the new year, I had an idea: what do you think of a QT window
  inside QGIS, which displays the 3D html page ?
 
  Could it be doable ?   Do you have just tested ?

 Interesting, but I have not tested it yet.


 I tested now, but I had:

 Sorry, your browser doesn't seem to support WebGL

 :(

 But, test it yourself, also. Who knows if you have some magical settings
 on your machine...


 Roberto

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

Re: [Qgis-developer] Qgis2threejs suggestions...

2014-01-02 Thread Geo DrinX
... it seems to be WebKit.Who knows if it loads WebGL on other
platforms, different from Windows ?


2014/1/2 Geo DrinX geodr...@gmail.com

 Minoru,

 this is my ( experimental starting )  test plugin for webbrowser:


 https://drive.google.com/file/d/0Bwg_m86uaXY1ZWstOWZ3aER2cDQ/edit?usp=sharing

 Simply, drag and drop a url link inside the web view.  For example:


 http://opensciencemap.org/map/#scale=12,rot=0,tilt=65,lat=42.3502,lon=13.3988

 and you will have the message:


 Sorry, your browser doesn't seem to support WebGL


 How to discover what browser is used by Qt ?   I will investigate ...



 Roberto



 2014/1/2 Geo DrinX geodr...@gmail.com


   Then, with the new year, I had an idea: what do you think of a QT
 window
  inside QGIS, which displays the 3D html page ?
 
  Could it be doable ?   Do you have just tested ?

 Interesting, but I have not tested it yet.


 I tested now, but I had:

 Sorry, your browser doesn't seem to support WebGL

 :(

 But, test it yourself, also. Who knows if you have some magical
 settings on your machine...


 Roberto



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

Re: [Qgis-developer] Qgis2threejs suggestions...

2014-01-02 Thread Geo DrinX
perhaps, this can be useful:

http://trac.webkit.org/wiki/QtWebKitWebGL


2014/1/2 Geo DrinX geodr...@gmail.com

 ... it seems to be WebKit.Who knows if it loads WebGL on other
 platforms, different from Windows ?


 2014/1/2 Geo DrinX geodr...@gmail.com

 Minoru,

 this is my ( experimental starting )  test plugin for webbrowser:


 https://drive.google.com/file/d/0Bwg_m86uaXY1ZWstOWZ3aER2cDQ/edit?usp=sharing

 Simply, drag and drop a url link inside the web view.  For example:


 http://opensciencemap.org/map/#scale=12,rot=0,tilt=65,lat=42.3502,lon=13.3988

 and you will have the message:


 Sorry, your browser doesn't seem to support WebGL


 How to discover what browser is used by Qt ?   I will investigate ...



 Roberto



 2014/1/2 Geo DrinX geodr...@gmail.com


   Then, with the new year, I had an idea: what do you think of a QT
 window
  inside QGIS, which displays the 3D html page ?
 
  Could it be doable ?   Do you have just tested ?

 Interesting, but I have not tested it yet.


 I tested now, but I had:

 Sorry, your browser doesn't seem to support WebGL

 :(

 But, test it yourself, also. Who knows if you have some magical
 settings on your machine...


 Roberto




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

[Qgis-developer] About TINs and QGis

2014-01-03 Thread Geo DrinX
Hello all,


As in object, I have a question:

There is a way to display a TIN into QGis ?

I intended, there is a way to load a triangle net, also if only in 2D, and
display it like in this image:

https://drive.google.com/file/d/0Bwg_m86uaXY1dkNaM1BvLWswZmc/edit?usp=sharing


This is an example of TIN , that I need to display with QGis:

Gaeta in   ITFformat  (VTerrain.org  format):
https://drive.google.com/file/d/0Bwg_m86uaXY1eXl2OUZwT3daTUE/edit?usp=sharing


the same in PLY:

https://drive.google.com/file/d/0Bwg_m86uaXY1VjdKejU2M1MxdFU/edit?usp=sharing

the same, using the gms TIN ascii format:

https://drive.google.com/file/d/0Bwg_m86uaXY1RWkxbGVucmRzb2s/edit?usp=sharing


Thank you for any info abut this.

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

[Qgis-developer] QGis 2.0.1 - Group layer SR selection panel

2014-01-16 Thread Geo DrinX
Hello all,

there is something wrong, or too complex, in the panel in object.

In fact, if I create a layer group and I want to give a unique SR to all
layers under the group, in the panel it is not possible to select the SR
directly in the recently used SR list.

I tried using double click, single click ...  nothing to do  :(

The only way to do it is to ... select the SR from the mondial reference
systems, that are not ordinated.

Please, tell me that it will be changed in the next version of QGis !


Thank you

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

Re: [Qgis-developer] Qgis2threejs suggestions...

2014-01-16 Thread Geo DrinX
Hi Minoru,


You can do it with latest code on GitHub.
 https://github.com/minorua/Qgis2threejs



I tested it   :)

I have an idea and a suggestion:

if a level was a WMS PNG24 or PNG32 of a DTM, do you think it would be
possible to use it to create 3D with your plugin?

This would be a very useful feature :)

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

[Qgis-developer] WCS of a DTM

2014-01-17 Thread Geo DrinX
Hello all,

loading in QGis 2.0.1  the WCS of the Catalogna DTM  I had this:

https://drive.google.com/file/d/0Bwg_m86uaXY1a2xmTC1BeXphZEU/edit?usp=sharing

:(

Somebody can help me to understand where I wrong ?


Thank you in advance


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

Re: [Qgis-developer] Qgis2threejs suggestions...

2014-01-18 Thread Geo DrinX
Hi Minoru ,

I taken QGis2threejs now from  repository and I am testing on  MacOSX.

I had this:

Traceback (most recent call last):
  File
/Users/rrr/.qgis2/python/plugins/Qgis2threejs/qgis2threejsdialog.py, line
334, in run
if not tools.openHTMLFile(htmlfilename):
  File
/Users/rrr/.qgis2/python/plugins/Qgis2threejs/qgis2threejstools.py, line
128, in openHTMLFile
webbrowser.open(htmlfilename, new=2)# new=2: new tab if possible
AttributeError: 'module' object has no attribute 'open'

Versione Python:
2.7.1 (r271:86832, Jun 16 2011, 16:59:05)
[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)]



Also on Windows 7  I have the same…


:(


Tell me if you need more info to debug.



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

Re: [Qgis-developer] Qgis2threejs suggestions...

2014-01-20 Thread Geo DrinX
Hi Minoru,

All is OK, now.It was my local webbrowser  test plugin, that
conflicted with your.

:)

Now, QGis2threejs  works perfettly

Thank you

Roberto


2014/1/19 Geodrinx geodr...@gmail.com



 Inviato da iPhone

 Il giorno 19/gen/2014, alle ore 10:06, Minoru Akagi akagi...@gmail.com
 ha scritto:

  Hi Roberto,
 
  Is your python webbrowser module overlapped by something? For example,
  you have a plugin named webbrowser ? : )

 Yes, I created a plugin named webbrowser ... :(

 So, this is the problem !


  Otherwise, please try to
  set browser path in the setting dialog.

 Ok, thank you.  I will inform you.

 Regards

 Roberto
 
  Regards,
  Minoru
 
  2014/1/18 Geo DrinX geodr...@gmail.com:
  Hi Minoru ,
 
  I taken QGis2threejs now from  repository and I am testing on  MacOSX.
 
  I had this:
 
  Traceback (most recent call last):
   File
  /Users/rrr/.qgis2/python/plugins/Qgis2threejs/qgis2threejsdialog.py,
 line
  334, in run
 if not tools.openHTMLFile(htmlfilename):
   File
 /Users/rrr/.qgis2/python/plugins/Qgis2threejs/qgis2threejstools.py,
  line 128, in openHTMLFile
 webbrowser.open(htmlfilename, new=2)# new=2: new tab if possible
  AttributeError: 'module' object has no attribute 'open'
 
  Versione Python:
  2.7.1 (r271:86832, Jun 16 2011, 16:59:05)
  [GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)]
 
 
 
  Also on Windows 7  I have the same…
 
 
  :(
 
 
  Tell me if you need more info to debug.
 
 
 
  Roberto

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

Re: [Qgis-developer] Qgis2threejs suggestions...

2014-01-20 Thread Geo DrinX
Hi Minoru,


I have some other suggestion   :)

I am testing  with more than one image and DTM files.

I find that, in this case, it would be useful to have an automatic selector
of the DTM or DSM layer  (I don't know how, but, for example, it could be
the layer that starts with DTM_)

Other problem is: if there are more than one  DTM_  layers, it could be
possible to have together clipped in the output ?   Or, only one is
possible to have ?


Thank you

Ciao

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

Re: [Qgis-developer] Qgis2threejs suggestions...

2014-01-20 Thread Geo DrinX
Hi Minoru,


with last master version I had this:

Traceback (most recent call last):
  File
C:\Users\rrr/.qgis2/python/plugins\Qgis2threejs\qgis2threejsdialog.py,
line 324, in run
htmlfilename = runSimple(htmlfilename, context, self.progress)
  File
C:\Users\rrr/.qgis2/python/plugins\Qgis2threejs\qgis2threejsmain.py, line
211, in runSimple
writeVectors(writer)
  File
C:\Users\rrr/.qgis2/python/plugins\Qgis2threejs\qgis2threejsmain.py, line
445, in writeVectors
geom_type = layer.geometryType()
AttributeError: 'NoneType' object has no attribute 'geometryType'


I have only a  dtm tif  in the layer list.   Perhaps a vector is also
needed ?


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

[Qgis-developer] Viewing SpatiaLite views in QGis

2014-01-23 Thread Geo DrinX
Hello all,


I noticed a strange behavior in QGis when I am viewing  SpatiaLite views.

These are my steps:

1)  I have some SpatiaLite tables, that have  Geometry field.  For
example:

CREATE TABLE Poligoni (
PK_UID INTEGER PRIMARY KEY AUTOINCREMENT,
field1 TEXT,
Note TEXT, geometry POLYGON)

2) I create a SpatiaLite view, that performs some spatial opetation, i.e.
an intersection

CREATE VIEW intersecato as
SELECT  b.field1as field1, b.field2 AS field2, a.field3 AS field3,
ST_area (a.Geometry) AS area, b.arec as arec,
 intersection (a.Geometry, b.Geometry) as Geometry
FROM Poligoni a, otherTable b
where
ST_intersects (a.Geometry, b.Geometry)  = 1
order by field1

3)  I insert into geometry_columns a record for the view:

insert into geometry_columns values
('intersecato','geometry',3,2,3003,0)


4)  I execute a query into SpatiaLite_gui to control that some record
exists.
 And...  they exist.   :)


5) I go to QGis (2.0.1 Dufour,  Windows, Linux or MacOSX :)   and connect
to SpatiaLite DB.

6) I insert my tables and view in Layer list.
We, now I see all the layers, as those corresponding to the tables, as
that correspond
to my SpatiaLite view.  But, this one do not display the correct records in
the attribute panel:  in this case, I only have a list of many NULL, and
selecting a record, all records are selected  :(


Do you have any explanation for this?

Also I tried to add a PK_UID  in the view definition, but the result
remains the same.


Thank you for any help

Regards

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

[Qgis-developer] About temp directory

2014-01-25 Thread Geo DrinX
Hi Minoru,


you asked me  if I had some reason to  define  my GEarthView  temp
 directory  inside the plugin.

Well, now I found the reason:  where is the temp of  QGis2threejs,  in
MacOSX  ?

:(

I can not find it ...Also because you change HTML name   :)



Ciao

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

Re: [Qgis-developer] Fwd: Re: Cad-Input for QGIS prototype

2014-01-27 Thread Geo DrinX
Hello All,

There is a new category of GIS users: drone's users. There is already the
 Video UAV Tracker for Qgis.



Yes,  true !

As you can see in this image:

https://drive.google.com/file/d/0Bwg_m86uaXY1Yy1IUW8tcFRMdTA/edit?usp=sharing


For that I created a new plugin, named  DronePlanner, that has the
following functions:


1)  create a  DronePlan  along a line, calculating  intermediate  points,
with a delta distance from focal and CCD parameters, with direction angle
shift.

2) create a zig-zag path to cover an area.

3) display the path simulation on GoogleEarth,  and take from GE the angle
parameters to recalculate the path again.

4) export the path in MikroKopter format.


Who is interested ?   :)


Roberto






 The user also need functions, like creating a group of parallel lines
 oriented along some heading and spaced by a sonar range, all these lines
 clipped by a polygon. These actions have to be done just using the mouse
 (not by creating / naming / loading a shapefile at each step of the
 process) and the keyboard to input coordinates, with transforming
 DDD°MM''' to DDD°MM.' or DDD.DD facilities for example, etc.

 So, to build this itinerary, we need CAD-like input, and there's almost
 nothing in Qgis really user friendly. Within my colleagues, every one knows
 Qgis, but won't even try to use it for this lack. So, we use expansive
 softwares, and Qgis is sometimes the swiss knife to transform data from one
 software to another.


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

Re: [Qgis-developer] Lidar data into QGIS

2014-01-31 Thread Geo DrinX
Hello Alvaro,

I just writed a program that displays in real time LiDAR point cloud data.

That program, named LaserDrink reads quickly TerraSolid Laser BIN format
( the father of LAS ... )  and writes a temporary WRL file that the Coin3D
viewer, then,  displays.
My temp WRL  contains the point cloud class, or the RGB photo color, or
the color by height.   Also, the point aspect can be set, and it is
possible to display them greater or smaller, to realize a 3D photo like
visualization.

OK, this was LaserDrink.BTW, with it, I could insert TODAY the support
in QGis of LiDAR poin cloud real time display.

Someone is interested ?

:)

Ciao

Roberto


2014-01-31 A Huarte ahuart...@yahoo.es:

 Although I know you're going to try it in Vienna, I would like to recover
 the idea of creating a new type of layer (eg QgsPointCloudLayer) that
 inherits from QgsVectorLayer to provide all the basic vector functionality
 (including a new simplification of proximity to fast rendering), and add
 extra capabilities for these data types: output rasters, 3D profiles, 3D
 visualization in plugins ...

 Best Regards
 Alvaro

   --
  *De:* Paolo Cavallini cavall...@faunalia.it
 *Para:* Larry Shaffer lar...@dakotacarto.com
 *CC:* qgis-developer qgis-developer@lists.osgeo.org
 *Enviado:* Viernes 31 de enero de 2014 7:53

 *Asunto:* Re: [Qgis-developer] Lidar data into QGIS

 Il 30/01/2014 18:41, Larry Shaffer ha scritto:

  To revisit your original immediate need, does the output from Howard's
  Hexer tool visualize what you are looking for?
 
  https://github.com/hobu/hexer

 Hi Larry,
 we do not have immediate needs, it's a mid-term goal to make LAS data
 available in QGIS.
 Thanks anyway for the suggestion, interesting; probably it would be good
 to check if there is something we can integrate or reuse.
 All the best.
 --
 Paolo Cavallini - www.faunalia.eu
 QGIS  PostGIS courses: http://www.faunalia.eu/training.html
 ___
 Qgis-developer mailing list
 Qgis-developer@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-developer



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

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

[Qgis-developer] Spline plugin bug on QGis 2.0.1 64 bit Windows

2014-02-07 Thread Geo DrinX
Hello all,


as in object, something other had my same error, closing a spline path ?


Traceback (most recent call last):
  File C:\Users\rrr/.qgis2/python/plugins\spline\spline.py, line 97, in
canvasPressEvent
self.createFeature()
  File C:\Users\rrr/.qgis2/python/plugins\spline\spline.py, line 145, in
createFeature
if dlg.exec_():
AttributeError: 'NoneType' object has no attribute 'exec_'

Versione Python:
2.7.5 (default, May 15 2013, 22:44:16) [MSC v.1500 64 bit (AMD64)]


Thank you for any info about it

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

[Qgis-developer] How to generate DTM iso-curves of QGis canvas ?

2014-02-11 Thread Geo DrinX
Hello all,


a simple question:)

How to generate the SHP curves  of a DTM layer ,  only inside the current
QGis view,  quickly and faster ?

I tested with Processing   Grass   Nviz ...   but nothing appears  (after
10 minutes of waiting... )

Other ideas ?   For example,  the  gdal_contour  command  can also take as
input a window ?


Thank you in advance for any info about it

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

Re: [Qgis-developer] How to generate DTM iso-curves of QGis canvas ?

2014-02-11 Thread Geo DrinX
Hello Martin,


If your DTM raster is in *.bil or *.asc format then you can use LAStools'
 las2iso or blast2iso from the LiDAR Processing toolbox.


Ok.  :)

But,  my DTM is a simple GeoTIFF.  :(

Do you know if  gdal  permits  to create  curves from a GeoTIFF  DTM,
clipped  by  a rectangle BBOX ?

Perhaps,  I need to clip my DTM, before, with  the  gdal_translate   and
then  send the result to  gdal_contour ...

There is no way to do it in a single shot ?   :)

Who knows ?


Thank you

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

[Qgis-developer] QGis2threejs digitize example

2014-02-11 Thread Geo DrinX
Hi Minoru,


look at this example I created:

https://googledrive.com/host/0Bwg_m86uaXY1RDRrVXpnT2JoV2c/index.html

as you can see,  the pink cube near the  67  number  have a bug  on the
roof  :(

What can be the reason ?



Ciao

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

[Qgis-developer] How to display the cursor Z info in the QGis staus bar ?

2014-02-12 Thread Geo DrinX
Hello all,


as in object,  I need to display the current cursor Z info into the QGis
staus bar.

Of course, I have a DTM layer in QGis list:)

It just exists something that does something similar ?


Thank you in advance for any info about this.


Regards

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

[Qgis-developer] About Point Samplig Tool plugin

2014-02-14 Thread Geo DrinX
Hello All,


perhaps there is a problem with PointSamplingTool plugin,  using layers
with different SRS.

In fact, I found all the resulting fields of the output SHP  with NULL .

Somebody test it,  recently ?  Could you help me  ?


Thank you

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

[Qgis-developer] And ... Ecw ? :)

2014-02-28 Thread Geo DrinX
Hello all,


yet, like every time, every new version of QGIS lacks the support of the
ECW format :)

I am using QGis 2.2.0-3 MacOSX version, ( but also Win version has not ).

My problem:  I need of Ecw .   Somebody can help me ?   (  please, no
reply about to change format  :)



Thank you

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

[Qgis-developer] Numpy error in my QGis 2.2.0-3 MacOSX

2014-03-01 Thread Geo DrinX
Hello all,



As in object,  I have this error :



RuntimeError: module compiled against API version 9 but this version of
numpy is 7
Versione Python:
2.7.1 (r271:86832, Jun 16 2011, 16:59:05)
[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)]
Versione di QGIS:
2.2.0-Valmiera Valmiera,




I installed   GDAL_Complete-1.10  that contains  also NumPy.pkg  that is
the 1.6.2-1 2012-8-21 version .


May I install some other version of NumPy  ?   Where I need to download it ?



Thank you for any help


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

Re: [Qgis-developer] Numpy error in my QGis 2.2.0-3 MacOSX

2014-03-01 Thread Geo DrinX
Hi William,


I downloaded  GDAL from here:

http://www.kyngchaos.com/files/software/frameworks/GDAL_Complete-1.10.dmg


and it contains:

GDAL Framework 1.10.1-1 2013-9-2

NumPy Python Module  1.6.2-1 2012-8-21


It is not the correct download link ?


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

Re: [Qgis-developer] Numpy error in my QGis 2.2.0-3 MacOSX

2014-03-01 Thread Geo DrinX
William,


2014-03-01 20:42 GMT+01:00 William Kyngesburye wokl...@kyngchaos.com:

 When did you download that?  The current GDAL Complete is dated
 2013-12-21, with GDAL 1.10.1-1 (2013-9-2) and NumPy 1.8 (2013-12-7).


I download 1 hour ago ...


But now, I found this other:

http://www.kyngchaos.com/files/software/python/NumPy-1.8.0-1.dmg

and it seems to work   :)



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

Re: [Qgis-developer] What about a qgis project add function ?

2014-03-01 Thread Geo DrinX
Hi Regis,

do you intend this :

ImportProject is a plugin that lets you load layers from another project
file. Just select a project (.qgs) file,

check off the layers you wish to load, and it will include them in your
current project with all styling.

Works with vector, raster, database and web service layers.


Barry barry.rowling...@gmail.com


?


I have a note :   in the Info panel, you have CopyPasta in the title   :)


And ,  you have right :  it should be insert under the Project menu, and
not only between Plugins   :)



BTW, Great !!!



Roberto





2014-03-01 22:07 GMT+01:00 Régis Haubourg 
regis.haubo...@eau-adour-garonne.fr:

 Hi,
 In fact, what would be great is a small evolution of Embed Group and layers
 actions.
 I would love to call it Add or embed from other project, and just add a
 checkbox choose embed or hard copy of the layers and groups. Existing
 dialog
 is already correct.
 I just ported Import Project plugin to 2.0 to satisfy that need. Just be
 aware that you need to give a new id to imported layers, to be able to
 import some layers n times. Code is quite simple, I would love to see that
 in core!
 Régis





 --
 View this message in context:
 http://osgeo-org.1560.x6.nabble.com/What-about-a-qgis-project-add-function-tp5106777p5106860.html
 Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
 ___
 Qgis-developer mailing list
 Qgis-developer@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-developer
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] No module named Tkinter :(

2014-03-05 Thread Geo DrinX
Hello All,


as in the object, I had that message, loading the Contour plugin.

My problem is:  where can I download Tkinter ?   How can be installed ?

It is not clear.   I searched with Google, but I have not found any
download link.

Sure, I will wait ansiously new Luca Mandolesi plugin that will solve the
problem of the  python missing classes ... Bravo Luca !

But, for now, somebody can help me ?


Thanks for any info and help

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

[Qgis-developer] RealCentroid plugin error

2014-03-06 Thread Geo DrinX
Hello all,


as in object, I had an error from  RealCentroid plugin  in  QGis 2.2  on
Windows 7  64 bit.

This is the error:

Traceback (most recent call last):
  File C:/Users/rrr/.qgis2/python/plugins\realcentroid\realcentroid.py,
line 124, in run
self.centroids()
  File C:/Users/rrr/.qgis2/python/plugins\realcentroid\realcentroid.py,
line 93, in centroids
x2 = part[1][0]
IndexError: list index out of range


Of course, the resulting centroid layer is empty   :(


Somebody can help me to understand what happens ?


Thanks a lot and Regards

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

[Qgis-developer] QGis Spline plugin

2014-03-06 Thread Geo DrinX
Hello All,


I am  trying  the Spline plugin with   QGis  2.2  on  Windows 7, but I
obtain this error:


Traceback (most recent call last):
  File C:/Users/rrr/.qgis2/python/plugins\spline\spline.py, line 96, in
canvasPressEvent
self.createFeature()
  File C:/Users/rrr/.qgis2/python/plugins\spline\spline.py, line 144, in
createFeature
if dlg.exec_():
AttributeError: 'NoneType' object has no attribute 'exec_'


Someone can help me ?


Thank you

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

[Qgis-developer] My God: plugin palette disappeared :(

2014-03-07 Thread Geo DrinX
Hello all,


this morning I had a bad surprise in my QGis 2.2 64 bit  on  Windows 7 :

the plugin palette disappeared, and there is no way to find it, or to make
it reappear.


Someone other had same problem ?

I have seen in   View  ToolsPlugins   checkbox, but it is checked  (
ON ).

I have also seen in  Impostazioni  Personalizzazione  (sorry, my QGis
is in italian...)  and  Toolbars  mPluginToolBar   is also ON.

But,  the plugin toolbar  is not shown, in any place.

I moved all other Toolbar, to search if the Plugins toolbar was hidden
under another.   No.   It is probably in the HiperSpace   :)


Also, I tried to re-install completely  QGis 2.2.  :   nothing changed.


Could somebody help me.Need I to switch to some other Arc program   ?
  ;)

I am joking, but I don't know how to use QGis, now,   also to test my own
plugins  :(


Thank you for any help

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

Re: [Qgis-developer] [Gfoss] Fwd: My God: plugin palette disappeared :(

2014-03-10 Thread Geo DrinX
Hello All,


My Plugins Toolbar desappeared in the hiperspace  :(

But,  with the help of Antonio ( that I thank publicly )  it returned on
the screen :


 PLUGINS = CONSOLE PYTHON

 *qgis.utils.iface.pluginToolBar().move(0,0)*


Thanks,  Antonio !  :)

BTW,  I think   QGis permits  t  looong  tlbar, as you can see
here:

https://drive.google.com/file/d/0Bwg_m86uaXY1T1hyTm1TdHRYV1U/edit?usp=sharing


What about a group for QGis interface restiling ?   I am sure it just
exists.

If not,  I would like to create the restiling group  :)


Regards

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

[Qgis-developer] A stupid problem with python, that is making me more stupid :)

2014-03-11 Thread Geo DrinX
Hello All,


as in object,  I had an error from python, with my source code, that I do
not understand


CamNick = 90 - int(pitch)
ValueError: invalid literal for int() with base 10: '36.30'


Somebody can help me to understand why   36.30  is not  good to reurn an
int value ?

For me, is a mistery.  :(


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

Re: [Qgis-developer] What about QGis on Raspberry PI ... ?

2014-03-17 Thread Geo DrinX
Hello,


I found that Grass ricompiled on Raspberry PI :

http://grasswiki.osgeo.org/wiki/Raspberry_Pi

:)


Roberto



2014-03-16 9:15 GMT+01:00 Geodrinx geodr...@gmail.com:

 Hello All,

 I am interested to know if it could be possible to think about a QGis
 recompiling for the Raspberry PI  Linux Debian (Raspbian LXDE).

 Somebody tried ?

 Thank you for any info about this

 Roberto

 Inviato da iPhone
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] What about QGis on Raspberry PI ... ?

2014-03-17 Thread Geo DrinX
This is also interesting :

http://qt-project.org/wiki/Qt-RaspberryPi



Roberto


2014-03-18 1:25 GMT+01:00 Geo DrinX geodr...@gmail.com:

 Hello,


 I found that Grass ricompiled on Raspberry PI :

 http://grasswiki.osgeo.org/wiki/Raspberry_Pi

 :)


 Roberto



 2014-03-16 9:15 GMT+01:00 Geodrinx geodr...@gmail.com:

 Hello All,

 I am interested to know if it could be possible to think about a QGis
 recompiling for the Raspberry PI  Linux Debian (Raspbian LXDE).

 Somebody tried ?

 Thank you for any info about this

 Roberto

 Inviato da iPhone



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

Re: [Qgis-developer] New DronePlanner plugin for QGis

2014-03-31 Thread Geo DrinX
Hello All,

I just released a new version of DronePlanner plugin for QGis  ,  that
solves some error during area path calculations.

For who do not know it, DronePlanner permits so simulate photogrammetric
flight paths  for  Drones.

Please, test it and approve it, if you like.

http://plugins.qgis.org/plugins/DronePlanner/

Thank you


Regards
Roberto
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] How to create a Textual Note auto filled with fields ?

2014-04-03 Thread Geo DrinX
Hello All,


( Sorry for my english, but I try to explain my need as better as I know ).


I need to create  textual notes on many polygons, with QGis, and I would
like to automate more than possible the process.

For the moment, I created an Action, defined as following:


Note_ACTION

echo [%'\n\nPolygon  (mq) :\n' ||'Area: ' || toint( round ( $area)) || '\n'
|| 'Perimeter: ' || toint( round ($perimeter)) %]


In this way,  clicking on each polygon I have the text I need.   :)

But,  for the moment, it is necessary to copy the text and paste it inside
the  Textual Note.


It could be possible to... create the action in a way that creates directly
the  Textual Note with the text inside ?


Could somebody give me suggestions about this ?

Thank you in advance

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

Re: [Qgis-developer] How to create a Textual Note auto filled with fields ?

2014-04-04 Thread Geo DrinX
Hi Ramon and others,


 I'm assuming Textual Note is an Attribute Value.


No.  I intended  the Text Note function of QGis, that is the rectangular
baloon with text inside :

http://qgis.org/it/docs/user_manual/introduction/general_tools.html#annotation-tools

I need to fill the text automatically, using the action.

Do you know how to do it ?


Thank you

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

[Qgis-developer] QGis OSM_Editor_RemoteControl

2014-04-04 Thread Geo DrinX
Hello All,


I have problems with the  OSM_Editor_RemoteControl  plugin of QGis.

It  answers :  Could not connect to the OSM editor.  Did you start it ?

But... I started  Josm, as you can see here :

https://drive.google.com/file/d/0Bwg_m86uaXY1ZTN5U2FwcURVV1k/edit?usp=sharing


Where I wrong ?


Thank you for any info about it


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

[Qgis-developer] New plugin RasMover

2014-04-16 Thread Geo DrinX
Hello All,


I created a new plugin that move all active raster, using a new temporary
raster.

http://plugins.qgis.org/plugins/rasmover/


This plugin is very useful to fine collimate Raster with vector layers.


Please,  test it and approvate it if you like.


Thank you

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

[Qgis-developer] New plugin for QGis : RasMover

2014-04-19 Thread Geo DrinX
Hello All,


I created a new plugin that move all active raster, using a new temporary
raster.

http://plugins.qgis.org/plugins/rasmover/


This plugin is very useful to fine collimate Raster with vector layers.


Please,  test it and approvate it if you like.


Thank you

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

[Qgis-developer] GEarthView 1.05

2014-05-20 Thread Geo DrinX
Hello All,


I updated GEarthView to 1.0.5  version, that fixes a bug when reprojection
is active.

This version also inserted a link to OSRM.


Regards

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

Re: [Qgis-developer] spherical trigonometry

2014-06-10 Thread Geo DrinX
Hi  Giuliano,

I think this link can be useful :

https://code.google.com/p/gpsbabel/source/browse/trunk/gpsbabel/jeeps/gpsmath.cc?r=4619

expecially in  GPS_Math_LatLonH_To_XYZ  and the reverse
GPS_Math_XYX_To_LatLonHfunctions.

... also if is C++  source code  :(


Regards

Roberto


2014-06-09 0:12 GMT+02:00 giulianc51 giulian...@gmail.com:

 hi all,

 I'm studying for my own amusement, and with the aim of deepening
 coordinate transformations, the spherical trigonometry;

 I'm building a tool to display the different configurations of
 spherical models: point in spherical and / or Cartesian coordinates,
 vectors, great and small circles, arcs, triangles, etc..

 I follow in this study the text of I.Todhunter and J.G.Leathem,
 Spherical Trigonometry, McMillan, London 1914

 I think, at the end of the path, turn it into a plugin for QGIS
 so that it can facilitate the use in the educational environment;

 the code so far available (in standalone version) is published on
 github.com/giulianc/stalt4qgis;

 all the advices, contributions and criticisms are welcome;


 t.i.a., best regards, sfmbe(*),
 giuliano


 (*) sorry for my bad english :-)









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

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

[Qgis-developer] New version of GEarthView plugin (1.0.7)

2014-07-09 Thread Geo DrinX
Hello all,

I inserted a new version of GEarthView 1.0.7 ,   that solves a bug (with
accentated characters).

Now GEarthView is moved in Web menu, and it has new palette a buttons
(thank s to Aldo Scorza).

Please, test it and approve it, if you like.

:)

Regards

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

Re: [Qgis-developer] Proposal: Change delete selction and deselect icons

2014-07-10 Thread Geo DrinX
Hi Nathan,


2014-07-10 8:26 GMT+02:00 Nathan Woodrow madman...@gmail.com:

Could the deselect and delete selected features have a change in icons.
  Both these icons look very a like and preform very different actions.



 [image: Inline image 2]

 I would like to suggest some form of bin icon, or a red cross for delete.

 Thoughts?



+1 for a waste bin icon

For example, something like this :

http://findicons.com/icon/29948/trash_empty


Good !

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

[Qgis-developer] Zoom on selection (Ctrl-J)

2014-07-15 Thread Geo DrinX
Hello All,


I noticed that  Ctrl-J  zoom on selection  does not work.

Some other can confirm this ?


Other question:  there is a way to move the the selection to the next
element, using a keystroke ?


Thank you for any info


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

[Qgis-developer] New SeleNext plugin for QGis

2014-07-15 Thread Geo DrinX
Hello All,

I inserted a new plugin for QGis that moves the selection to next elements.

Please test it and approve it, if you like.


Thank you

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

[Qgis-developer] Fwd: I domini nei campi sono spariti ?

2014-07-16 Thread Geo DrinX
Hello All,


I noticed something unexpected in version 2.4 of QGis.

If I define a map values​​ (ie, a domain) on a field, associating a csv
file in the panel Fields of  Properties, and saving the style of the layers
in a QML file, it does not contain the definition of the domain of the field
(as was the case in version 2.2),
and the reopening of the SHP file,  the domain has disappeared !

It is a bug ?


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

[Qgis-developer] To Save Ogr Layer in VRT

2014-09-04 Thread Geo DrinX
Helllo All,

Someboby knows if exists a QGIS function  to save a QGIS vector layer into
Ogr VRT definition format ?

Thank you for any info about this.


Regards

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

Re: [Qgis-developer] To Save Ogr Layer in VRT

2014-09-04 Thread Geo DrinX
Hello Zoltan,


  a VRT is a Virtual Raster Table and applies to raster data not Vector
 data.
 gdal deals with raster, and ogr with vector.


VRT is not only for Raster .You will find this article very interesting
:

http://www.portailsig.org/content/ogr-que-la-force-soit-avec-les-formats-virtuels


:)


So, Vector  VRT  are very powerful ,   and I repeat the question :   it
just exists a QGIS menu function or other to save  vector layer VRT
definition file ?


Thank you again for any info about this

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

[Qgis-developer] How to set a QGIS layer Not editable ?

2014-09-04 Thread Geo DrinX
Hello all,

as in object,  somebody knows a way to set a layer not editable  ?


Thank you for infos about this.


Regards

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

[Qgis-developer] In the Browser panel *.qgs files are not visible

2014-09-05 Thread Geo DrinX
Hello all,


I noticed that into QGIS Browser panel   are not visible  the *.qgs project
files.

I think it would be very useful to be able to load levels through the project
file.

What do you think  ?


Regards

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

[Qgis-developer] About python OpenGL

2014-09-17 Thread Geo DrinX
Hello All,


I noticed that into  QGIS   \apps\Python27\Lib\site-packages\ there is
an  OpenGL\directory.

Someone is already using it or experimenting with it  ( of course, in QGIS
) ?


Thank you

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

[Qgis-developer] How to send a point to the current edit function with pyQGIS ?

2014-09-19 Thread Geo DrinX
Hello,

as in object, I need to send a point, from pyQGIS, to the current editing
layer function.

Is this possible ?   There is a source example  ?


Thank you

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

Re: [Qgis-developer] Module dependencies

2014-09-25 Thread Geo DrinX
About the python dependencies, I propose to share a list of dependencies of
the plugin, where everyone can add and propose those necessary to its
plugin.

This list could then be taken into consideration during the release of the
new version of QGIS, which may already contain them.

For example, I (will) need of :

qtreactor
twisted
zope


It is impossible to add them to QGIS ?



Regards

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

[Qgis-developer] mapRenderer.render(imagePainter)

2014-09-26 Thread Geo DrinX
Hello,

I noticed that using  the.render()function  with  pyQgis  2.2
the labels are not  visible.

This is my test source code :


iface = qgis.utils.iface

mapRenderer = mapCanvas.mapRenderer()
mapRect = mapRenderer.extent()
width = mapRenderer.width()
height = mapRenderer.height()
srs = mapRenderer.destinationCrs()

# create output image and initialize it
image = QImage(QSize(width, height), QImage.Format_ARGB32)
image.fill(0)

#adjust map canvas (renderer) to the image size and render
imagePainter = QPainter(image)

zoom = 1
target_dpi = int(round(zoom * mapRenderer.outputDpi()))


mapRenderer.setOutputSize(QSize(width, height), target_dpi)

mapRenderer.render(imagePainter)
imagePainter.end()

xN = mapRect.xMinimum()
yN = mapRect.yMinimum()

nomePNG = (TestImage)

input_file = out_folder + / + nomePNG + .png

image.save(input_file, png)


Somebody can test it and confirm ?Perhaps ,  it was introduced some
other parameter for the labels ,  from 2.4 version ?


Thank you in advance

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

Re: [Qgis-developer] Render with labels

2014-10-06 Thread Geo DrinX
Hello,

Sorry if I repeat my question that I sent some time ago,  but it seems
very relevant
to the topic.

I noticed that using  the.render()function  with  pyQgis  2.2
the labels are not  visible.

This is my test source code (taken from my GEarthView plugin):


iface = qgis.utils.iface

mapRenderer = mapCanvas.mapRenderer()
mapRect = mapRenderer.extent()
width = mapRenderer.width()
height = mapRenderer.height()
srs = mapRenderer.destinationCrs()

# create output image and initialize it
image = QImage(QSize(width, height), QImage.Format_ARGB32)
image.fill(0)

#adjust map canvas (renderer) to the image size and render
imagePainter = QPainter(image)

zoom = 1
target_dpi = int(round(zoom * mapRenderer.outputDpi()))


mapRenderer.setOutputSize(QSize(width, height), target_dpi)

mapRenderer.render(imagePainter)
imagePainter.end()

xN = mapRect.xMinimum()
yN = mapRect.yMinimum()

nomePNG = (TestImage)

input_file = out_folder + / + nomePNG + .png

image.save(input_file, png)


So, my question is :  how need to change my code to have labels again
visible ?

:)


Thank you for any link and answer

Roberto

2014-10-05 22:18 GMT+02:00 Anita Graser anitagra...@gmx.at:

 Am 05.10.2014, 18:54 Uhr, schrieb Larry Shaffer lar...@dakotacarto.com:

 Here's a small script you can use to test the Python bindings for labeling


 Thanks a lot Larry! I'll give it a try!

  Feel free to add this to the Cookbook. However, the API for labeling may
 change during the 2.7 dev cycle, if rule- and style-based labeling is
 introduced.


 You mean it will change without breaking it? ;-)


 Best wishes,
 Anita


 --
 anitagraser.com
 ___
 Qgis-developer mailing list
 Qgis-developer@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-developer

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

Re: [Qgis-developer] Render with labels

2014-10-06 Thread Geo DrinX
Hi Stefan,



 I did have some problems with dpi output and qgsmaprenderer. Martin Dobias
 helped me at the hackfest. Now I’m using qgsmaprendererjob classes and it
 works with custom dpi and labels


Great  !Thank you also to Martin   :)

I am studing your source code...

BTW,   are  qgsmaprendererjob   classes  introduced from 2.4 version ?

In that case, I need to use a conditional like this :

  if  QGis.QGIS_VERSION_INT  20200:
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] LecoS plugin installing Windows

2014-10-23 Thread Geo DrinX
Hello,


I am trying to install  LecoS  plugin for QGIS,  but I had the message :

No module named scipy


So, I searched for  scipy  library  and I want to install it, using

python setup.py install

but, again, I had other errors   :(


Can anyone help me?


Thank you in advance

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

Re: [Qgis-developer] LecoS plugin installing Windows

2014-10-23 Thread Geo DrinX
Hello Martin,


thank you for the immediate answer   :)

In your document I read about the OSGeo4W  installing.My (other)
question :   Is not possible to install  LecoS  in a normal  QGIS
standalone Desktop ?

BTW,  I will follow your instructions.


Thank you

Roberto

2014-10-23 11:26 GMT+02:00 martinjung martinj...@zoho.com:

 Hello Roberto,

 the guide I posted quite a while ago for QGIS 1.8 is still valid for all
 current versions.

 http://conservationecology.files.wordpress.com/2012/10/24072013_howtoinstallscipyforqgis.pdf
 Basically you need to specifically select numpy + scipy during the
 installation of QGIS.

 Cheers
 Martin

  Ein Do, 23 Okt 2014 09:21:54 +0200 *Geo DrinXgeodr...@gmail.com
 geodr...@gmail.com* hat geschrieben 

 Hello,


 I am trying to install  LecoS  plugin for QGIS,  but I had the message :

 No module named scipy


 So, I searched for  scipy  library  and I want to install it, using

 python setup.py install

 but, again, I had other errors   :(


 Can anyone help me?


 Thank you in advance

 Roberto




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

[Qgis-developer] VTerrain plugin new version 1.0.1

2014-11-06 Thread Geo DrinX
Hello,


I uploaded a new version of VTerrain plugin (1.0.1).

This fix a crash that occours with Info panel and QGIS  1.8


Please, approve it, if you like  :)


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

[Qgis-developer] VTerrain plugin version 1.0.1

2014-11-07 Thread Geo DrinX
Hello,


I Submitted the new version of VTerrain inserting github as a repository and
tracker.

However, I did a stupid thing: I accidentally deleted the entire project
VTerrain in qgis repository (while I wanted to delete only the last version)
.

Then I re-created by inserting the latest version. So now, I lost the
historic version :(

Too bad. My question is: Can you recover?


OK, anyway, please see if it is in place and is approvable.


Thank you

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

Re: [Qgis-developer] issues in QGIS 2.6 when saving/working with projects saved in previous QGIS releases

2014-11-08 Thread Geo DrinX
Hi Matthias,



2014-11-08 9:44 GMT+01:00 Matthias Kuhn matthias.k...@gmx.ch:

 Hi Roberto,

 Can you open a bug report for this.


I will do soon.


 Please try to start QGIS with --noplugins and see if that makes a change
 for you.


I just done your test.  At this link you find the capture screen and
minidump file (the last one… :)

https://drive.google.com/file/d/0Bwg_m86uaXY1UTlodVVEa0luZzg/view?usp=sharing



Regards

Roberto




 Regards
 Matthias


 On 08.11.2014 09:19, Geodrinx wrote:
  It is not vague:
  my QGIS 2.6 on Win 7  64 bit crashes ever when exit with a minidump.
 
  I have no plugin loaded, also.
 
  Regards
 
  Roberto
 
  Inviato da iPhone
 
  Il giorno 07/nov/2014, alle ore 15:16, Andreas Neumann 
 a.neum...@carto.net ha scritto:
 
  Hi Giovanni,
 
  This is still too vague. We need to narrow down the issues.
 
  How about the plugins? Still crashes with no plugins?
 
  What data sources? Is MTR on or not?
 
  Please ask the reporter to provide more details and ask them to disable
 all plugins and retry.
 
  Andreas
 
  On 07.11.2014 14:53, Giovanni Manghi wrote:
  Hi all,
 
  we are getting quite a lot of feedback (in the tracker, lists,
  directly, etc.) from users that are getting crashes in QGIS 2.6 when
  working/saving projects made with previous QGIS releases, ex:
 
  http://hub.qgis.org/issues/11593
 
  http://hub.qgis.org/issues/11592
 
  and others.
 
  Any one was able to find a pattern that would allow to track the
  source of the issue?
 
  cheers
 
  -- Giovanni --
  ___
  Qgis-developer mailing list
  Qgis-developer@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/qgis-developer
  ___
  Qgis-developer mailing list
  Qgis-developer@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/qgis-developer
  ___
  Qgis-developer mailing list
  Qgis-developer@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/qgis-developer


 --
 Help getting QGIS to the next level of quality before November 15!
 http://blog.vitu.ch/10102014-1046/crowdfunding-initiative-automated-testing


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

Re: [Qgis-developer] issues in QGIS 2.6 when saving/working with projects saved in previous QGIS releases

2014-11-08 Thread Geo DrinX
http://hub.qgis.org/issues/11600


Roberto

2014-11-08 14:04 GMT+01:00 Geo DrinX geodr...@gmail.com:

 Hi Matthias,



 2014-11-08 9:44 GMT+01:00 Matthias Kuhn matthias.k...@gmx.ch:

 Hi Roberto,

 Can you open a bug report for this.


 I will do soon.


 Please try to start QGIS with --noplugins and see if that makes a change
 for you.


 I just done your test.  At this link you find the capture screen and
 minidump file (the last one… :)


 https://drive.google.com/file/d/0Bwg_m86uaXY1UTlodVVEa0luZzg/view?usp=sharing



 Regards

 Roberto




 Regards
 Matthias


 On 08.11.2014 09:19, Geodrinx wrote:
  It is not vague:
  my QGIS 2.6 on Win 7  64 bit crashes ever when exit with a minidump.
 
  I have no plugin loaded, also.
 
  Regards
 
  Roberto
 
  Inviato da iPhone
 
  Il giorno 07/nov/2014, alle ore 15:16, Andreas Neumann 
 a.neum...@carto.net ha scritto:
 
  Hi Giovanni,
 
  This is still too vague. We need to narrow down the issues.
 
  How about the plugins? Still crashes with no plugins?
 
  What data sources? Is MTR on or not?
 
  Please ask the reporter to provide more details and ask them to
 disable all plugins and retry.
 
  Andreas
 
  On 07.11.2014 14:53, Giovanni Manghi wrote:
  Hi all,
 
  we are getting quite a lot of feedback (in the tracker, lists,
  directly, etc.) from users that are getting crashes in QGIS 2.6 when
  working/saving projects made with previous QGIS releases, ex:
 
  http://hub.qgis.org/issues/11593
 
  http://hub.qgis.org/issues/11592
 
  and others.
 
  Any one was able to find a pattern that would allow to track the
  source of the issue?
 
  cheers
 
  -- Giovanni --
  ___
  Qgis-developer mailing list
  Qgis-developer@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/qgis-developer
  ___
  Qgis-developer mailing list
  Qgis-developer@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/qgis-developer
  ___
  Qgis-developer mailing list
  Qgis-developer@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/qgis-developer


 --
 Help getting QGIS to the next level of quality before November 15!

 http://blog.vitu.ch/10102014-1046/crowdfunding-initiative-automated-testing



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

Re: [Qgis-developer] issues in QGIS 2.6 when saving/working with projects saved in previous QGIS releases

2014-11-08 Thread Geo DrinX
Giovanni,


try (backup) and delete the .qgis2 folder, I have seen this a lot on
 qgis installations where qgis was previously installed, and purging
 .qgis2 usually works.


Great !!!   :) Now it works.I will test inserting plugins one by
one.

I updated the issue list


Thank you   :)

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

Re: [Qgis-developer] Stability (2.8 LTS) vs development (3.0), a proposed way forward

2014-11-09 Thread Geo DrinX
Yes yes yes.

+1

but also +999 :)


Roberto

2014-11-10 2:27 GMT+01:00 Mathieu Pellerin nirvn.a...@gmail.com:

 Guys,

 The recent thread Nyall kick-started with his  “QGIS 3.0?” email got me to
 think about the eternal stability vs. development dilemma it (re-)exposed
 through the conversation.

 More specifically, it got me to brainstorm on the best way forward for
 QGIS at this juncture and whether there's a way to accommodate both the
 folks calling for a 2.8 LTS version, and others in need for space to
 further develop and expand QGIS' capability.

 And, I might just have found a way to do so. Here's the proposal, in a
 couple of points:

 - We make the 2.8 development cycle “fix and refinement”-only, and reduce
 the cycle's length to 6 to 8 weeks;
 - The reduced cycle will help everyone's focus on the above goal;
 - We append the freed 8-10 weeks to the subsequent development cycle,
 which would become QGIS 3.0;
 - The expanded cycle will help give space to develop some of the exciting
 features being cooked by developers (Nyall's Layouts, Marco's Geometry
 redesign, etc.) and bulletproof those.

 This, IMHO, caters to both groups demanding stability and space for
 development. It doesn't discourage or delay too much the grand scheme
 changes, and pushes out a 2.8 version focused on stability through a
 shorter cycle focusing on delivering a perfected tool.

 The above proposal does require a momentary lapse of the nice 4-month
 release cycle rhythm which the QGIS has successfully maintained for three
 releases now. But, it might actually be what's needed at this very time.
 Plus, the length of the two cycles stays the same, 8 months.

 Comments? I'm obviously particularly interested in what Jürgen has to say
 :)

 Cheers

 Math

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

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

  1   2   >