[Qgis-developer] Re: [saga-gis-developer] saga - qgis interface
Hy Volker, thanks for your code. I'm working for integrate it in SagaTools plugin. As soon as the plugin is usable I will share it as sperimentale in qgis repository. by gianluca ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] QGIS and Google Summer of Code - ideas page on the wiki
On Sat, Feb 19, 2011 at 5:53 AM, Mohammed Rashad mohammedrasha...@gmail.com wrote: I see a link here http://www.qgis.org/wiki/Google_Summer_of_Code_2011#QGIS_Orfeo_Toolbox posted by AnneGhisla there is not student name and mentor name. 1. How can I add my name in qgis GSoC wiki? Please do _not_ add your name to the GSoC page: it is for collecting ideas for students, not for assigning students. 2. How to find a mentor for this project Where to submit my proposal for the above said project GSoC has not started yet. We do not even know if OSGeo will be chosen as a mentoring organization. According to the timeline [1], student applications can be submitted from March 28. [1] http://www.google-melange.com/document/show/gsoc_program/google/gsoc2011/timeline Martin ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] Send us your tips!
Hi Yesterday I added a 'tip of the day' type dialog that appears when QGIS starts. You have probably have seen a similar feature in other applications. And no, before you ask, we are not going to implement a 'Mr. Paperclip' function next :-). Right now the tip list is rather basic so I would like to invite everyone to submit your favourite little tips for QGIS. Here are some guidelines: - The tip should have a short title - The tip content should be short - one or two paragraphs - Simple HTML formatting can be used for the tip, including links, lists etc. - Tips should be broadly useful and perhaps reveal functionality that users may have otherwise overlooked. Here is an example submission: Title: Quick access to project properties Content: You can quickly access the project properties dialog by clicking on the icon in the bottom right corner of the window in the status bar area. If you are a developer, you can add tips directly to src/app/qgstipfactory.cpp - it should be self explanatory what to do when you look at the source. Regards Tim -- Tim Sutton - QGIS Project Steering Committee Member (Release Manager) == Please do not email me off-list with technical support questions. Using the lists will gain more exposure for your issues and the knowledge surrounding your issue will be shared with all. Visit http://linfiniti.com to find out about: * QGIS programming and support services * Mapserver and PostGIS based hosting plans * FOSS Consulting Services Skype: timlinux Irc: timlinux on #qgis at freenode.net == ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Send us your tips!
On Sat, Feb 19, 2011 at 10:02 AM, Tim Sutton li...@linfiniti.com wrote: Hi Yesterday I added a 'tip of the day' type dialog that appears when QGIS starts. You have probably have seen a similar feature in other applications. Please tell me there's a 'don't show tips anymore' checkbox on the dialog? These things are great for beginners, but soon get in the way when you have real work to do. And no, before you ask, we are not going to implement a 'Mr. Paperclip' function next :-). Aw no, that would be great! Imagine: Hi! It looks like you're trying to classify areas by population sizes! Would you like me to: * create population densities? * divide into age-related population bands? Okay, I'm being ironic this time! Barry ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] QGIS and Google Summer of Code - ideas page on the wiki
Martin, I saw you cleaned the gsoc's page and changed the 3D proposal. While a globe visualization tool is great, the proposal I submitted was quite a different beast as it isn't limited to WGS84 surfaces but allows geological volumes, volumetric dynamic flow, 3d object boundaries, etc. Would it be possible to keep this proposal ? ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Send us your tips!
Hi Tim, W dniu 19.02.2011 11:02, Tim Sutton pisze: Yesterday I added a 'tip of the day' type dialog that appears when QGIS starts. Good idea and very nice feature. If you are a developer, you can add tips directly to src/app/qgstipfactory.cpp - it should be self explanatory what to do when you look at the source. Your code is ready for i18n, but I can't find those phrases in translation files (trunk). Are .ts files updated daily or there is another reason? And one more observation. Looking for tips in general program settings, I found increasing number of options. Regular user can be lost... Do you remember our discussion during hackfest considering two UI - simplified and advanced. It can apply to menu elements, forms content but also to tips. regards, Robert ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] New Symbology / OSM/ ICONS
Thanks for the suggestion Martin! Icons are available here: http://www.mediafire.com/?344x43313q3xx8n They are meant to be used with the tutorial here: http://www.qgis.org/wiki/Using_OpenStreetMap_data I was hoping to find something without restrictions and if possible dedicated to open source material. I could not find it here: http://wiki.osgeo.org/wiki/OSGeo_map_symbol_set There is http://www.openclipart.org (which supports multiple uploads, collections and packages) but I cannot upload a zipped file, hence I cannot reproduce the folder structure required for qgis to find the right files. So I've put the icons I'm using on mediafire: osm_icons4qgis_v1.zip (If I do not login often enough, this might be destroyed). All the icons that either SJJB or myself created are copyright free (CC-0). I do not know the status of the others (mostly, the others are preinstalled with qgis). See http://www.sjjb.co.uk/mapicons/introduction Mayeul Le vendredi 18 février 2011 à 23:40 +0100, Martin Dobias a écrit : There are plenty of web services for easy sharing of files, for example, mediafire.com or megaupload.com Martin ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-user] Re: [Qgis-developer] Send us your tips!
Your code is ready for i18n, but I can't find those phrases in translation files (trunk). Are .ts files updated daily or there is another reason? .ts are updated from time to time, but you probably can do it locally, running scripts/update_ts_files.ts Just make sure it haven't removed location tags from the file. Some time ago ubuntu's lupdate was removing them, but recently seems it's ok. ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] slowness reading shp
Hi, On Sat, 2011-02-19 at 08:18 +0100, Paolo Cavallini wrote: Il giorno ven, 18/02/2011 alle 23.58 +0100, Martin Dobias ha scritto: The main performance killer here is painting of borders. The layer is rendered several times faster if you set border style to no pen. This has no noticeable effect in my case. I made my own tests: on trunk with a big 600mb (43000 features) polygon shapefile, the vector opens in 32 seconds (new symbology, with borders, anti-aliasing disabled). After saving a style with no borders the shape opens in 15/16 seconds. The problems remain in both cases when zooming/panning as there is always a bigdelay and in between the program freezes (under Linux). Opening the attribute table or toggling editing or selecting polygons is a real pain. The clear direction is to merge threading branch to trunk. It contains some optimizations for rendering, plus it does not freeze while rendering and continuously updates the map. So even when working with huge layers, it's possible to see how rendering continues and zoom/pan to desired region of interest without having to wait until rendering of the last map finished. Any idea about when it will be merged? Anyone working on this? What performance gain would you expect with threading? I tested everything again after having compiled the threading branch. The result is *much* better (with or without borders) when opening the shape and panning/zooming, and looking at the way the geomteries are painted in the canvas it seems to me that is the same approach used in gvsig. Editing/selecting is still painful (also in gvsig...). Cheers -- Giovanni -- ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-user] Re: [Qgis-developer] Send us your tips!
Hi Borys, On Sat, 19. Feb 2011 at 16:43:18 +0100, Borys Jurgiel wrote: Your code is ready for i18n, but I can't find those phrases in translation files (trunk). Are .ts files updated daily or there is another reason? .ts are updated from time to time, but you probably can do it locally, running scripts/update_ts_files.ts Just make sure it haven't removed location tags from the file. Some time ago ubuntu's lupdate was removing them, but recently seems it's ok. That's also why we do that on a regular basis. The locations change often - even if the strings don't. So we'd always have loads of large commits without any real change. BTW scripts/update_ts_files.sh pl_PL just updates one language... 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] Send us your tips!
Hi On Sat, Feb 19, 2011 at 2:38 PM, Robert Szczepanek rob...@szczepanek.pl wrote: Hi Tim, W dniu 19.02.2011 11:02, Tim Sutton pisze: Yesterday I added a 'tip of the day' type dialog that appears when QGIS starts. Good idea and very nice feature. If you are a developer, you can add tips directly to src/app/qgstipfactory.cpp - it should be self explanatory what to do when you look at the source. Your code is ready for i18n, but I can't find those phrases in translation files (trunk). Are .ts files updated daily or there is another reason? And one more observation. Looking for tips in general program settings, I found increasing number of options. Regular user can be lost... Do you remember our discussion during hackfest considering two UI - simplified and advanced. It can apply to menu elements, forms content but also to tips. Yes we need to simplifiy things down a lot for 2.0. I like the gnome approach of give simple sensible defaults and if you really want to be a geek you have to delve into gconf - rather than the kde4 approach where there are so many options and tweaks its difficult to remember what they mean and where they are in the option panels. Regards Tim Regards Tim regards, Robert -- Tim Sutton - QGIS Project Steering Committee Member (Release Manager) == Please do not email me off-list with technical support questions. Using the lists will gain more exposure for your issues and the knowledge surrounding your issue will be shared with all. Visit http://linfiniti.com to find out about: * QGIS programming and support services * Mapserver and PostGIS based hosting plans * FOSS Consulting Services Skype: timlinux Irc: timlinux on #qgis at freenode.net == ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Send us your tips!
Hi On Sat, Feb 19, 2011 at 1:32 PM, Barry Rowlingson b.rowling...@lancaster.ac.uk wrote: On Sat, Feb 19, 2011 at 10:02 AM, Tim Sutton li...@linfiniti.com wrote: Hi Yesterday I added a 'tip of the day' type dialog that appears when QGIS starts. You have probably have seen a similar feature in other applications. Please tell me there's a 'don't show tips anymore' checkbox on the dialog? These things are great for beginners, but soon get in the way when you have real work to do. Turn it off? Not its like hotel californiayou can never leave. Yes of course there is a handy 'don't bother me anymore' checkbox to disable it. And no, before you ask, we are not going to implement a 'Mr. Paperclip' function next :-). Aw no, that would be great! Imagine: Hi! It looks like you're trying to classify areas by population sizes! Would you like me to: * create population densities? * divide into age-related population bands? Okay, I'm being ironic this time! :-) Regards Tim Barry -- Tim Sutton - QGIS Project Steering Committee Member (Release Manager) == Please do not email me off-list with technical support questions. Using the lists will gain more exposure for your issues and the knowledge surrounding your issue will be shared with all. Visit http://linfiniti.com to find out about: * QGIS programming and support services * Mapserver and PostGIS based hosting plans * FOSS Consulting Services Skype: timlinux Irc: timlinux on #qgis at freenode.net == ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] slowness reading shp
Hi, Just a quick note that 'big' for a shapefile could be in any of three dimensions: 1: Lots of features 2: Lots of points in each polygon or line feature 3: Lots of attribute data in the .dbf Now, #3 shouldn't affect shapefile rendering speed (but will have on loading speed)/ #1 and #2 will affect the speed but in possibly completely different areas of the code. the shape I used seems quite big in all three ways. In any case the threading branch seems the right direction at least for rendering the geometries. Editing that huge datasets can another problem, but qgis does not seems to be the only one with this issue: of gvsig I have already told, kosmo renders the vector more or less the same speed of gvsig/qgis threading but then chokes when editing. uDig is super fast rendering the vector but then again chokes when editing. here the vector http://www.iucnredlist.org/spatial-data/MAMMALS_TERRESTRIAL.zip cheers -- Giovanni -- ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
AW: Re: [Qgis-developer] Re:CAD Tools: icons not visible
Hi Giuseppe thanks for your investigation! I updated the code. Please try v0.5.2. regards Stefan -Ursprüngliche Nachricht- Von: Giuseppe Sucameli [mailto:sucam...@faunalia.it] Gesendet am: Mittwoch, 16. Februar 2011 19:33 An: Ziegler Stefan Cc: Paolo Cavallini; qgis-developer@lists.osgeo.org Betreff: Re: [Qgis-developer] Re:CAD Tools: icons not visible Hi all, today it happens on my Ubuntu too! Here the fix: 1. move the resources.qrc into the main plugin dir (cadtools/) 2. edit paths to the icons in resources.qrc fitting them to the new position 3. generate the resources.py: pyrcc4 -o resources.py resources.qrc 4. change all the instances of import resources to from cadtools import resources And to avoid unnecessary path on the enviroment path variable: 1. open cadtools.py in editing 2. remove the following line: sys.path.append( os.path.abspath( os.path.dirname( __file__) + '/tools' ) ) 3. change all the tool import from (e.g lineintersectiontool): from lineintersectiontool import LineIntersectionTool to from tools.lineintersectiontool import LineIntersectionTool except from cadtoolsaboutgui import CadToolsAboutGui 4. create an empty tools/__init__.py file And if you have time, remove the unused cadsettings.ui and ui_cadsettings.py from the main plugin dir Now all should work ok! Cheers. On Sat, Dec 25, 2010 at 10:35 AM, aperi2007 aperi2...@gmail.com wrote: Il 25/12/2010 10:31, Paolo Cavallini ha scritto: Il giorno sab, 25/12/2010 alle 10.14 +0100, aperi2007 ha scritto: Can anybody see the icons in other 64bit installations? All the best. In Win7 - 64bit installation from os4geo (qgis-dev) I see them. Thanks - is this a real 64bit? All the best. The win7 I'm using is the 64bit version . Is a really 64bit version. But qgis-dev is the 32 bit version (from osgeo4 installer) Andrea. ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer -- Giuseppe Sucameli ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Poor asynchronous performance of Python threads?
Thanks for the reply Martin! On Fri, Feb 18, 2011 at 2:07 PM, Martin Dobias wonder...@gmail.com wrote: Hi Charlie On Wed, Feb 9, 2011 at 6:27 AM, Charlie Sharpsteen ch...@sharpsteen.net wrote: Hello list, I have been playing around with the development branch of IPython (0.11-dev) as they have built a PyQt-based console that supports all sorts of awesome features like tab-completion, paged browsing of function code and docstrings, and Pygments-powered syntax highlighting in addition to the normal IPython goodness. I slapped together a quick plugin that adds an IPython-based console to QGIS. The code is available at: https://github.com/Sharpie/qgis-ipython To use it, you will need to install ZeroMQ, pyzmq, pygments and the dev version of IPython from: https://github.com/ipython/ipython Generally the best / easiest way how to make your code available for testing for others is to upload the plugin at pyqgis.org to the contributed repository. Requiring development version of ipython would be however a show stopper for most users... I would love to see a finished plugin eventually released to PyQGIS. However, the code is currently little more than a proof-of-concept prototype and is also based on a development version of IPython, so I didn't feel like a public release on PyQGIS was appropriate at this time. The console fires up allright, but unfortunately very, very, very slow. There is about ~1-2 seconds of lag between invoking a command and receiving a response. For comparison, I threw together a minimal PyQGIS application that also uses the IPython console: https://gist.github.com/817914 The PyQGIS version is very snappy and there is no lag. I suspect the difference is due to the PyQt widget is talking to an external IPython process through ZeroMQ. When a command is executed, the console sends a message and then a Python thread waits for the response. With PyQGIS, Python is controlling the execution of the entire application. However, when the console is used as a plugin it is running in an embedded interpreter and it looks like QGIS takes a while to schedule the execution of the Python threads. Does anyone have any suggestions for solving or working around this issue? An interesting issue. Why do you think that IPython uses another process? The interesting thing about IPython is that in addition to being a really nice Python shell it is also a framework for parallel and distributed computing. The 0.11 series splits the interpreter into a separate process using ZMQ so that a single console could dispatch jobs to several independent interpreters and those interpreters could be running on entirely different machines. When this framework matures, it could open up some really interesting possibilities for dispatching computationally intensive operations from QGIS. Running the console in another process would disable the communication between QGIS interface and the console - and that is not really wanted. At the moment, my main interest in getting IPython into QGIS is so that it can help me develop Python plugins. The existing Python console is very nice, but I keep tapping the tab key in vain whenever I forget what attributes an object has. Currently I am working on an IPython kernel that does not run in a separate process so it can access objects like `qgis.utils.iface`. Progress is slow, but promising. However, it would also be nice to leave the option of spawning out-of-process shells for computationally intensive jobs. Maybe you could try to run that code in a profiler to find out where is the bottleneck. Martin I have given this a couple of tries. Unfortunately I don't have much experience using profilers so I wasn't able to learn much. I think the question I need to answer is: Is the delivery of messages being delayed by the QGIS C++ code, the Python interpreter or the ZMQ event loop? At this point it *seems* too have something to do with the C++ code as everything runs fine in a pure PyQGIS app. Some tools I know about that I have access to are gprof, dtrace and valgrind---is there one that you would suggest as being particularly suited to this task? Do I need to recompile QGIS with some special flags? -Charlie ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: AW: Re: [Qgis-developer] Re:CAD Tools: icons not visible
Il giorno sab, 19/02/2011 alle 20.58 +0100, Ziegler Stefan ha scritto: thanks for your investigation! I updated the code. Please try v0.5.2. It works, thanks to both. 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