[Qgis-developer] API docs webpage Forbidden

2010-09-27 Thread G. Allegri
Hi. I urgently need to use the head API doc (I need it for a 1.4 compliant plugin) but the web page shows a Forbidden message. Is there any mirror, or will it be solved soon? Thanks, Giovanni ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org

Re: [Qgis-developer] API docs webpage Forbidden

2010-09-27 Thread G. Allegri
Well done, thx. 2010/9/27 Jürgen E. j...@norbit.de: Hi Tim, On Mon, 27. Sep 2010 at 11:06:54 +0200, Tim Sutton wrote: Macho web folks - can we host this in our vm too? Done.  I included the doxygen run in the debian nightly build script. The documentation is available on

Re: [Qgis-developer] fake GPS

2010-10-01 Thread G. Allegri
gpsfeed+ can sends output to a serial port. I suppose you could use a COM port redirector, like a null-modem emulator like [1], to pipe the output port into an input one. giovanni [1] http://sourceforge.net/projects/tty0tty/ 2010/10/1 Paolo Cavallini cavall...@faunalia.it: Il 01/10/2010 16:22,

Re: [Qgis-developer] Raster providers

2010-11-05 Thread G. Allegri
Thanks Radim! That was a feature I hoped to see since the first time I saw Qgis :) I'm going to check it out rigth now. giovanni 2010/11/5 Radim Blazek radim.bla...@gmail.com: Hi, I have created new branch 'raster-providers' for true raster providers support development which is my main task

Re: [Qgis-developer] Raster providers

2010-11-05 Thread G. Allegri
...@gmail.com: I appreciate your interest, but as I said, it is not usable at the moment, with a lot of luck you can display GRASS integer map, but you have to set min/max manually to get reasonable colors. Radim On Fri, Nov 5, 2010 at 10:08 AM, G. Allegri gioha...@gmail.com wrote: Thanks

Re: [Qgis-developer] REST services

2010-11-10 Thread G. Allegri
] giovanni [1] http://svn.reprojected.com/qgisplugins/trunk/qgisrest/vectorformats/Formats/ 2010/11/10 G. Allegri gioha...@gmail.com: Hi. As you know rest services are generics, and the semantics of arcgis server rest services responses must be known to parse them. The rest plugin, as far as I

Re: [Qgis-developer] REST services

2010-11-10 Thread G. Allegri
Hi. As you know rest services are generics, and the semantics of arcgis server rest services responses must be known to parse them. The rest plugin, as far as I see, are generics too. You can easily query an arcgis service (i.e. rest/services/your_service/MapServer?f=pjson) and you simply receive

Re: [Qgis-developer] Re: Raster providers

2011-01-10 Thread G. Allegri
Yes, it is. I've told the same to the Geotools guys ;) Nice because during holidays you remembered me about the approach Mapserer uses, and again I was wondering if it will ever be abopted in Geotools... Here it is :) giovanni 2011/1/10 Martin Dobias wonder...@gmail.com On Mon, Jan 10, 2011 at

Re: [Qgis-developer] Re: Raster providers

2011-01-18 Thread G. Allegri
What about an approach where the out-of-bound values are assigned the last value only if reprojection is used (and if the layer does not have a null value)? My two cents, from a user perspective. We're facing this dilemma with Geotools, where reprojected color mapped rasters (thorugh SLD)

Re: [Qgis-developer] plugin development in Win XP

2011-02-04 Thread G. Allegri
If you're able to build QGis, you're able to build the plugins too, as QGis has already builtin plugins. Have a look to this folder [1]. My first trial was create a new folder in my project (in VS I mean) and setup the same structure of the other plugins. Giovanni [1]

Re: [Qgis-developer] Re: [saga-gis-developer] saga - qgis interface

2011-02-17 Thread G. Allegri
It's a project we were thinking about a couple of years ago, but the project has stopped (we've had to move the founds to other projects) The approach was similar to yours, but I was thinking to a lower level binding: let saga odules read directly from Qgis in memory data structures, without

Re: [Qgis-developer] Plugin Development C++ Windows - Any response?

2011-02-18 Thread G. Allegri
Maaza, I think your approach doesn't help to give you a hand. The community cannot supply you the *time* you should invest in trying and, maybe, learning the necessary basics to do what you need. You shoud try and try and the, eventually, ask about things that go wrong. QGis plugins are C++, with

Re: [Qgis-developer] PostGIS enhancements

