Re: [Qgis-developer] Qgis API: confused about versions
Il 27/10/2010 22:53, Giuseppe Sucameli ha scritto: You can also find the latest APIs here [1]. Cheers. [1] http://qgis.org/api/ So why not removing http://doc.qgis.org/ ? All the best. -- http://www.faunalia.it/pc ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Qgis API: confused about versions
2010/10/27 Giuseppe Sucameli sucam...@faunalia.it Hi Alessandro, On Wed, Oct 27, 2010 at 2:30 PM, Alessandro Pasotti apaso...@gmail.comwrote: http://doc.qgis.org/ I see only available choices are 1.0 (kore) and 1.1.0 (trunk) where should I go to access 1.5.0 APIs ? choosing trunk you have the latest APIs (for QGis 1.6). If you want to develop plugins for QGis 1.5, simply avoid to use all the functions tagged as new in 1.6. You can also find the latest APIs here [1]. Cheers. [1] http://qgis.org/api/ -- Giuseppe Sucameli Thanks, this is what I suspected. I think it is useful to have both stable and head API available, I would suggest to rename to stable/head to avoid version numbering mistakes. -- Alessandro Pasotti w3: www.itopen.it ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Re: Building QGIS 1.5.0 on windows platform, ERRORS ENCOUNTERED
Hi Sunil, On Thu, 28. Oct 2010 at 02:38:49 -0700, sunil wrote: I followed the link http://gis-lab.info/qa/qgis-compile-vce.html .i could not edit that batch file in the step 5 , if i run the qgis X.X.X.sln is not getting created , i struck with the 5 th step building and installing , could you please help me I updated the build documentation in trunk. See INSTALL in the toplevel directory... Jürgen -- Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-20 Dipl.-Inf. (FH) Rheinstraße 13Fax. +49-4931-918175-50 Software Engineer D-26506 Norden http://www.norbit.de -- norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH Rheinstrasse 13, 26506 Norden GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502 ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] Re: Building QGIS 1.5.0 on windows platform, ERRORS ENCOUNTERED
hi jurgen im sorry i could not get you , where can i get that INSTALL can you plz send the link -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Building-QGIS-1-5-0-on-windows-platform-ERRORS-ENCOUNTERED-tp5601914p5682074.html Sent from the qgis-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] PostGIS manager small bug
Hi all. SELECT round(ST_Perimeter(the_geom)::numeric,2) FROM provincias WHERE provincia = 'PI'; returns 368803 instead of 368803.16 So values seem always rounded to 0. All the best. -- http://www.faunalia.it/pc ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Qgis API: confused about versions
On 10/27/10 10:34 PM, Paolo Cavallini wrote: Il 27/10/2010 22:53, Giuseppe Sucameli ha scritto: You can also find the latest APIs here [1]. Cheers. [1] http://qgis.org/api/ So why not removing http://doc.qgis.org/ ? All the best. I was not even aware of this version of the api docs---as far as I knew doc.qgis.org was the source. If there are duplicate versions of documentation and resources being stood up there needs to be some communication and coordination. -gary -- -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- Gary Sherman Chair, QGIS Project Steering Committee -Desktop GIS Book: *http://desktopgisbook.com -Geospatial Consutling Hosting *http://geoapt.com We work virtually everywhere -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Qgis API: confused about versions
Hi Gary, On Thu, 28. Oct 2010 at 06:06:56 -0800, Gary Sherman wrote: So why not removing http://doc.qgis.org/ ? All the best. I was not even aware of this version of the api docs---as far as I knew doc.qgis.org was the source. If there are duplicate versions of documentation and resources being stood up there needs to be some communication and coordination. See http://lists.osgeo.org/pipermail/qgis-developer/2010-September/011043.html Jürgen -- Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-20 Dipl.-Inf. (FH) Rheinstraße 13Fax. +49-4931-918175-50 Software Engineer D-26506 Norden http://www.norbit.de -- norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH Rheinstrasse 13, 26506 Norden GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502 ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Qgis API: confused about versions
Hi Gary, On Thu, Oct 28, 2010 at 4:06 PM, Gary Sherman gsher...@geoapt.com wrote: On 10/27/10 10:34 PM, Paolo Cavallini wrote: Il 27/10/2010 22:53, Giuseppe Sucameli ha scritto: You can also find the latest APIs here [1]. Cheers. [1] http://qgis.org/api/ So why not removing http://doc.qgis.org/ ? All the best. I was not even aware of this version of the api docs---as far as I knew doc.qgis.org was the source. If there are duplicate versions of documentation and resources being stood up there needs to be some communication and coordination. doc.qgis.org contains both stable (1.0) and unstable APIs. qgis.org/api/ contains only the unstable APIs (I remember it was added when doc.qgis.org server was unavailable). I think that some devs are confused about the APIs versions. Why doesn't the unstable APIs' version match the QGis version in doc.qgis.org? There's a reason? Cheers. -- Giuseppe Sucameli ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Load an editable layer as a read-only one
Hi Martin, I filled a ticket [1] and attached a patch to fix it too ;) Cheers. [1] https://trac.osgeo.org/qgis/ticket/3157 On Mon, Oct 25, 2010 at 4:00 PM, Giuseppe Sucameli brush.ty...@gmail.comwrote: Hi Martin, sorry for this reply so late. On Thu, Oct 7, 2010 at 11:04 PM, Martin Dobias wonder...@gmail.comwrote: Hi Giuseppe On Tue, Oct 5, 2010 at 1:12 AM, Giuseppe Sucameli brush.ty...@gmail.com wrote: Hi devs, there is a way to load an editable layer without editing capabilities? I searched for a setCapabilities() method, but nothing. Reducing the layer capabilities would be useful, especially for plugins, obviously without adding new capabilities. In a C++ plugin I can extend the concrete DataProvider class. There is a way to do the same thing in a python plugin? Maybe creating a wrapper to the layer dataProvider? I am not aware of such functionality. But it would be possible to add a pair of methods setReadOnly(bool) and isReadOnly() for the layers. If set as read only, editing would be disabled. I think this would be a nice feature for pyplugins developers. In this moment the only workaround to make a layer uneditable is creating a plugin window containing a new canvas, then adding the layer in this new canvas, but you can neither use useful tools (e.g all the newest selection tools) or qgis mainwindow capabilities (add layers, move layers, ...). I'm going to open a ticket on trac. Cheers. -- Giuseppe Sucameli -- Giuseppe Sucameli ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] Time to retire OS X Xcode project
It's been a bit (lot?) of work maintaining sync with the cmake build. Other problems with it (both new and from day 1): - non-user-friendly configuration (hand-edit a file!), though I had an idea to patch in configuration from cmake - no automatic optional target compilation - if you didn't want or didn't have the support for an optional plugin or feature, you had to build individual targets - the dependency tracking of Xcode never worked right for custom compile rules (moc, rcc,...) so recompiling a partially-compiled source or after changes to sources always recompiled those with custom rules, even if they didn't change - the builtin yacc/lex rules don't work right, and custom rules are cranky, which leads to the final straw today when trying to add a new yacc/lex pair for the raster calculator change - failure Not to fear! I've taken the plunge into cmake and have been working on a cmake overhaul for the OS X build. I was going to wait for after the sudden 1.6 release, but since I'm not having luck with yacc/lex in Xcode I should have at least the core changes done for 1.6 (up to bundling Qt frameworks is done now, but not in SVN yet). Part of the cmake overhaul is to make sure library linking is all fixed up (it's been a problem in the past). Another improvement is cleaner (and automatic) detection of my frameworks (needed for bundling to work). The main improvement is making the bundling steps part of the install. There may be a small delay for my binary packages for the 1.6 release while I finish the bundling scripts (or I figure out a hack in Xcode for the yacc/lex problem). Things I will miss from Xcode: - debugging in the Xcode GUI, though I haven't needed to set that up so far - nothing else really, Xcode/Cmake doesn't matter to me as long as it compiles QGIS and bundles everything needed for release - 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 ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Qgis API: confused about versions
Hi Gary, On Thu, 28. Oct 2010 at 19:47:41 -0700, Gary Sherman wrote: I remember that and the problem was due to a one time build failure. I fixed the doc generation almost immediately. Ok, I was referring to that whole thread. Tim asked if we could host that in the vm and integrated it into the nightly builds. Jürgen -- Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-20 Dipl.-Inf. (FH) Rheinstraße 13Fax. +49-4931-918175-50 Software Engineer D-26506 Norden http://www.norbit.de -- norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH Rheinstrasse 13, 26506 Norden GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502 ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer