[Qgis-user] Import SQLite in db3 format
Hello i have an "older" sqlite map database saved as a *.db3 In 2.14 i could easily access this by adding as a vector layer now i am under 2.18 and doing the same shows me the import as pure table. could i get a short note how i could import it again? thank you ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Shortest path alorithm
Hello ok, thank you. I will have a deeper look at it and come back with questions if they will arise. thank you pat Gesendet: Freitag, 20. Oktober 2017 um 11:42 Uhr Von: "Alexander Bruy" <alexander.b...@gmail.com> An: "Pat Hin" <ph...@gmx.de> Cc: "qgis-userlists.osgeo.org" <qgis-user@lists.osgeo.org> Betreff: Re: [Qgis-user] Shortest path alorithm Hi Pat, there is a network analysis library in QGIS which provides shortest path calcluation. Also you can use GDAL GNM, PgRouting, NetworkX and many other tools. 2017-10-20 12:06 GMT+03:00 Pat Hin <ph...@gmx.de>: > Hello, > > i am going to implement in my own script the "shortest path algorithm > (Dijkstra)". > I have seen there are some plugins etc. already available but before jumping > deeper > in and re-develop something: > Are there already some known packages by which i could "hand over" some > link_id > (minimum two, one for start and one for end) and which calculates the > shortest path for? > > Thank you > pat > > ___ > Qgis-user mailing list > Qgis-user@lists.osgeo.org > List info: https://lists.osgeo.org/mailman/listinfo/qgis-user > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user -- Alexander Bruy ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Select QGSFeature with given ID
Hello Etienne, wonderful. A lot of great tipps at least to review own code. I have seen it before and the method .setSubsetOfAttributes has saved me minutes of calculation times :) pat Gesendet: Freitag, 20. Oktober 2017 um 08:39 Uhr Von: "Etienne Trimaille" <etienne.trimai...@gmail.com> An: "Pat Hin" <ph...@gmx.de> Cc: rich...@duif.net, "qgis-userlists.osgeo.org" <qgis-user@lists.osgeo.org> Betreff: Re: [Qgis-user] Select QGSFeature with given ID Have a look at this good blog post from Nyall with QgsFeatureRequest: http://nyalldawson.net/2016/10/speeding-up-your-pyqgis-scripts/ 2017-10-20 8:21 GMT+02:00 Pat Hin <ph...@gmx.de>: Hello many thanks. the method ".setFilterExpression" has been the one i am looking for :) Many thanks :) Pat Gesendet: Donnerstag, 19. Oktober 2017 um 20:39 Uhr Von: "Richard Duivenvoorde" <rdmaili...@duif.net> An: "Pat Hin" <ph...@gmx.de>, "Luigi Pirelli" <lui...@gmail.com> Cc: "qgis-userlists.osgeo.org" <qgis-user@lists.osgeo.org> Betreff: Re: [Qgis-user] Select QGSFeature with given ID On 19-10-17 18:27, Pat Hin wrote: > Thank you > > i have done it but struggeld. but wil have a second try Did you found http://docs.qgis.org/testing/en/docs/pyqgis_developer_cookbook/ already? http://docs.qgis.org/testing/en/docs/pyqgis_developer_cookbook/vector.html#iterating-over-a-subset-of-features Regards, Richard Duivenvoorde ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Select QGSFeature with given ID
Hello many thanks. the method ".setFilterExpression" has been the one i am looking for :) Many thanks :) Pat Gesendet: Donnerstag, 19. Oktober 2017 um 20:39 Uhr Von: "Richard Duivenvoorde" <rdmaili...@duif.net> An: "Pat Hin" <ph...@gmx.de>, "Luigi Pirelli" <lui...@gmail.com> Cc: "qgis-userlists.osgeo.org" <qgis-user@lists.osgeo.org> Betreff: Re: [Qgis-user] Select QGSFeature with given ID On 19-10-17 18:27, Pat Hin wrote: > Thank you > > i have done it but struggeld. but wil have a second try Did you found http://docs.qgis.org/testing/en/docs/pyqgis_developer_cookbook/ already? http://docs.qgis.org/testing/en/docs/pyqgis_developer_cookbook/vector.html#iterating-over-a-subset-of-features Regards, Richard Duivenvoorde ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Select QGSFeature with given ID
Thank you i have done it but struggeld. but wil have a second try thanks Gesendet: Donnerstag, 19. Oktober 2017 um 18:14 Uhr Von: "Luigi Pirelli" <lui...@gmail.com> An: "Pat Hin" <ph...@gmx.de> Cc: "qgis-userlists.osgeo.org" <qgis-user@lists.osgeo.org> Betreff: Re: [Qgis-user] Select QGSFeature with given ID explore documentation about QgsFreatureRequest QgsVectorLayer.getFeatures(QgsFreatureRequest(...)) regards Luigi Pirelli ** * Boundless QGIS Support/Development: lpirelli AT boundlessgeo DOT com * LinkedIn: https://www.linkedin.com/in/luigipirelli * Stackexchange: http://gis.stackexchange.com/users/19667/luigi-pirelli * GitHub: https://github.com/luipir * Mastering QGIS 2nd Edition: * https://www.packtpub.com/big-data-and-business-intelligence/mastering-qgis-second-edition ********** On 19 October 2017 at 15:45, Pat Hin <ph...@gmx.de> wrote: > Hello, > > i have a vector layer with more than 25k QGSFeature elements in it. > By now i run over it by a loop and stop at the Feature with the given ID. > But i know this amateurish and worser very slow if i need to run for it > several times. > So how could i do this more elegant and faster? > > Many thanks > Pat > > ___ > Qgis-user mailing list > Qgis-user@lists.osgeo.org > List info: https://lists.osgeo.org/mailman/listinfo/qgis-user > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] Select QGSFeature with given ID
Hello, i have a vector layer with more than 25k QGSFeature elements in it. By now i run over it by a loop and stop at the Feature with the given ID. But i know this amateurish and worser very slow if i need to run for it several times. So how could i do this more elegant and faster? Many thanks Pat ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Search overall several layers
Hello Calvin, fantastic. It does exaclty what i have searched for and it is a pitty it is not a part of the official repo. I have run several runs over 50 layers with has a total number of round about 100k features (rows in the attribbute tables) and have got a response time from nearly 3sec. what is great :) thnak you pat Gesendet: Sonntag, 15. Oktober 2017 um 03:55 Uhr Von: "C Hamilton" <adenacult...@gmail.com> An: "Pat Hin" <ph...@gmx.de>, qgis-user <qgis-user@lists.osgeo.org> Betreff: Re: [Qgis-user] Search overall several layers Pat, There is a plugin called layersearch that never made it into the official plugin repo. This is the URL. https://github.com/NationalSecurityAgency/qgis-layersearch-plugin It will do what you need, but you will need to install it manually. Download the zip file and extract the contents. Rename the qgis-layersearch-plugin-master folder to layersearch and drop it into where the QGIS plugins are installed. Launch QGIS and the go to "Plugins->Manage and Install Plugins..." Select the Installed tab and enable "Layer Search." If you need more help let me know. Calvin On Sat, Oct 14, 2017 at 1:52 AM, Pat Hin <ph...@gmx.de> wrote: Good morning i have several layers in attribute tables over them i would like to run a serach for a specific ID. I.e. to find in which of this tables the feature with this given ID is saved. Is there an easy way to do this by standard tools from QGIS GUI? thx pat ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Search overall several layers
Hello Richard, thank you. I need to search over SEVERAL layers and performance it is absolutly no issue. it is just to bugtracking or debugging manually by my own eyes. so if somebody has a tip for a plugin or so i would be very happy for thx pat Gesendet: Samstag, 14. Oktober 2017 um 11:19 Uhr Von: "Richard Duivenvoorde" <rdmaili...@duif.net> An: "Pat Hin" <ph...@gmx.de>, "qgis-userlists.osgeo.org" <qgis-user@lists.osgeo.org> Betreff: Re: [Qgis-user] Search overall several layers On 14-10-17 07:52, Pat Hin wrote: > Good morning > > i have several layers in attribute tables over them i would like to run a > serach for a specific ID. I.e. to find in which of this tables the feature > with this given ID is saved. > Is there an easy way to do this by standard tools from QGIS GUI? Hi Pat, well... you coud try out QGIS3 :-) it has this 'universal locator' functionality in which it is REALLY easy to search for an id/attribute value in ONE layer at the moment. In 2.18 there is probably also a plugin for (anybody?), but I think it will always be slower. would be a nice addition/feature though, to let the locator run over all layers... Regards, Richard Duivenvoorde ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] Search overall several layers
Good morning i have several layers in attribute tables over them i would like to run a serach for a specific ID. I.e. to find in which of this tables the feature with this given ID is saved. Is there an easy way to do this by standard tools from QGIS GUI? thx pat ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] Setting path to an icon
Hello, i know i have already posted this to the list but maybe somebody could help me now with my issue below :) i have successfully linked my self written script for the processing toolbox as a button to the main menu. Now i would like to link a an own image/icon to this button. Under general options for the processing toolbox there is a field for "icon" so i suppose in this field i could set sth. for this. So my questions : a.. is this right? b.. what exactly do i have to enter in this field? c.. what are the restrictions for an own icon? pixel, size etc? many thanks pat ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Fw: Error Message: Adding own script to menu
Hello Harriossu many thanks. Creating a new menu worked fine and as i hoped :) So it looks for me adding to an existing menu struggeld for some unknown reason (most surely i did something wrong). Adding as a button to the menu woked too :) so a last question: I think in the second option for that (icon) i can add an own icon: how woud i do that? thx pat Gesendet: Samstag, 07. Oktober 2017 um 18:28 Uhr Von: DelazJ <del...@gmail.com> An: "Pat Hin" <ph...@gmx.de> Cc: "qgis-userlists.osgeo.org" <qgis-user@lists.osgeo.org> Betreff: Re: [Qgis-user] Fw: Error Message: Adding own script to menu Hi Pat, I just give it a try with 2.18.13 and it works pretty well as you can see in the attached image. All i had to do is: - go to Processing menu -->Options --> Menus --> Scripts - expand the script that i'm interested in - and in Menu Path, write the menu I wanted; if what you wrote does not exist, QGIS will create a new menu. In my example i just wrote Rastery You can also add your tools to the "Processing Algorithms" toolbar. Hope that helps, Harrissou 2017-10-06 14:59 GMT+02:00 Pat Hin <ph...@gmx.de>: Hello, just for group. i "fixed" it by removing all the path to GRASS so the error message doesnt appear anymore. However i still NOT have managed it to add my own script to the menu or better as a own button in menu :) Maybe somebody in the group has a hint for me ;-) thx pat Gesendet: Freitag, 06. Oktober 2017 um 08:39 Uhr Von: "Pat Hin" <ph...@gmx.de> An: "qgis-userlists.osgeo.org" <qgis-user@lists.osgeo.org> Betreff: Error Message: Adding own script to menu Hello i tried to add my own script to the main menu of QGIS 2.18.13 and got the attached error message. As it seems i have not installed GRASS and due all my developments and test run well never needed. So what do i have to do to fully disable it so that i dont need it anymore? thank you pat ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Error by changing the CRS
Hello Harrissou, thank you. Save my vector layer (based on the original shapefile in WGS84 format) as a new shapefile in UTM CRS has worked and pretty easily. Many thanks Pat Gesendet: Freitag, 06. Oktober 2017 um 17:55 Uhr Von: DelazJ <del...@gmail.com> An: "Pat Hin" <ph...@gmx.de> Cc: "qgis-userlists.osgeo.org" <qgis-user@lists.osgeo.org> Betreff: Re: [Qgis-user] Error by changing the CRS Hi Pat 2017-10-06 17:20 GMT+02:00 Pat Hin <ph...@gmx.de>: Hello, i have an issue under 2.18.13 which i havent had under 2.18.4 I have a shapefiel with the CRS in WGS 84 which i would like to change to UTM 32N by projection. I set the project CRS to EPSG:25832, i set the CRS in the imported layer to the same but still i have the coordinates in WGS84. I have done the same under 2.18.4 some months ago w/o any problems. I'm afraid you did it wrong now and the previous time. If you just want to display your map in UTM 32N then changing the project CRS and activating the On the Fly reprojection might do the trick; no need to change layer projection. But if you wanted to have your layer in UTM 32N, note that changing the CRS value in the layer properties doesn't mean that features will be in that CRS. The CRS option in layer properties is meant to set the projection of a layer: a projection that you know is the good one but which QGIS couldn't find either because there's no prj file with your shapefile or it's a custom projection. In your case, your data are already in their good CRS, so to put them in another CRS, you need to do a reprojection, using some of the Processing tools See http://docs.qgis.org/2.18/en/docs/user_manual/working_with_vector/vector_properties.html#coordinate-reference-system and also http://docs.qgis.org/2.18/en/docs/training_manual/vector_analysis/reproject_transform.html Regards, Harrissou I have attached some screens. thx pat ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] Error by changing the CRS
Hello, i have an issue under 2.18.13 which i havent had under 2.18.4 I have a shapefiel with the CRS in WGS 84 which i would like to change to UTM 32N by projection. I set the project CRS to EPSG:25832, i set the CRS in the imported layer to the same but still i have the coordinates in WGS84. I have done the same under 2.18.4 some months ago w/o any problems. I have attached some screens. thx pat ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] Fw: Error Message: Adding own script to menu
Hello, just for group. i "fixed" it by removing all the path to GRASS so the error message doesnt appear anymore. However i still NOT have managed it to add my own script to the menu or better as a own button in menu :) Maybe somebody in the group has a hint for me ;-) thx pat Gesendet: Freitag, 06. Oktober 2017 um 08:39 Uhr Von: "Pat Hin" <ph...@gmx.de> An: "qgis-userlists.osgeo.org" <qgis-user@lists.osgeo.org> Betreff: Error Message: Adding own script to menu Hello i tried to add my own script to the main menu of QGIS 2.18.13 and got the attached error message. As it seems i have not installed GRASS and due all my developments and test run well never needed. So what do i have to do to fully disable it so that i dont need it anymore? thank you pat ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] Error Message: Adding own script to menu
Hello i tried to add my own script to the main menu of QGIS 2.18.13 and got the attached error message. As it seems i have not installed GRASS and due all my developments and test run well never needed. So what do i have to do to fully disable it so that i dont need it anymore? thank you pat ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] Processing toolbox: Import table
Hello i am writing some own script within the processing toolbox. For this i use some data saved in a table ("source_table"). Currently i select them manually and import them like the following: ##Source_Table=table layerTable = processing.getObjectFromUri(Source_Table) the code works well but i would prefer to import them automatically without select them manully. How could this be done? Thx Pat ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Using matplotlib in "processing toolbox"
Hello thats great. Thanks for your answer :) Pat Gesendet: Dienstag, 03. Oktober 2017 um 11:08 Uhr Von: "Matthias Kuhn" <matth...@opengis.ch> An: qgis-user@lists.osgeo.org Betreff: Re: [Qgis-user] Using matplotlib in "processing toolbox" Hi yes, it is basically possible to use any python module within processing. Matthias On 10/03/2017 10:50 AM, Pat Hin wrote: > Hello > > i do some scripting within the "processing toolbox". > Before to jump deeper in, a general question: > > is it basically possible to use matplotlib module within that? > > thx > pat > > > ___ > Qgis-user mailing list > Qgis-user@lists.osgeo.org > List info: https://lists.osgeo.org/mailman/listinfo/qgis-user > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user > ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] Using matplotlib in "processing toolbox"
Hello i do some scripting within the "processing toolbox". Before to jump deeper in, a general question: is it basically possible to use matplotlib module within that? thx pat ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Error message: Processing toolbox
Hello i have updated to 2.18.13 and the issue is fixed. I have not lost any projects and my scripts are still running. Many Many thanks for your hint Etienne pat Gesendet: Sonntag, 01. Oktober 2017 um 08:41 Uhr Von: "Etienne Trimaille" <etienne.trimai...@gmail.com> An: "Pat Hin" <ph...@gmx.de> Cc: "qgis-userlists.osgeo.org" <qgis-user@lists.osgeo.org> Betreff: Re: [Qgis-user] Error message: Processing toolbox Hi, You should avoid cross-posting on many mailing lists. (qgis-user and qgis-dev) 2017-10-01 0:08 GMT+07:00 Pat Hin <ph...@gmx.de>: What can i do before fully reinstall what i would dont like due to lose all my projects etc. You should update your version of QGIS 2.18, this bug has already been fixed. You won't lose your projects. Etienne thanks pat Konnte Erweiterung processing nicht laden aufgrund eines Fehlers beim Aufruf der classFactory() Methode TypeError: coercing to Unicode: need string or buffer, NoneType found Traceback (most recent call last): File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 333, in startPlugin plugins[packageName] = package.classFactory(iface) File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/__init__.py", line 38, in classFactory return ProcessingPlugin(iface) File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/ProcessingPlugin.py", line 58, in __init__ Processing.initialize() File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/core/Processing.py", line 148, in initialize Processing.addProvider(c()) File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/core/Processing.py", line 103, in addProvider % (provider.getDescription(), traceback.format_exc())) File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/algs/saga/SagaAlgorithmProvider.py", line 123, in getDescription version = SagaUtils.getSagaInstalledVersion() File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/algs/saga/SagaUtils.py", line 130, in getSagaInstalledVersion commands = [os.path.join(sagaPath(), "saga_cmd -v")] File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/algs/saga/SagaUtils.py", line 75, in sagaPath if not os.path.isdir(folder): File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/genericpath.py", line 49, in isdir st = os.stat(s) TypeError: coercing to Unicode: need string or buffer, NoneType found Python-Version: 2.7.10 (default, Feb 7 2017, 00:08:15) [GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.34)] QGIS-Version: 2.18.2 Las Palmas, exported Python-Pfad: /Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing /Applications/QGIS.app/Contents/MacOS/../Resources/python /Users/hindenberger/.qgis2/python /Users/hindenberger/.qgis2/python/plugins /Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins /Library/Frameworks/SQLite3.framework/Versions/C/Python/2.7 /Library/Frameworks/GEOS.framework/Versions/3/Python/2.7/site-packages /Library/Python/2.7/site-packages/numpy-override /Library/Python/2.7/site-packages/matplotlib-override /Library/Frameworks/GDAL.framework/Versions/2.1/Python/2.7/site-packages /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload /Library/Python/2.7/site-packages /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC /Users/hindenberger/.qgis2//python ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Error message: Processing toolbox
All, many thanks. This has been a cross posting because i thought i have used the wrong mailing list. Sorry for confusing Before updating (i fear updates soo much because i have yet lost projects etc ) i have an additional screen. This is from extended settings which shows what happend after changing it by standard menu for "processing toolbox -> ..." My own script has been set to the flaf TRUE. Would it be possible to set this flag back to FALSE by this dialog and than it shall work again? Thx Pat Gesendet: Sonntag, 01. Oktober 2017 um 08:41 Uhr Von: "Etienne Trimaille" <etienne.trimai...@gmail.com> An: "Pat Hin" <ph...@gmx.de> Cc: "qgis-userlists.osgeo.org" <qgis-user@lists.osgeo.org> Betreff: Re: [Qgis-user] Error message: Processing toolbox Hi, You should avoid cross-posting on many mailing lists. (qgis-user and qgis-dev) 2017-10-01 0:08 GMT+07:00 Pat Hin <ph...@gmx.de>: What can i do before fully reinstall what i would dont like due to lose all my projects etc. You should update your version of QGIS 2.18, this bug has already been fixed. You won't lose your projects. Etienne ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] Error message: Processing toolbox
Hello, i have crashed my QGIS :-)) What i did: Unter "Processing toolbox->option->menu" i enabled checkbox for adding my own script to the menu bar. after restart the processing toolbox is defect and cant be started. The error message is below. I tried to reinstall by plugin repo but there i get the same message that the "processing toolbox" is defect. What can i do before fully reinstall what i would dont like due to lose all my projects etc. thanks pat Konnte Erweiterung processing nicht laden aufgrund eines Fehlers beim Aufruf der classFactory() Methode TypeError: coercing to Unicode: need string or buffer, NoneType found Traceback (most recent call last): File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 333, in startPlugin plugins[packageName] = package.classFactory(iface) File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/__init__.py", line 38, in classFactory return ProcessingPlugin(iface) File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/ProcessingPlugin.py", line 58, in __init__ Processing.initialize() File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/core/Processing.py", line 148, in initialize Processing.addProvider(c()) File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/core/Processing.py", line 103, in addProvider % (provider.getDescription(), traceback.format_exc())) File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/algs/saga/SagaAlgorithmProvider.py", line 123, in getDescription version = SagaUtils.getSagaInstalledVersion() File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/algs/saga/SagaUtils.py", line 130, in getSagaInstalledVersion commands = [os.path.join(sagaPath(), "saga_cmd -v")] File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/algs/saga/SagaUtils.py", line 75, in sagaPath if not os.path.isdir(folder): File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/genericpath.py", line 49, in isdir st = os.stat(s) TypeError: coercing to Unicode: need string or buffer, NoneType found Python-Version: 2.7.10 (default, Feb 7 2017, 00:08:15) [GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.34)] QGIS-Version: 2.18.2 Las Palmas, exported Python-Pfad: /Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing /Applications/QGIS.app/Contents/MacOS/../Resources/python /Users/hindenberger/.qgis2/python /Users/hindenberger/.qgis2/python/plugins /Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins /Library/Frameworks/SQLite3.framework/Versions/C/Python/2.7 /Library/Frameworks/GEOS.framework/Versions/3/Python/2.7/site-packages /Library/Python/2.7/site-packages/numpy-override /Library/Python/2.7/site-packages/matplotlib-override /Library/Frameworks/GDAL.framework/Versions/2.1/Python/2.7/site-packages /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload /Library/Python/2.7/site-packages /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC /Users/hindenberger/.qgis2//python ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] Adding an own script to main menu
Hello i have already raised up this question in another question as a follow up but maybe interesting to raise it as a stand alone question. i have written an own scrip in processing toolbox. Could this be added to the main menu of QGIS ( i have seen some of the toolbox scripts are there but maybe this is exclusive). thnaks pat ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Processing toolbox: No autoclosing
Hello H. many thanks. It worked now.. QGIS is such a big package so everyday something new to learn :) may i add another question: i have seen some of the scrips are part of the QGIS main menu. Is that possible for "own" scripts too? Not a big issue, it would be just a cosmetic thing for me :) Pat Gesendet: Samstag, 30. September 2017 um 11:24 Uhr Von: DelazJ <del...@gmail.com> An: "Pat Hin" <ph...@gmx.de> Cc: "qgis-user@lists.osgeo.org" <qgis-user@lists.osgeo.org> Betreff: Re: Re: Re: [Qgis-user] Processing toolbox: No autoclosing Did you see in Processing menu --> Options --> Providers --> GRASS commands section? There should be an "Activate" checkbox H. 2017-09-30 11:11 GMT+02:00 Pat Hin <ph...@gmx.de>: Hello i am sorry. You are right with "reply to all". How can i deactivate it? i have make a short look through the documentation but not found something about :) Pat Gesendet: Samstag, 30. September 2017 um 10:59 Uhr Von: DelazJ <del...@gmail.com> An: "Pat Hin" <ph...@gmx.de>, "qgis-user@lists.osgeo.org" <qgis-user@lists.osgeo.org> Betreff: Re: Re: [Qgis-user] Processing toolbox: No autoclosing In that case find where GRASS is installed in your computer and fix that path (should be under Providers --> GRASS section) or clear the path and deactivate GRASS if you don't need it NB: do not forget to reply to all (and not only the person who answers) H. 2017-09-30 10:40 GMT+02:00 Pat Hin <ph...@gmx.de>: Hello thnak you. I tried a double click on it to change it and got the attached error message thx pat Gesendet: Samstag, 30. September 2017 um 10:31 Uhr Von: DelazJ <del...@gmail.com> An: "Pat Hin" <ph...@gmx.de> Cc: "qgis-user@lists.osgeo.org" <qgis-user@lists.osgeo.org> Betreff: Re: [Qgis-user] Processing toolbox: No autoclosing Hi, In Processing menu --> Options --> General, you have a checkbox to handle that. regards, Harrissou 2017-09-30 9:42 GMT+02:00 Pat Hin <ph...@gmx.de>: > Hello, > > i am writing some own code within the processing toolbox. > So is there a way that the window of the processing toolbox doesnt close > automatically after a successfull run? > > many thanks > Pat > > ___ > Qgis-user mailing list > Qgis-user@lists.osgeo.org > List info: https://lists.osgeo.org/mailman/listinfo/qgis-user > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Processing toolbox: No autoclosing
Hello i am sorry. You are right with "reply to all". How can i deactivate it? i have make a short look through the documentation but not found something about :) Pat Gesendet: Samstag, 30. September 2017 um 10:59 Uhr Von: DelazJ <del...@gmail.com> An: "Pat Hin" <ph...@gmx.de>, "qgis-user@lists.osgeo.org" <qgis-user@lists.osgeo.org> Betreff: Re: Re: [Qgis-user] Processing toolbox: No autoclosing In that case find where GRASS is installed in your computer and fix that path (should be under Providers --> GRASS section) or clear the path and deactivate GRASS if you don't need it NB: do not forget to reply to all (and not only the person who answers) H. 2017-09-30 10:40 GMT+02:00 Pat Hin <ph...@gmx.de>: Hello thnak you. I tried a double click on it to change it and got the attached error message thx pat Gesendet: Samstag, 30. September 2017 um 10:31 Uhr Von: DelazJ <del...@gmail.com> An: "Pat Hin" <ph...@gmx.de> Cc: "qgis-user@lists.osgeo.org" <qgis-user@lists.osgeo.org> Betreff: Re: [Qgis-user] Processing toolbox: No autoclosing Hi, In Processing menu --> Options --> General, you have a checkbox to handle that. regards, Harrissou 2017-09-30 9:42 GMT+02:00 Pat Hin <ph...@gmx.de>: > Hello, > > i am writing some own code within the processing toolbox. > So is there a way that the window of the processing toolbox doesnt close > automatically after a successfull run? > > many thanks > Pat > > ___ > Qgis-user mailing list > Qgis-user@lists.osgeo.org > List info: https://lists.osgeo.org/mailman/listinfo/qgis-user > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] Processing toolbox: No autoclosing
Hello, i am writing some own code within the processing toolbox. So is there a way that the window of the processing toolbox doesnt close automatically after a successfull run? many thanks Pat ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] Distance calculation between nodes
Hello, i have a general questions regards to run some analysis in QGIS.i am going to calculate the distance between the starting points (in WGS84) for the same street submitted by two different map vendors.The result should be in an analytical way in [m] Is that possible? and if yes by which module or which way it would be thebest and easiest way to do? thanksPat___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] Distance calaculation between streets
blockquote, div.yahoo_quoted { margin-left: 0 !important; border-left:1px #715FFA solid !important; padding-left:1ex !important; background-color:white !important; } Good morning, i have a general questions regards to run some analysis in QGIS.i am going to calculate the distance between the starting points (in WGS84) between the same street submitted by two different map vendors.The result should be in an analytical way in [m] Is that possible? and if yes by which module or which way it would be thebest and easiest way to do? thanksPat___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user