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 Minoru Akagi
2014/1/2 Geo DrinX geodr...@gmail.com:
 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 ?

Yes, it is exaggerated (x 1.5) currently.

Minoru
___
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 Minoru Akagi
Hi Roberto,

Happy new year to you, too. : )

2014/1/2 Geo DrinX geodr...@gmail.com:
 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 ?

Interesting, but I have not tested it yet.

Regards,
Minoru
___
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

Re: [Qgis-developer] OSM address search

2014-01-02 Thread Régis Haubourg
Paolo Cavallini wrote
 Any news from the plugin developers?

Hi folks, happy new year to all of you,
Xavier is on vacations, I'll forward your messages. Merging the two plugins
is a good idea, in fact Xavier coded his plugin and discovered the other one
after when I asked him to rename it from Nominatim to a more user explicit
name. We had done a private plugin using our postgis ressources to locate
places, and Xavier wanted to make a public version of it, using Nominatim.
speaking of functionnal needs,  we have several other place search
services we wish to use, like french geoportal's one (requiring a key),
google's one. If porting it to core, we should allow users to choose which
location service they want to use, with specific parameters.. If not, we
will fork another plugin.. killing the advantage of having a core plugin.. 

Early 2014 will be a very busy period for us, I'm not sure we can invest a
lot on the plugin, and will still have  some others to upgrade , like
EaysCutomLabeling for instance. 

I'll let you know next week. 
Cheers
Régis




--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/OSM-address-search-tp5095877p5096117.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] [Feature][Processing] Headless

2014-01-02 Thread Salvatore Larosa
Hi,

I just tested it and works wonderfully!
I also have tried it as web process for PyWPS and works very well!

Thanks a lot for this!

Best Regards,
-SL

On Mon, Dec 16, 2013 at 3:46 PM, rldhont rldh...@gmail.com wrote:

 Hi dev,

 I just created a pull request to run QGIS-Processing headless.
 I have tested it with a qgis and a modeler algorithm.

 https://github.com/qgis/QGIS/pull/1031

 Review and comments are welcome

 To test QGIS Processing algorithm headlessly, you can use this python code
 __

 import sys, os
 import inspect

 from PyQt4.QtCore import *
 from PyQt4.QtGui import *
 from qgis.core import *


 # supply path to where is your qgis installed
 QgsApplication.setPrefixPath(/path/to/your/qgis/build, True)

 # load providers
 QgsApplication.initQgis()

 # load a project
 p = QgsProject.instance()
 p.read( QFileInfo( /path/to/a/project.qgs ) )

 # init QApplication for processing
 a = QApplication( sys.argv )

 # init QGIS Processing
 from processing.core.Processing import Processing
 cmd_folder = os.path.split(inspect.getfile(inspect.currentframe()))[0]
 if cmd_folder not in sys.path:
 sys.path.insert(0, cmd_folder)
 Processing.initialize()

 # import QGIS Processing tools
 from processing.tools import *

 # print an algorithms search
 general.alglist( 'buffer')

 # print an algorithm help
 general.help( 'qgis:fixeddistancebuffer' )


 # run an algorithm
 alg = Processing.getAlgorithm( 'qgis:fixeddistancebuffer' )
 general.runalg( 'qgis:fixeddistancebuffer', '/vector/layer/input/uri',
 0.1, 5, False, '/vector/layer/output.shp' );

 # quit
 QgsApplication.exitQgis()
 

 export PYTHONPATH=/path/to/build/share/qgis/python:/path/to/
 build/share/qgis/python/plugins
 export LD_LIBRARY_PATH=/path/to/build/lib
 python my_scrpit.py
 _

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




-- 
Salvatore Larosa
linkedIn: http://linkedin.com/in/larosasalvatore
twitter: @lrssvt
skype: s.larosa
IRC: lrssvt on freenode
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer