[Qgis-developer] Re: Criticism of lack of symbols in QGIS
Hi, a few more collections of SVG symbols can be found listed here: http://grass.osgeo.org/wiki/IconSymbols#Other_contributions regards, Hamish ps- Alex, what format were those US Gov't symbols in before you converted them into SVG? Did you have to do much artistic cleanup along the way, or was it just a format transfer? ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] GSoC ideas
Il 21/02/2012 16:03, Alexander Bruy ha scritto: > Hi all, > > Google Summer of Code 2012 is announced few weeks ago and as far as > I know OSGeo will participate. Hope QGIS will participate too. I started > wiki page for collecting ideas [0] > > Maybe we should announce also to the user list asking for ideas too > > [0] http://hub.qgis.org/wiki/quantum-gis/Google_Summer_of_Code_2012 > Added my ideas. Feel free to add and improve. Thanks. -- Paolo Cavallini - Faunalia www.faunalia.eu Full contact details at www.faunalia.eu/pc ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] OS X QtWebKit problem fixed, PyQwt still broken
I configured with: ./configure -sdk /Developer/SDKs/MacOSX10.6.sdk -release -opensource -no-dwarf2 -cocoa -no-qt3support -system-zlib -plugin-sql-sqlite -no-sql-psql -no-sql-mysql -nomake demos -nomake doc -no-prefix-install Though the no-prefix-install option seems to be a bit off (still compiling to verify). When prefix-install is disabled, Qt installs in OSX paths, like the binary downloads - /Developer and Frameworks. But the framework path appears to be /Libraries/Frameworks, not /Library/Frameworks. On Feb 27, 2012, at 11:14 AM, Larry Shaffer wrote: > Hi William, > > On Sun, Feb 26, 2012 at 9:42 PM, William Kyngesburye > wrote: >> New package online for OS X QGIS 1.7.4. I compiled Qt 4.8 from source and >> the QtWebKit bug is gone. > > I can confirm QtWebKit is working fine with your 1.7.4-2 build, both > on 10.7.3 and 10.6.8, on all my Macs, regardless of installed (or no) > system Qt SDK version. Thank you for getting this to work. > > The problem I had while testing the QtWebKit function of some QGIS > plugins was how the loading of a local file URL was coded. > > This worked under Qt 4.7.4, but fails with a blank page, due to lack > of a protocol, on 4.8.0: > > self.helpviewer.setUrl(QUrl( >os.path.join(plugin_dir, "html", "help.html"))) > > It needs to have the file:// protocol expressly added: > > self.helpviewer.setUrl(QUrl( >"file://%s" >% (os.path.join(plugin_dir, "html", "help.html" > > This error is present in some currently distributed QGIS plugins. The > resultant blank web pages made me think your builds weren't working. I > could find no documentation of this change at Qt's site. > > > I'd like to compile nightly builds of QGIS under Snow Leopard, was > there anything you edited or changed when compiling Qt 4.8.0 to get > WebKit to work? > > > Regards, > > Larry Shaffer > Dakota Cartography > Black Hills, South Dakota > ___ > Qgis-developer mailing list > Qgis-developer@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/qgis-developer - William Kyngesburye http://www.kyngchaos.com/ "History is an illusion caused by the passage of time, and time is an illusion caused by the passage of history." - Hitchhiker's Guide to the Galaxy ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Get composer item's size and position
Hi Alex It might be possible to get the legend size by calling the method QgsComposerLegend::paintAndDetermineSize with a 0 pointer as argument to get the size: /**Paints the legend and calculates its size. If painter is 0, only size is calculated*/ QSizeF paintAndDetermineSize( QPainter* painter ); Regards, Marco On 27.02.2012 18:50, Alexander Bruy wrote: Hi again, seems it is impossible to get real width and height of the legend until composition is not rendered. When legend added to composition it always reports width == 4.0 and some height (different for different layersets). And only after rendering composition I can get real legend width and height. Maybe there is some trick to get this info without rendering composition? Thanks -- Dr. Marco Hugentobler Sourcepole - Linux& Open Source Solutions Churerstrasse 22, CH-8808 Pfäffikon SZ, Switzerland marco.hugentob...@sourcepole.ch http://www.sourcepole.ch Technical Advisor QGIS Project Steering Committee ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] GSoC ideas
On Mon, Feb 27, 2012 at 1:57 PM, Nathan Woodrow wrote: >> Hmm... If I remember correctly, when Processing Framework project >> was started we also have discussion which language to use Python or >> C++. And decision was to use Python... > > > I think the goal was to use Python to get the design fleshed out and > running, with the idea to port it to C++ in the future. That's right. Personally I find it much easier to prototype API in Python and then move it to C++. Like this it is possible save a lot of development time when designing and doing lots of modifications in API - typing, compiling, fixing compilation errors, synchronizing .h and .cpp files etc. Martin ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Get composer item's size and position
Hi again, seems it is impossible to get real width and height of the legend until composition is not rendered. When legend added to composition it always reports width == 4.0 and some height (different for different layersets). And only after rendering composition I can get real legend width and height. Maybe there is some trick to get this info without rendering composition? Thanks -- Alexander Bruy ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] Patch : QGIS Server Web Feature Service capabilities
Hi devs René-Luc D'Hont (my colleague) has just asked me to add a redmine issue with his patch : http://hub.qgis.org/issues/5094 Description Adding the Web Feature Service capabilities Version 1.0.0 to QGIS Server. The WFS service will then be able to answer the following requests : GetCapabilities, which provides the WFS Service capabilities DescribeFeatureType, which provides the XML features schema GetFeature, which provides the features The request GetFeature accepts parameters to filter features : BBOX, a bounding box in the features SRS FEATUREID, a feature id FILTER, a filter in Filter Encoding 1.0 The request GetFeature provides the feature in an XML format, GML2. The WFS service (GetCapapbilities and GetFeature) has been tested with QGIS. The GetFeature output formats have been tested with OpenLayers (GML2 and GeoJSON). 2 patches are proposed in this redmine issue : one for the trunk and branch 1.8 one for the 1.7 Each patch adds a public method to get QgsGeometry in GeoJSON format adds WFS 1.0.0 service capabilities to QGIS Server extends WFS 1.0.0 service capabilities with GeoJSON output format. Feel free to test and report. Michael ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] OS X QtWebKit problem fixed, PyQwt still broken
Hi William, On Sun, Feb 26, 2012 at 9:42 PM, William Kyngesburye wrote: > New package online for OS X QGIS 1.7.4. I compiled Qt 4.8 from source and > the QtWebKit bug is gone. I can confirm QtWebKit is working fine with your 1.7.4-2 build, both on 10.7.3 and 10.6.8, on all my Macs, regardless of installed (or no) system Qt SDK version. Thank you for getting this to work. The problem I had while testing the QtWebKit function of some QGIS plugins was how the loading of a local file URL was coded. This worked under Qt 4.7.4, but fails with a blank page, due to lack of a protocol, on 4.8.0: self.helpviewer.setUrl(QUrl( os.path.join(plugin_dir, "html", "help.html"))) It needs to have the file:// protocol expressly added: self.helpviewer.setUrl(QUrl( "file://%s" % (os.path.join(plugin_dir, "html", "help.html" This error is present in some currently distributed QGIS plugins. The resultant blank web pages made me think your builds weren't working. I could find no documentation of this change at Qt's site. I'd like to compile nightly builds of QGIS under Snow Leopard, was there anything you edited or changed when compiling Qt 4.8.0 to get WebKit to work? Regards, Larry Shaffer Dakota Cartography Black Hills, South Dakota ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
RE: [Qgis-developer] Qgis: Aster data & QtCreator
[fowarding to the list] On Mon, 27 Feb 2012 13:53:32 +, Olivier Camus wrote: 1/ I succeed to load geotiff raster file under QGIS, but only gray scare are displayed. I'm still searching for gis 3d display... You need to set the color ramp, have a look to the manual (p.86 in the fr version). There also is a plugin called 1-band raster which can generates one with predefined paramaters, you can also use gdaldem from the raster menu. you can also read tim's linfiniti blog -> http://linfiniti.com/2011/12/creating-coloured-rasters-with-gdal/ 2/ Shall I need to compile source from git or is there some libraries available? All git files I had found are designed for Linux usage. A pro file would be great for me. I'm not a windows/Qt creator user so I'll let someone else reply for this one, qgis is shipped with its lib which class/functions can be called without recompilation. ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] offline editing error
Il 02/02/2012 17:32, Paolo Cavallini ha scritto: > Hi all. > > While converting to an offline project, I'm getting: Now fixed, thanks to Juergen and Giuseppe. The problem was the different handling of projections by SpatiaLite. All the best. -- Paolo Cavallini - Faunalia www.faunalia.eu Full contact details at www.faunalia.eu/pc ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] SpatiaLite provider issues
Hi all, just tested SpatiaLite DB in QGIS and found that allmost all geoprocessing tools don't work with SpatiaLite layers: some of them crashes QGIS [0] while other returns empty datasets. When SpatiaLite layer exported to shapefile, all geoprocessing operations returns correct results. This is very annoying bug, because currently SpatiaLite is much faster on large complex datasets both in loading and renedering than shapefiles. Should I file ticket or this is known issue with SpatiaLite provider? [0] http://hub.qgis.org/issues/4571 Thanks -- Alexander Bruy ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Qgis: Aster data & QtCreator
On Mon, 27 Feb 2012 12:53:59 +, Olivier Camus wrote: Hi all, I'm a new comer on Quantum gis. At first look, it's sound good for me. 1/ I would like to know if some of you have already load ASTER GDEM datas. (available on http://www.gdem.aster.ersdac.or.jp/search.jsp ) Yes. Any specific questions ? 2/ I would like to integrate Qgis in my own QWidget using QtCreator. Is it possible? Where can I found some documentation about Qgis Qt lib? Here is the doxygen API for QGIS, these function can be used with Qt C++ or PyQt : http://qgis.org/api/ Btw, the online doxygen version is at 1.5.6, an update to 1.7.x would be great as the default template now comes with nice things like search auto-completion. ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] GSoC ideas
> > Hmm... If I remember correctly, when Processing Framework project > was started we also have discussion which language to use Python or > C++. And decision was to use Python... I think the goal was to use Python to get the design fleshed out and running, with the idea to port it to C++ in the future. - Nathan ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] Qgis: Aster data & QtCreator
Hi all, I'm a new comer on Quantum gis. At first look, it's sound good for me. 1/ I would like to know if some of you have already load ASTER GDEM datas. (available on http://www.gdem.aster.ersdac.or.jp/search.jsp ) 2/ I would like to integrate Qgis in my own QWidget using QtCreator. Is it possible? Where can I found some documentation about Qgis Qt lib? Regards, Olivier. ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] GSoC ideas
Hi, 2012/2/27 Martin Dobias : > fTools should probably experience some core/gui decoupling first - I > remember the individual tools contained a mixture of algorithm logic > and gui stuff handling (progress bar etc). After that, the tools > should ideally implement a common interface, to allow easy running of > the tools from API (instead of having to use slightly different calls > for each tool). As I can see some algorithms already ported to C++, see QgsGeometryAnalyzer class. But currently this implementation don't uses threads and memory layers. > For that we need a simple processing framework - > during last year's GSoC such framework has been developed as a side > effect - but it still lacks various important things such as: show job > progress, cancel running job or asynchronous job execution. Therefore > a summer project could involve adding missing functionality, porting > from python to c++ for inclusion in qgis_analysis library and possibly > adding few modules from fTools to demonstrate the capabilities. Hmm... If I remember correctly, when Processing Framework project was started we also have discussion which language to use Python or C++. And decision was to use Python... Anyway, I agree that porting fTools to analysis lib with or without processing framework will be great. -- Alexander Bruy ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] GSoC ideas
Il 26/02/2012 23:20, Martin Dobias ha scritto: > a summer project could involve adding missing functionality, porting > from python to c++ for inclusion in qgis_analysis library and possibly > adding few modules from fTools to demonstrate the capabilities. +1; thanks Martin for your thoughts. All the best. -- Paolo Cavallini - Faunalia www.faunalia.eu Full contact details at www.faunalia.eu/pc ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer