Re: [Qgis-developer] missing python bindings for new functions in qgsrasterdataprovider

2012-08-29 Thread Radim Blazek
On Aug 28, 2012 5:59 PM, Etienne Tourigny etourigny@gmail.com wrote: Hi, I am trying to update a plugin (valuetool) to the new api, and there are a number of functions missing from the bindings (related to stats, histograms and pyramids, among others) because they were moved from

Re: [Qgis-developer] implement data provider in python?

2012-08-29 Thread G. Allegri
Anybody interested in developing the concept and evaluating its feasibility? I'm considering the possibility to sponsor it. giovanni Sent from Nexus Il giorno 28/ago/2012 00:11, G. Allegri gioha...@gmail.com ha scritto: AFAIK it isn't possible to register a python script as a dataprovider.

Re: [Qgis-developer] Sextante - OTB plugin and SAR data in Mac OS X

2012-08-29 Thread Julien Malik
Noli, Le 29/08/2012 06:14, Noli Sicad a écrit : Hi William, Thanks having a go with this. I am using Mountain Lion (10.8.1). Would it help if I am going to create this folder, /Developer/SDKs and copy the MacOSX10.8.sdk from Xcode? The end result would be like this (below) for the

Re: [Qgis-developer] Sextante - OTB plugin and SAR data in Mac OS X

2012-08-29 Thread Julien Malik
Hi Noli, Check the cmake variables and verify they point to actual directories. You are getting this error since the cmake variable you are using are not defined. Julien Le 29/08/2012 07:33, Noli Sicad a écrit : Hi Julien, I tried your script and I got this error (below) Noli

Re: [Qgis-developer] Sextante - OTB plugin and SAR data in Mac OS X

2012-08-29 Thread Noli Sicad
Hi Julien. Thanks. You are missing the last argument in the cmake command line, specifying the source directory. Read again the command line provided by William, and don't miss the .. I am almost there :-). gdal problem. ## Last login: Wed Aug 29 15:29:48 on ttys011

Re: [Qgis-developer] Sextante - OTB plugin and SAR data in Mac OS X

2012-08-29 Thread Noli Sicad
Hi Julien, OK. Check the cmake variables and verify they point to actual directories. You are getting this error since the cmake variable you are using are not defined. I inserted this: SET (CTEST_BINARY_DIRECTORY /Users/nsicad/Documents/Work_1new/OTB/build) I got gdal problem as well

Re: [Qgis-developer] implement data provider in python?

2012-08-29 Thread Barry Rowlingson
I have a vague memory that the python data provider idea was considered a while ago. I was thinking about how one could get direct access from Qgis to R spatial data sets stored in R's binary files. One method would have been to write a provider in python that used Rpy to bridge to R, but wasn't

Re: [Qgis-developer] Sextante - OTB plugin and SAR data in Mac OS X

2012-08-29 Thread Julien Malik
Hi, First please change the CTEST_SITE variable in the script (put something as noli or whatever), otherwise you will overwrite my submissions to [1]. It seems like you have internet access issue (see errors at the end of the script, maybe missing http_proxy env var) so your build results did

Re: [Qgis-developer] implement data provider in python?

2012-08-29 Thread G. Allegri
Hi Barry, you can't write data providers in Python. This is the point: I wonder if this is in absolute or it is in this moment. Given Qgis can load python and C++ plugins, I wondered if a similar thing could be achieved for data providers. I can imagine two ways: - extend the data provider

Re: [Qgis-developer] Sextante - OTB plugin and SAR data in Mac OS X

2012-08-29 Thread Noli Sicad
Hi Julien, Yes, I will do these things that you mentioned below. First please change the CTEST_SITE variable in the script (put something as noli or whatever), otherwise you will overwrite my submissions to [1]. It seems like you have internet access issue (see errors at the end of the

Re: [Qgis-developer] Sextante - OTB plugin and SAR data in Mac OS X

2012-08-29 Thread Julien Malik
Hi, Le 29/08/2012 11:22, Noli Sicad a écrit : Hi Julien, Yes, I will do these things that you mentioned below. Meanwhile, I just test William's script with some addtion for the GDAL. Here is part of the logs. Nolis-MacBook-Pro:build nsicad$ cmake -D

[Qgis-developer] software to load a .qgs file

2012-08-29 Thread mohan kishore reddy
-- Thanks Regards, M. Mohan Kishore Reddy ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] code for loading .qgs file