2011-02-25 Thread G. Allegri
The development version of QGIS, due shortly, is bringing us several I suppose you mean Postgis... giovanni important new features (see eg [0]). In particular, 3D and raster support. I know of the work being done on raster support through a plugin (which should be integrated in PostGIS

Re: [Qgis-developer] Raster on the fly

2011-03-10 Thread G. Allegri
I can confirm the r15416 fixed that problem (windows 7 32bit). I'm doing test on a 21698x24674 ArcInfo Binary Grid raster. It took minutes to load, and several seconds for each pan/zoom... giovanni 2011/3/10 Jürgen E. j...@norbit.de Hi Radim, On Thu, 10. Mar 2011 at 11:21:48 +0100, Radim

Re: [Qgis-developer] Raster providers

2011-03-10 Thread G. Allegri
Radim, the round() you added in qgsgdalprovider causes problems for me on VC++ ( http://trac.osgeo.org/qgis/browser/trunk/qgis/src/providers/gdal/qgsgdalprovider.cpp#L664 ). Should we add something like: #define round(dbl) dbl = 0.0 ? (int)(dbl + 0.5) : ((dbl - (double)(int)dbl) = -0.5 ? (int)dbl

Re: [Qgis-developer] Re: [GRASS-user] GRASS plugin

2011-03-22 Thread G. Allegri
Furthermore, 52N is in java, which will make things only worse. Could you argue this sentence? Thanks, Giovanni In addition, this does not seem a short term solution, and I think we need something working smoothly *now*. All the best. -- Paolo Cavallini: http://www.faunalia.it/pc

Re: [Qgis-developer] SAGA Interface

2011-03-31 Thread G. Allegri
I understand your point Paolo, and I can't contribute to C++ coding now, so I can't support it practically. But: - if Camilo can do it, he's welcome. I suppose he's conscious of what it means, also from a lon term support point of view... With GRASS module we have the same issues, am I wrong?

Re: [Qgis-developer] SAGA Interface

2011-03-31 Thread G. Allegri
You're right Camilo, python-saga bindings are available in source, as ready-to-use batch commands (saga_api_to_python_linux.sh and saga_api_to_python_win.bat): http://saga-gis.svn.sourceforge.net/viewvc/saga-gis/trunk/saga-gis/src/saga_core/saga_api/) to compile them through SWIG It means we have

Re: [Qgis-developer] SAGA Interface

2011-04-03 Thread G. Allegri
I was out yesterday, and I'm glad to see how things are going on! Camilo, I've browsed your repo but I can't find the parts where saga_cmd is being called... I suppose I missed some files. The python road is way more easy to develop and mantain, of course. I only fear dealing with large datas,

Re: [Qgis-developer] SAGA Interface

2011-04-03 Thread G. Allegri
About large files: I'm just worried by the overhead with data export and import between QGis and SAGA. That's why I was interested in a low level data structure binding between the two environments. But as I've said, it can be an improvements eventually, in case it will really result to be an

Re: [Qgis-developer] qgis orfeo GSoC

2011-04-07 Thread G. Allegri
Wow Mohammed, that would be great! Orfeo Toolbox [1] is one of the most powerful and full-fledged image analysis libraries I've seen around. I hope it will be accepted, good luck! giovanni [1] http://www.orfeo-toolbox.org/otb/ 2011/4/7 Mohammed Rashad mohammedrasha...@gmail.com

[Qgis-developer] some notes on building SAGA and its python bindings under Windows (to test and use Qgis-SAGA plugin)

2011-04-11 Thread G. Allegri
I sure some updated notes to compile SAGA and its Python APIs with VC 2008 Express. It skips some SAGA extensions, but it builds all the core and saga apis, both native and for Python. If you feel its usefull to help users to use the QGis-SAGA, you can use it and improve it... giovanni BUILDING

[Qgis-developer] Re: some notes on building SAGA and its python bindings under Windows (to test and use Qgis-SAGA plugin)

2011-04-11 Thread G. Allegri
. giovanni 2011/4/11 G. Allegri gioha...@gmail.com I sure some updated notes to compile SAGA and its Python APIs with VC 2008 Express. It skips some SAGA extensions, but it builds all the core and saga apis, both native and for Python. If you feel its usefull to help users to use the QGis-SAGA

Re: [Qgis-developer] Re: some notes on building SAGA and its python bindings under Windows (to test and use Qgis-SAGA plugin)

2011-04-13 Thread G. Allegri
As soon as I find a minute for it, I will publish my experience on a wiki page (where? I will see...). The pages from SAGA to build it under Windows are a bit outdated, respect to the src contents. I will ask Conrad if it's possible to update them. In this case I can remove mine. giovanni

Re: [Qgis-developer] Re: some notes on building SAGA and its python bindings under Windows (to test and use Qgis-SAGA plugin)

2011-04-13 Thread G. Allegri
On an unrelated note: Do you know if a particular python version is defined as target for QGIS plugins? I believe I read 2.3 somewhere, but can't find the source. I don't remember about a reference version. The Python libs shipped with Osgeo4w come from Python 2.5.2 Camilo

Re: [Qgis-developer] Re: some notes on building SAGA and its python bindings under Windows (to test and use Qgis-SAGA plugin)

2011-04-13 Thread G. Allegri
2011/4/13 G. Allegri gioha...@gmail.com On an unrelated note: Do you know if a particular python version is defined as target for QGIS plugins? I believe I read 2.3 somewhere, but can't find the source. I don't remember about a reference version. The Python libs shipped with Osgeo4w come

Re: [Qgis-developer] Re: MXD

2011-05-27 Thread G. Allegri
2011/5/27 Sandro Santilli s...@keybit.net: On Fri, May 27, 2011 at 09:30:49AM +0100, Barry Rowlingson wrote: On Fri, May 27, 2011 at 2:06 AM, Noli Sicad nsi...@gmail.com wrote: Nice toolbox for ArcGIS to QGIS! Now, we can migrate all ArcGIS.mxd to QGIS.qgs.  we? Only if you already

Re: [Qgis-developer] QGIS vs gvSIG

2011-06-23 Thread G. Allegri
2011/6/23 jr.morre...@enoreth.net Is this fork going to stay in sync with gvsig's trunk or is it going its own seperate path ? I thought that after last year's talks about differences between your OA edition and the official (but not public) tree the situation would have improved. What are

Re: [Qgis-developer] QGIS vs gvSIG

2011-06-23 Thread G. Allegri
Turning the discussion to a differences game there should be a lot to say, with pros and cons for both the softwares and communities. From my experience I would say that: - Qgis community processes are way much open then gvSIG. I think this depends on the fact that gvSIG was born with a public

Re: [Qgis-developer] QGIS for water

2011-06-27 Thread G. Allegri
I'm very glad to know that some steps have been made to implement the OpenMI framework in Python. It will also help to share and integrate models with JGrass, which is OpenMI compliant too. I hope we will be able to read your full draft ;) Thanksm Giovanni 2011/6/27 Robert Szczepanek

Re: [Qgis-developer] Calling GRASS From a Python QGIS Script

2011-06-28 Thread G. Allegri
The problem is probably related to the way the Subprocess module handles the I/O inside the QGis python console. It's a problem I've read about various times, and is specific of the Windows environemnt. Two thread I recently read about this are [1] and [2], and both consider it a Subprocess bug. I

Re: [Qgis-developer] Jython with QGIS

2011-06-28 Thread G. Allegri
QGIS is written in C++, and supports (C)Python scripting. Even if a C++/Java binding is technically possible, IMHO it isn't a advisable. Natural softwares for Jyhon/Java development can be gvSIG, uDig, OpenJump, and the rest of the Java gfoss tools.. giovanni 2011/6/28 Ornélio Hinterholz Junior

Re: [Qgis-developer] Mu powerful kit to develop GUI-oriented, based on top of Python and Qt for QGIS plugin

2011-07-18 Thread G. Allegri
Thanks Noli for the news... I hope to give it a look as soon as its hosting application will be working again. giovanni 2011/7/18 Noli Sicad nsi...@gmail.com Hi, I think this might be useful for creating GUI for Python QGIS plugins. Eric Jardim wrote: mu is a simple but powerful kit to

Re: [Qgis-developer] Native MS SQL 2008 Driver for QGIS

2011-09-05 Thread G. Allegri
+1 for having these native spatial drivers. I don't know about MS SQL, for Oracle you cannot distribute the required proprietary lib, which is however freely downloadable from Oracle. In any case this is required by the OGR driver too. PS: The OGR Oracle driver is quite unusable at now. It's very

[Qgis-developer] Qgis custom buil to read obfuscated data

2011-09-15 Thread G. Allegri
I've been asked to create a custom qgis, to be distributed via CD/DVD along with some data (vector and raster) that should be only visible and usable thorugh the customized qgis and not by any other tool. Has somebody in this list ever had to manage this kind of obfuscation? giovanni

Re: [Qgis-developer] Qgis custom buil to read obfuscated data

2011-09-15 Thread G. Allegri
to it. Is it forbidden by GPL license? I don't think... 2011/9/15 Niccolo Rigacci nicc...@rigacci.org On Thu, Sep 15, 2011 at 12:14:37PM +0200, G. Allegri wrote: I've been asked to create a custom qgis, to be distributed via CD/DVD along with some data (vector and raster) that should be only visible and usable

Re: [Qgis-developer] Qgis custom buil to read obfuscated data

2011-09-15 Thread G. Allegri
2011/9/15 Sandro Santilli s...@keybit.net On Thu, Sep 15, 2011 at 01:10:55PM +0200, G. Allegri wrote: @Sandro: it's a requirement I'm asked to implement, not an hypothesis to discuss. We can debate on the choice, but that's not my problem at now ;) Oh, I tought you was a free citizen

Re: [Qgis-developer] DB Manager release

2011-09-15 Thread G. Allegri
Congratulations to all the developers. I've just seen the video and it looks really great! giovanni 2011/9/15 Paolo Cavallini cavall...@faunalia.it Hi all. Thanks to the hard work of Giuseppe Sucameli, the supervision of Martin Dobias, and the support of Google for its Summer of Code

Re: [Qgis-developer] Qgis custom buil to read obfuscated data

2011-09-16 Thread G. Allegri
Thanks for the brainstorming. I will bring the various usefull considerations to my collegues. I'll let you know about the policies that will be chosen, and consequently the road to achieve them. giovanni 2011/9/16 Martin Dobias wonder...@gmail.com On Fri, Sep 16, 2011 at 2:53 AM, John

Re: [Qgis-developer] QgisMapserver - need to restart Apache on every project file change ?

2011-10-18 Thread G. Allegri
I haven't found the time to setup a fresher qgismapserver, but looking at the source code in trunk I can't see what's causing this. It seems that, inside the fcgi loop, a configuration for a requested MAP confipath is searched inside the cache instance. In case it's found the result is directly

Re: [Qgis-developer] QgisMapserver - need to restart Apache on every project file change ?

2011-10-19 Thread G. Allegri
, 19.23:28 schrieb G. Allegri: I haven't found the time to setup a fresher qgismapserver, but looking at the source code in trunk I can't see what's causing this. It seems that, inside the fcgi loop, a configuration for a requested MAP confipath is searched inside the cache instance

[Qgis-developer] adding python interpreter to QGis mapserver to expose analysis routines

2011-10-19 Thread G. Allegri
These days I'm studying the QGis server architecture, and I was wondering on using it beyond its WMS features. I suppose that exposing other functionalities through it's (fast)cgi interface is trivial, and being able to run python scripts from the qgis internal python interpreter coul be

Re: [Qgis-developer] adding python interpreter to QGis mapserver to expose analysis routines

2011-10-19 Thread G. Allegri
in Python. Are you planning something like that? Usually it is always necessary to add an additional functionality for each project and the possibility to do it in Python would be the best IMO. Radim On Wed, Oct 19, 2011 at 3:06 PM, G. Allegri gioha...@gmail.com wrote: These days I'm

Re: [Qgis-developer] 1.8 release?

2011-10-19 Thread G. Allegri
I agree Martin, but I would hope that (at least) some of the major bugs reported for 1.7/1.7.1 will be solved before a new release. The risk is to provide new features, but loosing stability for the ones users are used to. giovanni 2011/10/19 Martin Dobias wonder...@gmail.com Hi devs looking

Re: [Qgis-developer] Ma réponse de chargé d'étude en Région

2011-10-19 Thread G. Allegri
Is it spam? 2011/10/19 Sémécurbe François francois.semecu...@insee.fr La crampe is Dead on Qgis I will be back in the future to kill all the pinguins!!! -Message d'origine- De : qgis-developer-boun...@lists.osgeo.org [mailto: qgis-developer-boun...@lists.osgeo.org] De la part

Re: [Qgis-developer] Ma réponse de chargé d'étude en Région

2011-10-19 Thread G. Allegri
I know that you are a french statistician, but I don't understand the joke... and I don't want to. giovanni 2011/10/19 Sémécurbe François francois.semecu...@insee.fr ** No, it's private joke from a french statistician!! -- *De :* G. Allegri [mailto:gioha

Re: [Qgis-developer] adding python interpreter to QGis mapserver to expose analysis routines

2011-10-19 Thread G. Allegri
from this specific interface. The Server could be deployed in a different fashion, but the services should ignore this. giovanni 2011/10/19 Martin Dobias wonder...@gmail.com Hi Giovanni and Radim On Wed, Oct 19, 2011 at 12:24 PM, G. Allegri gioha...@gmail.com wrote: I was thinking to both

Re: [Qgis-developer] adding python interpreter to QGis mapserver to expose analysis routines

2011-10-20 Thread G. Allegri
:17 PM, G. Allegri gioha...@gmail.com wrote: That would ne a very interesting architecture Martin. Each Service would manage its on requirements, for example its own internal bindings to Python or whatever. I'm not sure about the fastgi nature of the services. The server has a an fcgi

Re: [Qgis-developer] adding python interpreter to QGis mapserver to expose analysis routines

2011-10-20 Thread G. Allegri
2011/10/20 Martin Dobias wonder...@gmail.com On Thu, Oct 20, 2011 at 4:00 PM, G. Allegri gioha...@gmail.com wrote: I imagine a plugin system, similar to Qgis Desktop, where every service is discovered/registered if available in certain library paths. I am not sure if such implicit

Re: [Qgis-developer] SVG preview in Print layout

2011-10-21 Thread G. Allegri
I confirm, for qgis-dev and qgis compiled yesterday on Windows. giovanni 2011/10/21 Paolo Cavallini cavall...@faunalia.it Hi all. In very recent QGIS (compiled yesterday) when adding an image to a print layout, the generation of preview from SVG takes a very long time. Anyone confirms? All

Re: [Qgis-developer] Print layout: missing svg indicators

2011-10-21 Thread G. Allegri
I confirm this behaviour too... giovanni 2011/10/21 Paolo Cavallini cavall...@faunalia.it Hi all. If I choose an svg indicator for the beginning and end of an arrow, nothing is shown. Anyone confirms? All the best. -- Paolo Cavallini See: http://www.faunalia.it/pc

Re: [Qgis-developer] adding python interpreter to QGis mapserver to expose analysis routines

2011-10-21 Thread G. Allegri
at 5:40 PM, G. Allegri gioha...@gmail.com wrote: 2011/10/20 Martin Dobias wonder...@gmail.com On Thu, Oct 20, 2011 at 4:00 PM, G. Allegri gioha...@gmail.com wrote: I imagine a plugin system, similar to Qgis Desktop, where every service is discovered/registered if available

Re: [Qgis-developer] adding python interpreter to QGis mapserver to expose analysis routines

2011-10-22 Thread G. Allegri
, 12.07:21 schrieb G. Allegri: 2011/10/21 Marco Hugentobler marco.hugentob...@sourcepole.ch Hi all It would be great to have a mapscript equivalent for QGIS server, so the possibility to modify the request before it arrives at QgsWMSServer class. GeoServer will provide WMS

[Qgis-developer] negative value set for GCP srcY in Georeferncing Plugin - why?

2011-10-25 Thread G. Allegri
The srcY coordinate is set with a negative value inside: https://github.com/qgis/Quantum-GIS/blob/master/src/plugins/georeferencer/qgsgcplistmodel.cpp#L128 I miss the logic of that... giovanni ___ Qgis-developer mailing list

Re: [Qgis-developer] forward transform of... error

2011-10-29 Thread G. Allegri
Yes Giovanni, I've just seen it this morning :) It is QgsCoordinateTransform's fault, I suppose... giovanni 2011/10/29 Giovanni Manghi giovanni.man...@gmail.com Hi all, seems to me that in qgis-master (and also in 1.7.1 I think) there is a regression/bug that leads to have this error to

Re: [Qgis-developer] Re: Slow rendering of shapefile in python-qgis application

2011-11-22 Thread G. Allegri
Just a technical curiosity: why pyqgis rendering should be slower then qgis? The loading and rendering are performed by the C++ code, and I don't see where python plays an inpacting role... giovanni 2011/11/22 Giovanni Manghi giovanni.man...@gmail.com it is much better now on qgis

[Qgis-developer] creating global actions (like macros)

2012-03-01 Thread G. Allegri
Hi all, I don't know if this has been already suggested/asked before, and I don't know if it's already available somehow. I feel there is a hole between Layer Actions and Plugins, which various softwares fill with Macros (like OO StarBasic, Mapinfo's MapBasic, etc.). It would be nice to be able to

Re: [Qgis-developer] creating global actions (like macros)

2012-03-01 Thread G. Allegri
://en.wikipedia.org/wiki/Domain-specific_language - Nathan On Thu, Mar 1, 2012 at 8:12 PM, G. Allegri gioha...@gmail.com wrote: Hi all, I don't know if this has been already suggested/asked before, and I don't know if it's already available somehow. I feel there is a hole between Layer

Re: [Qgis-developer] QGIS + Inkscape

2012-03-19 Thread G. Allegri
I thinkg that working to the improvement of the Composer would be an important work. Anyway, like it happens with other GIS softwares, when you need to refine cartographic output for professional layouts you often need to use external softwares. I think the two routes are both important, but they

Re: [Qgis-developer] gsoc 2012

2012-03-21 Thread G. Allegri
Ok, that's what I supposed. We're talking about two different things: your framework and the geoprocessing framework that started some time ago. I don't know if Camilo (or others) are still working actively on that. I can imagine that your experience with the abstraction level development for

Re: [Qgis-developer] gsoc 2012

2012-03-22 Thread G. Allegri
The purpose of a geoprocessing framework was exactly that, unify the way algorithms get exposed to the user. Victor has given a big boost to this with SEXTANTE, and it should let the user mix the modules easily to set up processing flows from different algorithms... giovanni 2012/3/22 Alexander

Re: [Qgis-developer] Directions needed for GSOC Proposal

2012-03-26 Thread G. Allegri
2012/3/26 Vincent Picavet vincent...@oslandia.com Hi, Le lundi 26 mars 2012 12:01:20, Paolo Cavallini a écrit : Il 26/03/2012 12:01, G. Allegri ha scritto: I think the GPL code is mandatory for the bridge, eventually. Not all the underlying code requires to be GPL. Am I wrong? I

Re: [Qgis-developer] import proprietary code inside a python plugin

2012-03-26 Thread G. Allegri
to use a GPL license, but I agree that an LGPL would cause lesser headaches to support interoperability... giovanni C On Mon, Mar 26, 2012 at 11:45 AM, G. Allegri gioha...@gmail.com wrote: I had to create a python plugin to obatin some interactions with the ESRI ArcGIS Geoprocessing

Re: [Qgis-developer] Directions needed for GSOC Proposal

2012-03-26 Thread G. Allegri
Ok, it's clear now Vincent. The exception is only related to system libraries, while it doesn't apply to code that executes inside a GPL application (which doesn't provide the exception). 2012/3/26 G. Allegri gioha...@gmail.com Generally, you can link to a non-free library from a GPL code

Re: [Qgis-developer] import proprietary code inside a python plugin

2012-03-26 Thread G. Allegri
it doesn't expose the QGis APIs to ArcGIS, and viceversa, so it only bridges the two world to interchange the data. giovanni 2012/3/26 Tim Sutton li...@linfiniti.com Hi On Mon, Mar 26, 2012 at 4:52 PM, G. Allegri gioha...@gmail.com wrote: Through the various considerations on this topic

Re: [Qgis-developer] Directions needed for GSOC Proposal

2012-03-26 Thread G. Allegri
is the import of Arc into a QGIS plugin. To be clear yes people can do such things, and could import proprietary applications into their plugins, they just can't legally distribute it outside their company. Thanks, Alex On 03/26/2012 05:26 AM, G. Allegri wrote: I would keep

Re: [Qgis-developer] import proprietary code inside a python plugin

2012-03-26 Thread G. Allegri
...@oslandia.com Hi, Le lundi 26 mars 2012 21:32:31, G. Allegri a écrit : Ah, Tim, it's getting clear. Thanks. The key point is distribution, as always with GPL. In my case I won't distribute the ESRI geoprocessing libraries, they're part of the ArcGIS distribution, which is only availbale

Re: [Qgis-developer] Directions needed for GSOC Proposal

2012-03-26 Thread G. Allegri
/3/26 G. Allegri gioha...@gmail.com 2012/3/26 Alex Mandel tech_...@wildintellect.com More specifically here's the compatibility list: http://www.gnu.org/licenses/license-list.html MIT -Expat or X11, most BSD, Apache 2, LGPL are all on the ok list. ^^^ This does not apply to plugins

Re: [Qgis-developer] import proprietary code inside a python plugin

2012-03-26 Thread G. Allegri
as it happens I must be able to provide the source of every code running in the same process. Right? Right. Importing esri python module falls into that category. Vincent giovanni 2012/3/26 Vincent Picavet vincent...@oslandia.com Hi, Le lundi 26 mars 2012 21:32:31, G. Allegri

Re: [Qgis-developer] Proposal: QGIS Processing Framework improvements

2012-03-26 Thread G. Allegri
You've done a great work Camilo, and obviously it's always a good thing having multiple approaches to the things, because it can be a richness. I only wonder if those working on such frameworks could converge to a common effort, somehow. Probably you and Victor will desire to follow your own

Re: [Qgis-developer] Re: import proprietary code inside a python plugin

2012-03-27 Thread G. Allegri
I premit that I've already chosen a solution to bypass these issues: one, common library and two plugins, one for qgis and one for arcpy. The plugins will interact through pickling, sharing a common data structure from the common library. This is the easiest solution for me to deploy (no servers

Re: [Qgis-developer] Re: import proprietary code inside a python plugin

2012-03-27 Thread G. Allegri
2012/3/27 Paolo Corti pco...@gmail.com On Tue, Mar 27, 2012 at 9:07 AM, G. Allegri gioha...@gmail.com wrote: I premit that I've already chosen a solution to bypass these issues: one, common library and two plugins, one for qgis and one for arcpy. The plugins will interact through pickling

Re: [Qgis-developer] Re: import proprietary code inside a python plugin

2012-03-27 Thread G. Allegri
is illegal. Unless they re license the code as LGPL. Noli On 3/27/12, Paolo Corti pco...@gmail.com wrote: On Tue, Mar 27, 2012 at 9:07 AM, G. Allegri gioha...@gmail.com wrote: I premit that I've already chosen a solution to bypass these issues: one, common library and two plugins, one

Re: [Qgis-developer] Re: import proprietary code inside a python plugin

2012-03-27 Thread G. Allegri
2012/3/27 Giovanni Manghi giovanni.man...@gmail.com On Tue, 2012-03-27 at 09:51 +0200, G. Allegri wrote: Ops. How QGis can use GDAL which uses ECW?! 3 - osgeo4w bundles gdal-ecw DLL I think there are no erdas libraries in the gdal-ecw package, it is just a bridge (sorry

Re: [Qgis-developer] Re: import proprietary code inside a python plugin

2012-03-27 Thread G. Allegri
2012/3/27 Vincent Picavet vincent...@oslandia.com Hi, In osgeo4w the gdal-ecw DLLs are released binary compiled. I never needed to compile them by myself. Are you saying that osgeo4w is doing something incorrect? The gdal/ecw case is particularly complex, as the ECW licence changes

Re: [Qgis-user] Re: [Qgis-developer] Oracle Spatial Driver

2012-03-30 Thread G. Allegri
What about moving the founding to improve the Oracle driver inside GDAL? The OCI driver would need some refactoring, as it was stated time ago by Frank. This would provide a benefit also to the other sw using GDAL/OGR, and would solve the problem of the license (I suppose) giovanni 2012/3/30

Re: [Qgis-user] Re: [Qgis-developer] Oracle Spatial Driver

2012-03-30 Thread G. Allegri
model requires more effort than a native driver - more direct geometry transfer with native driver, thus better performance (with OGR driver, geometry is converted into OGR geometry first) Regards, Marco On 30.03.2012 11:49, G. Allegri wrote: What about moving the founding to improve

[Qgis-developer] obtain QgisApplication instance reference inside python plugin?

2012-04-03 Thread G. Allegri
Is there a way to reach the QgisApplication reference from a python plugin? The iface object is exposed by the application object, but afaik it doesn't expose it. I need to control some aspects of the application lifecycle, but I fear the plugin system is designed to not allow it... giovanni

[Qgis-developer] Re: [Qgis-user] Oracle Spatial Driver

2012-04-03 Thread G. Allegri
I suppose we're talking about Oracle Spatial, otherwise I don't think it would worth it... giovanni 2012/4/3 jonathanmou...@warwickshire.gov.uk Just a quick general question - would this be an Oracle Spatial or an Oracle Locator driver? Because (for those who don't know), Oracle give quite a

Re: [Qgis-developer] Extending SEXTANTE algorithms in QGIS (a new plugin/example)

2012-04-03 Thread G. Allegri
The problem is solved changing: - import sextante.ftools.Buffer as buff + from sextante.ftools import Buffer as buff at [...]/sextante/ftools/FixedDistanceBuffer.py [12] At first sight It could be a problem with the overloaded _builtin_import inside Qgis's utils.py... But it's too late to

Re: [Qgis-developer] Extending SEXTANTE algorithms in QGIS (a new plugin/example)

2012-04-04 Thread G. Allegri
just reinstalling now work. mmm, it's curious. There were no changes to the code since yesterday evening. I would like to know what was wrong... Anyway, it works ;) giovanni -- Paolo Cavallini - Faunalia www.faunalia.eu Full contact details at www.faunalia.eu/pc

[Qgis-developer] (prabable) bug in ellipsoid semi-minor axis calculation inside QgsDistanceArea

2012-04-06 Thread G. Allegri
In Qgis the semi-minor axis of the ellipsoid is calculated [1] with: b = a - (f/a) where b = semi-minor axis a = semi-majot axis f = inverse flattening while it should be: b = a - (a/f) In Qgis the WGS84 semi-minor axis is 6378136,xxx while it should be 6356752.xxx This causes wrong distance

Re: [Qgis-developer] Re: PyQGIS Auto-completion and Call Tips in Eric Python Editor

2012-04-09 Thread G. Allegri
I would seriously consider upgrading the Python console, first of all to support autocompletion. I suggested the incorporation of QScintilla a couple of years ago, but it didn't raise much interest. A few weeks ago I gave a look to iPython, and it's Qt console [1]. giovanni [1]

[Qgis-developer] GEOS geometry from QgsGeometry with the Python API?

2012-04-16 Thread G. Allegri
Hi, I've just realized that the python api does't support the QgsGeometry.asGeos() method. I understand that it would require SIP to manage the marshalling and the bindings to GEOS too, so what is the best way to obtain a GEOS geometry from the QgsGeoemtry? I mean, is there something better then

Re: [Qgis-developer] Trouble compiling qgis-server

2012-04-17 Thread G. Allegri
It seems a SIP problem, maybe related to what discussed here: http://osgeo-org.1560.n6.nabble.com/build-error-td4350904.html I could compile with MSVC on Windows. giovanni 2012/4/17 Andrea Peri aperi2...@gmail.com Hi, today I update my qgis-server trunk version The cmake configuration was

Re: [Qgis-developer] QGIS tool for vector data merging proposal

2012-04-17 Thread G. Allegri
Hi Viktor, I find your proposal very interesting. I've worked a lot on GRASS where data structures are topological, and with ArcGIS GeoDB where topological rules can be defined to keep geometrical integrity. I feel that this kind of tools are foundamental to supply sound data management. As you

Re: [Qgis-developer] GEOS geometry from QgsGeometry with the Python API?

2012-04-17 Thread G. Allegri
Right, it would need some kung-fu across QGIS-GEOS python bindings. It was never really a top priority for me since QgsGeometry exposes the most important GEOS geometry algorithms. I would like to extend it, to include the linearref methods exposed by the C API: - GEOSInterpolate (-

Re: [Qgis-developer] GEOS geometry from QgsGeometry with the Python API?

2012-04-18 Thread G. Allegri
Why don't you extent QgsGeometry API ? Because I'm not so much experienced with C++, and I'm scared :D But this could be a good occasion to get back to it ;) I will extend it on my github fork and send a push request as soon as I have it. giovanni --strk; ,--o-. | __/ |

[Qgis-developer] CMAKE_BUILD_TYPE not available inside the cmake gui configuration?

2012-04-21 Thread G. Allegri
I've seen in CMakeLists that the CMAKE_BUILD_TYPE is evaulated to set QGISDEBUG definition, but there's no entry inside the cmake list of options. I had to manually add it (and set it to RelWithDebInfo in my case) to obtain the Debug output enabled message. Am I doing something wrong? giovanni

[Qgis-developer] Re: CMAKE_BUILD_TYPE not available inside the cmake gui configuration?

2012-04-21 Thread G. Allegri
No way, the VS solution doesn't keep the preprocessor directive... I keep on trying Inviato da dispositivo mobile Il giorno 21/apr/2012 18.12, G. Allegri gioha...@gmail.com ha scritto: I've seen in CMakeLists that the CMAKE_BUILD_TYPE is evaulated to set QGISDEBUG definition, but there's

Re: [Qgis-developer] SpatialIndex error on qgis-server compiling

2012-04-27 Thread G. Allegri
You need to install libspatialindex. (On Debian/Ubuntu apt-get install libspatialindex-dev) or set SPATIALINDEX_INCLUDE_DIR and SPATIALINDEX_LIBRARY to the right path. giohappy 2012/4/27 Andrea Peri aperi2...@gmail.com Hi, today I update my qgis-server from trunk, but in the cmake phase I

Re: [Qgis-developer] Re: build qgis in Windows - missing GEOS and PROJ.4

2012-05-05 Thread G. Allegri
You also need to install those dev libs from osgeo4w. I had to set the proj lib path manually. I'm out of home, as soon as I'll be back to my pc I can share my notes. In the meanwhile I can only confirm that the build procedure for MSVC works fine for all the qgis components (also python

Re: [Qgis-developer] Re: build qgis in Windows - missing GEOS and PROJ.4

2012-05-07 Thread G. Allegri
is that they were not detected automatically. The spatialindex stuff is rather new (I thinks\), so there might need to be some improvements in the cmake files for Windows. Same for others which have been around for some time (proj,spatialite,sqlite) Etienne On Sat, May 5, 2012 at 2:24 PM, G

[Qgis-developer] keeping layer settings tab between layers and qgis sessions can cause problems when histogram tab is the last viewed

2012-05-07 Thread G. Allegri
A complex object to say something simple :( When a user opens a layer settings window and hits a tab, the same tab index is kept when opening another layer settings, or in a new qgis sessions. I had a small raster layer, and I opened the histogram tab. The today I've opened a big raster layer, and

[Qgis-developer] Re: [Qgis-user] PostGIS Manager compatibility issue with PostGIS 2.0

2012-05-07 Thread G. Allegri
+0200, G. Allegri ha scritto: When attempting to use the PM with a PostGIS 2.0 db I obtain the same error as in http://hub.qgis.org/issues/5201, caused by the deprecated postgis_user_stats() call. The plugin manager doesn't suggest updates to the PM. I haven't found the tracker

Re: [Qgis-developer] Re: [Qgis-user] PostGIS Manager compatibility issue with PostGIS 2.0

2012-05-07 Thread G. Allegri
Thanks Martin. I've already moved to DB Manager. This was just a note for PG Manager, being still available through repositories ;) giovanni 2012/5/7 Martin Dobias wonder...@gmail.com On Mon, May 7, 2012 at 3:25 PM, G. Allegri gioha...@gmail.com wrote: DB Manager works fine. The plugins

[Qgis-developer] SEXTANTE add folder/file browser TreeSettingItem for ConfigDialog?

2012-05-08 Thread G. Allegri
I find it would be useful having a folder/file browser option inside a TreeSettingItem dedicated to folder/file paths configurations. giovanni ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org

[Qgis-developer] SEXTANTE decouple algorithm execution from GUI to run algs from CLI

2012-05-08 Thread G. Allegri
Almost all the actual algorithms assume to be inside a QgisApplication. It's obvious, being born as QGis plugins. Anyway, I think it would be a good plus being able to run (most of) them from a CLI, given that SEXTANTE handles the layers I/O from filesystem. If I remove QtGui calls from my

Re: [Qgis-developer] SEXTANTE decouple algorithm execution from GUI to run algs from CLI

2012-05-09 Thread G. Allegri
Good idea - and have gui classes that call the algorithms. I don't know how many files/classes you have, but it might be a pain to separate the gui from the execution code if you have many algorithms. Etienne On Tue, May 8, 2012 at 8:58 AM, G. Allegri gioha...@gmail.com wrote: Almost all

Re: [Qgis-developer] keeping layer settings tab between layers and qgis sessions can cause problems when histogram tab is the last viewed

2012-05-10 Thread G. Allegri
( currentTabIndex ); Etienne On Mon, May 7, 2012 at 10:15 AM, G. Allegri gioha...@gmail.com wrote: A complex object to say something simple :( When a user opens a layer settings window and hits a tab, the same tab index is kept when opening another layer settings, or in a new qgis

  1   2   3   4   5   6   >