2012-08-29 Thread mohan kishore reddy
Hi Friends, I am very new qgis, please send me some simple tutorials to load a vector map. Along with sources of getting india vector maps -- Thanks Regards, M. Mohan Kishore Reddy ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org

Re: [Qgis-developer] implement data provider in python?

2012-08-29 Thread Etienne Tourigny
On Wed, Aug 29, 2012 at 6:02 AM, G. Allegri gioha...@gmail.com wrote: Hi Barry, you can't write data providers in Python. This is the point: I wonder if this is in absolute or it is in this moment. Given Qgis can load python and C++ plugins, I wondered if a similar thing could be achieved for

Re: [Qgis-developer] missing python bindings for new functions in qgsrasterdataprovider

2012-08-29 Thread Etienne Tourigny
ok, gotcha I implemented the stats functions but there are still a few missing, related to recent changes but also quite a few before that. cheers Etienne On Wed, Aug 29, 2012 at 3:12 AM, Radim Blazek radim.bla...@gmail.com wrote: On Aug 28, 2012 5:59 PM, Etienne Tourigny

Re: [Qgis-developer] Sextante - OTB plugin and SAR data in Mac OS X

2012-08-29 Thread William Kyngesburye
OK, SDK fix. You figured out the first part - copy the SDK from the Xcode.app to /Developer/SDKs. Now it needs some symlinks to see outside the standard system stuff: mkdr /Developer/SDKs/MacOSX10.8.sdk/Library ln -s /Library/Frameworks /Developer/SDKs/MacOSX10.8.sdk/Library/ mkdir

Re: [Qgis-developer] Sextante - OTB plugin and SAR data in Mac OS X

2012-08-29 Thread William Kyngesburye
On Aug 29, 2012, at 4:34 AM, Julien Malik wrote: Hi, Le 29/08/2012 11:22, Noli Sicad a écrit : Hi Julien, Yes, I will do these things that you mentioned below. Meanwhile, I just test William's script with some addtion for the GDAL. Here is part of the logs.

Re: [Qgis-developer] implement data provider in python?

2012-08-29 Thread G. Allegri
you might be able to achieve that using plugin layers which are map layers that can be created and updated by plugins What do you mean Etienne? How can I serve a layer, dynamically, through a python plugin? I don't want to have a plugin that creates a memory layer, but that gets queried on

Re: [Qgis-developer] implement data provider in python?

2012-08-29 Thread Etienne Tourigny
I am not quite sure how it works, and there are few details available, maybe someone who knows how it works can provide some insight? The openlayer plugin is implemented as a plugin layer. It doesn't interact with other layers, but seems to do what you are talking about (gets queried on every

Re: [Qgis-developer] implement data provider in python?

2012-08-29 Thread G. Allegri
Thanks Etienne, I didn't know it. Yet it doesn't do exactly what I was thinking about, beacuse I suppose that the plugin layer cannot be managed as a true layer. AFAICS it has to implement the rendering operations, which set the style, etc. Having a plugin provider would require only to write the

[Qgis-developer] EasyCustomLabelling

2012-08-29 Thread Paolo Cavallini
Hi all. I guess the metadata are wrong, as the plugin keeps on asking to be upgraded. All the best. -- Paolo Cavallini - Faunalia www.faunalia.eu Full contact details at www.faunalia.eu/pc Nuovi corsi QGIS e PostGIS: http://www.faunalia.it/calendario

Re: [Qgis-developer] implement data provider in python?

2012-08-29 Thread Alister Hood
-- next part -- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/qgis- developer/attachments/20120829/14b512b8/attachment.html -- ___ Qgis-developer mailing list Qgis

Re: [Qgis-developer] Sextante - OTB plugin and SAR data in Mac OS X

2012-08-29 Thread Noli Sicad
Hi William and Julien, This one does not work. -D GDAL_CONFIG=/Library/Frameworks/GDAL.framework/Programs/gdal-config See this log. # Nolis-MacBook-Pro:build nsicad$ cmake -D CMAKE_INSTALL_PREFIX=/usr/local -D CMAKE_BUILD_TYPE=MinSizeRel -D CMAKE_OSX_ARCHITECTURES=x86_64 -D

Re: [Qgis-developer] Sextante - OTB plugin and SAR data in Mac OS X

2012-08-29 Thread William Kyngesburye
On Aug 29, 2012, at 9:18 PM, Noli Sicad wrote: Hi William and Julien, This one does not work. -D GDAL_CONFIG=/Library/Frameworks/GDAL.framework/Programs/gdal-config I guess GDAL_CONFIG is the wrong option ## However, this one works with still no support. -D