Re: [Qgis-user] QGis for bird surveys
You could try saving the .xls file as .csv (Comma Separated Values) and then import it with the default "Add delimited text layer" plugin. You shouldn't have any compatibility issue with it. Ale On 04/05/2013 08:22 AM, Lynkos wrote: I've just tried using the XY tools plug-in, but I get the message: "There is a problem with loading a python module which is needed to read/write Excel files. Please see documentation/help how to install python xlw and xlrd libraries". I've tried following the instructions to install the libraries, but to no avail. Once again, I come up against my lack of experience and also lack of time to invest in learning. I think my best bet for the moment is to adopt the simplest of approaches, using a text file which given my limited amount of data should work fine. Thanks again to you all and I hope one I'll be able to get down to learning some of the basics which would undoubtedly be of great help. 2013/4/4 Michael Harte <mailto:mha...@ozemail.com.au>> Sarah, To expand on what Rudi, Goyo, and Andreas have suggested with regard to converting data stored in spreadsheets and or text files to shapefiles I follow a work flow like: 1. Install "XY tools" using the Plug-in Manager (in menu - Plugins... Fetch Plug-ins... type xy in filter... XyTools 0.3.2... install); 2. After installation XY tools is found under the "Vector" menu item - make sure it is activated with a tick under "Plug-ins... Manage Plug-ins..."; 3. Click "Vector... XY tools... Open Excel file as attribute table or point layer"; 4. In dialogue box designate the columns in the spreadsheet that are the X and Y coordinates (Longitude or Easting = X; Latitude or Northing = Y) and click OK; 5. In the table of contents you will see a new layer called "Temporary Layer (volatile)" SAVE THIS LAYER (see below - if you don't it will disappear when you close your project); 6. Right click the temporary layer name and click "Save As..." (remember to set your coordinate system - CRS - easiest if it is the same as "Project CRS"); This will save your data as an ESRI format shapefile 7. Tick the "Add saved file to map box in the Save As... dialogue; and 8. Apply desired symbology to the new layer. I hope I haven't insulted you with the step by step. Sometimes its nice just to have a cookbook for new tasks. The advantage of this workflow is that you can stick with using a spreadsheet to organise and store your data. The XY tools plug-in works with both MS Excel and Libre Office Calc spreadsheets. You never have to worry about converting your data to a text file. You can make separate files for each year's data or just keep concatenating new data onto your spreadsheet and creating an updated shapefile whenever you want to display the new data. All of your attributes should be carried over into the newly created shapefile. Make sure you have a header row with column headings in the first row of the spreadsheet and no blank rows in the body of the spreadsheet. Hope this helps. cheers, Mike -- -- Con altri occhi - parole e immagini dalla parte della natura www.lynkos.net <http://www.lynkos.net> ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user -- Alessandro Sarretta e-mail: alessandro.sarre...@gmail.com skype: alesarrett Web: http://ilsarrett.wordpress.com Twitter: https://twitter.com/alesarrett Google scholar: http://scholar.google.it/citations?hl=it&user=IsyXargJ ORCID: http://orcid.org/-0002-1475-8686 ResearchGate: https://www.researchgate.net/profile/Alessandro_Sarretta/ ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] QGIS compiling problem sqlite3
Hi Paolo, On 13/02/11 21:40, Paolo Cavallini wrote: Why not using the usual route, via ccmake? I'm following the procedure here https://svn.osgeo.org/qgis/trunk/qgis/INSTALL is it not the usual one? Thanks Ale 3.7. Starting the compile = I compile my development version of QGIS into my ~/apps directory to avoid conflicts with Ubuntu packages that may be under /usr. This way for example you can use the binary packages of QGIS on your system along side with your development version. I suggest you do something similar: mkdir -p ${HOME}/apps Now we create a build directory and run ccmake: cd qgis mkdir build cd build ccmake .. When you run ccmake (note the .. is required!), a menu will appear where you can configure various aspects of the build. If you do not have root access or do not want to overwrite existing QGIS installs (by your packagemanager for example), set the CMAKE_BUILD_PREFIX to somewhere you have write access to (I usually use /home/timlinux/apps). Now press 'c' to configure, 'e' to dismiss any error messages that may appear. and 'g' to generate the make files. Note that sometimes 'c' needs to be pressed several times before the 'g' option becomes available. After the 'g' generation is complete, press 'q' to exit the ccmake interactive dialog. Now on with the build: make make install Il giorno dom, 13/02/2011 alle 21.30 +0100, Alessandro Sarretta ha scritto: Hi QGIS list, I'm trying to compile QGIS from source as I did some months ago without problems. I'm working in Ubuntu 10.10. This time after the "make" command I receive this message: ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] QGIS compiling problem sqlite3
Hi QGIS list, I'm trying to compile QGIS from source as I did some months ago without problems. I'm working in Ubuntu 10.10. This time after the "make" command I receive this message: Linking CXX executable qgis /usr/lib/gcc/i686-linux-gnu/4.4.5/../../../../lib/libgdal1.7.0.so: undefined reference to `sqlite3_bind_int' /usr/lib/gcc/i686-linux-gnu/4.4.5/../../../../lib/libgdal1.7.0.so: undefined reference to `sqlite3_column_double' /usr/lib/gcc/i686-linux-gnu/4.4.5/../../../../lib/libgdal1.7.0.so: undefined reference to `sqlite3_bind_double' /usr/lib/gcc/i686-linux-gnu/4.4.5/../../../../lib/libgdal1.7.0.so: undefined reference to `sqlite3_column_text' /usr/lib/gcc/i686-linux-gnu/4.4.5/../../../../lib/libgdal1.7.0.so: undefined reference to `sqlite3_free_table' /usr/lib/gcc/i686-linux-gnu/4.4.5/../../../../lib/libgdal1.7.0.so: undefined reference to `sqlite3_column_bytes' /usr/lib/gcc/i686-linux-gnu/4.4.5/../../../../lib/libgdal1.7.0.so: undefined reference to `sqlite3_last_insert_rowid' /usr/lib/gcc/i686-linux-gnu/4.4.5/../../../../lib/libgdal1.7.0.so: undefined reference to `sqlite3_prepare' /usr/lib/gcc/i686-linux-gnu/4.4.5/../../../../lib/libgdal1.7.0.so: undefined reference to `sqlite3_column_name' /usr/lib/gcc/i686-linux-gnu/4.4.5/../../../../lib/libgdal1.7.0.so: undefined reference to `sqlite3_finalize' /usr/lib/gcc/i686-linux-gnu/4.4.5/../../../../lib/libgdal1.7.0.so: undefined reference to `sqlite3_bind_text' /usr/lib/gcc/i686-linux-gnu/4.4.5/../../../../lib/libgdal1.7.0.so: undefined reference to `sqlite3_free' /usr/lib/gcc/i686-linux-gnu/4.4.5/../../../../lib/libgdal1.7.0.so: undefined reference to `sqlite3_exec' /usr/lib/gcc/i686-linux-gnu/4.4.5/../../../../lib/libgdal1.7.0.so: undefined reference to `sqlite3_bind_blob' /usr/lib/gcc/i686-linux-gnu/4.4.5/../../../../lib/libgdal1.7.0.so: undefined reference to `sqlite3_step' /usr/lib/gcc/i686-linux-gnu/4.4.5/../../../../lib/libgdal1.7.0.so: undefined reference to `sqlite3_get_table' /usr/lib/gcc/i686-linux-gnu/4.4.5/../../../../lib/libgdal1.7.0.so: undefined reference to `sqlite3_open' /usr/lib/gcc/i686-linux-gnu/4.4.5/../../../../lib/libgdal1.7.0.so: undefined reference to `sqlite3_reset' /usr/lib/gcc/i686-linux-gnu/4.4.5/../../../../lib/libgdal1.7.0.so: undefined reference to `sqlite3_column_blob' /usr/lib/gcc/i686-linux-gnu/4.4.5/../../../../lib/libgdal1.7.0.so: undefined reference to `sqlite3_column_int' /usr/lib/gcc/i686-linux-gnu/4.4.5/../../../../lib/libgdal1.7.0.so: undefined reference to `sqlite3_column_count' /usr/lib/gcc/i686-linux-gnu/4.4.5/../../../../lib/libgdal1.7.0.so: undefined reference to `sqlite3_close' /usr/lib/gcc/i686-linux-gnu/4.4.5/../../../../lib/libgdal1.7.0.so: undefined reference to `sqlite3_column_decltype' /usr/lib/gcc/i686-linux-gnu/4.4.5/../../../../lib/libgdal1.7.0.so: undefined reference to `sqlite3_column_type' /usr/lib/gcc/i686-linux-gnu/4.4.5/../../../../lib/libgdal1.7.0.so: undefined reference to `sqlite3_errmsg' collect2: ld returned 1 exit status make[2]: *** [src/app/qgis] Error 1 make[1]: *** [src/app/CMakeFiles/qgis.dir/all] Error 2 make: *** [all] Error 2 do you have any suggestions? Thank you very much. Ale ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Re: RasterCalc
Hi Alexander, thanks for your great work in this very useful plugin! I was wondering if it is possible to add other (I think) interesting functionalities to RasterCalc plugin: - define a pixel resolution - use a layer (vector or raster) as a mask - use a layer (raster) as a region, in the sense of GRASS region, i.e. using its pixel resolution, bounding box thank again! Ale(ssandro) Alexander Bruy wrote: Hi Agustin, thanks for your interest and feedback 2010/1/22 Agustin Lobo : 1. Resulting raster is loaded in qgis as name.tif instead as name as usual. 2. If name.tif is selected for processing, you get a syntax error 3. If name.tif is renamed to name in the Layers list, the syntax error goes away. I'll fix all this issues tonight 4. Could you include a round() function? 5. In general, could you include all functions required to match r.mapcalc functionality? Ok, I'll try to include round() function ASAP. About r.mapcalc functionality. We plan to improve plugin in future, but unfortunatelly now I haven't much time (need to complete one project). As result I can't say how quick I can add this stuff. I'll add your request to the TODO and implement it later. On Win XP (Standalone): 1.The plugin gets installed but cannot be run: "Couldn't import Python module 'pyparsing'. Without it you won't be able to run RasterCalc" Does this mean that RasterCalc can be run from the Osgeo4w version only? If this is the case, this notice should be issued at installing the plugin. And, most important, will we have RasterCalc working for the Standalone version soon? (I'm interested on using it for a course). RasterCalc should work with both QGIS, standalone and Osgeo4w if all required modules are present. Required modules are: numpy, osgeo.gdal (Python bindings to GDAL) and pyparsing. As far as I know numpy and Python bindings to GDAL are already present in standalone QGIS. So if you want to use RasterCalc with standalone QGIS you only need to download and install pyparsing into QGIS python folder. homepage: http://pyparsing.wikispaces.com/ download page: http://sourceforge.net/projects/pyparsing/files/ Hope this helps. If you have any other questions feel free to email me. Regards ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Re: QgsVectorLayer: SQL query
Hi all, Germán Carrillo wrote: Hi Pietro. I guess you can do that only with PostGIS layers (I don't know if SpatiaLite layers too). Just open the layer properties window, go to the General tab, go to 'Query builder' and set a query. Regards. Germán using last QGIS 1.4.0 trunk you can do it also for shapefiles! Ale ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] What is the matter with QGis versus MS Windows?
Mats Elfström wrote: Hi! (this is a bit OT rant) What it the matter with Qgis versus MS Windows? According to w3schools, the windows family operating systems account for 90% of all users world wide. There is nothing to indicate that GIS people should differ from this pattern. Open source should not be platform dependent but I still claim that QGis is. There are dozens of Mac and Linux versions with funny names but only two Windows versions that apparently never works satisfactorily. I have all but given up recommending QGis for Windows systems. Hi Mats, I'm a (mainly) Windows user, and I work without problem with QGIS in Windows... I don't understand your problems. Could you be more precise? In Windows XP I'm using with great satisfaction QGIS 1.4 (trunk), installed with OSGeo4W, with all amazing last updates and every day I can update my installation with the last version... It seems to me that you are polemic without reason :-) Ale ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] Re: user guide italian translation
Hi all, after some discussion with Paolo C., Carson and Otto, I started to work on some files of the italian translation of QGIS 1.0.0 manual. I started with the translation of index links inside tex files and I'm going ahead. I have one question about latex that I want to solve before updating files in the svn repository: I see in the "italian" tex files that instead of accented character (è, ù, ...) there are strange symbols (è, ù, ...). How can I manage this? Otto suggested me: you need proper language settings in the latex style file (qgis_style.sty). Please compair with the italian 1.0 translation. It should look like this. \usepackage[utf8]{inputenc} \usepackage[italian]{babel} \usepackage[T1]{fontenc} but it seems all right. Suggestions? thanks in advance! Ale p.s. after finishing the 1.0.0 manual we are thinking to work directly on the 1.3.0 version: is there any other italian "translator" who can help? :-) ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: R: Re: [Qgis-user] manage R behaviour
Thanks for the fast replay Carson, Carson Farmer ha scritto: Hi Ale, No new yet, but the information you provided below might be helpful. I changed the way manageR communicates with R slightly (it actually works better the way it is, but for some reason windows doesn't show results...). I will try a few things tonight, and let you know how it goes. I may have some things for you to test if you have some time, as I don't have access to Windows myself...? I could have time this week, so don't esitate to ask me... Ale ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: R: Re: [Qgis-user] manage R behaviour
Hi Carson, do you have news about this problem? For your information, I noticed that using the R console from "SDA4PP" plugin, I have no problems and I can see variables created form the console of "manage R" too... I rememebr you that I'm using QGIS trunk, installed by OSGeo4W in Windows XP, R2.9.0, manageR 0.7.2 thanks Ale alessandro.sarre...@inwind.it ha scritto: Hi Carson, I tried with a simple point layer called "SAMA". Data are loaded correctly, but if I try to use "ls()" or "names(SAMA)" I have no results... If I instead do plot(SAMA$X) I obtain correctly the plot. So data are loaded, it seems a problem with the "print" output on the manageR console Tell me if I can test something... thanks Ale Messaggio originale Da: carson.far...@gmail.com Data: 26/08/2009 11.10 A: "Alessandro Sarretta" Cc: Ogg: Re: [Qgis-user] manage R behaviour Hi guys, Does any of the text show up after you load a layer via Ctrl-L or anything like that? What about if you try to save a graphic (this should export a command to the manageR console)? Based on the versions of the various software required, I can't see why this isn't working. It must be a Windows thing, but unfortunately, I don't have access to a Windows machine at the moment. Cheers, Carson On Tue, Aug 25, 2009 at 10:12 PM, Alessandro Sarretta mailto:alessandro.sarre...@inwind.it>> wrote: Hi Carson, same behaviour for me, using QGIS trunk e QGIS 1.1, installed by OSGeo4W in Windows XP. R2.9.0 manageR 0.7.2 qt4-libs 4.5.2-1 pyqt4 4.5.2-5 python-rpy2 2.0.3-1 and congratulations, your plugin is improving really well! thanks Ale Carson Farmer ha scritto: Hi Filip, Dear all, I finally got to work manage R plug-in (version 0.7.2 woks, I use R 2.9.1, Qgis 1.0.2, Win XP). But I am confused by its behaviour. The console doesn't return any results. I mean, when I type: $ x<-1 $ y<-2 $ x+y Nothing is returned, even though the variables x and y exist (they are listed on the Environment tab). However, when I load a shape file with Ctrl+L, the console writes out a message "QGIS Vector Layer Name: ..." etc. Is this a standard behaviour of manage R? no it is not the standard behaviour... I'm not sure why you aren't getting any output to the console with normal R commands. I haven't testing this plugin on Windows yet, so perhaps I'll give this a try tonight and see if I can get the same behaviour. What versions of Qt and Rpy are you running? -- Carson Farmer National Centre for Geocomputation John Hume Building, National University of Ireland, Maynooth, Maynooth, Co. Kildare, Ireland. www.carsonfarmer.com <http://www.carsonfarmer.com> ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] manage R behaviour
Hi Carson, same behaviour for me, using QGIS trunk e QGIS 1.1, installed by OSGeo4W in Windows XP. R2.9.0 manageR 0.7.2 qt4-libs 4.5.2-1 pyqt4 4.5.2-5 python-rpy2 2.0.3-1 and congratulations, your plugin is improving really well! thanks Ale Carson Farmer ha scritto: Hi Filip, Dear all, I finally got to work manage R plug-in (version 0.7.2 woks, I use R 2.9.1, Qgis 1.0.2, Win XP). But I am confused by its behaviour. The console doesn't return any results. I mean, when I type: $ x<-1 $ y<-2 $ x+y Nothing is returned, even though the variables x and y exist (they are listed on the Environment tab). However, when I load a shape file with Ctrl+L, the console writes out a message "QGIS Vector Layer Name: ..." etc. Is this a standard behaviour of manage R? no it is not the standard behaviour... I'm not sure why you aren't getting any output to the console with normal R commands. I haven't testing this plugin on Windows yet, so perhaps I'll give this a try tonight and see if I can get the same behaviour. What versions of Qt and Rpy are you running? ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] Re: Manage R
Yes, I'm using the OSGeo4W installer and I think I selected all useful gdal library... but I'm glad to have advices :-) Ale Carson Farmer ha scritto: hmm I wonder if this has something to do with the osgeo4w install of these programs... I'll have a poke around and see what I come up with... are you using the osgeo4w installer? Carson ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] Re: Manage R
Carson, Carson Farmer ha scritto: This might have something to do with the fact that rgdal is often installed in a separate directory than other R packages (because it depends on proj4 and gdal/ogr. When trying to load the library in manageR, try specifying the lib.loc or libpath parameter(s), you will have to figure out where these packages are installed first, as I do not have a Windows machine to check this on. If this doesn't work, please let me know, and I'll try to think of something else... lib.loc: a character vector describing the location of R library trees to search through, or 'NULL'. The default value of 'NULL' corresponds to all libraries currently known. Non-existent library trees are silently ignored. libpath: a character string giving the complete path to the package. in Windows all packages (included rgdal) are installed in C:\Programmi\R\R-2.7.0\library\. I tried to set lib.loc and libpath but without good results. I don't know if I made some errors with paths, but I tried numerous ones... Ale ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] Re: Manage R
Hi Carson, I tried to use the Ctrl+F command in the manageR interface to export a R layer to a file, but I had this message: Unable to find R package 'rgdal'. but using R interface I installed rgdal and I can load it without problem (with "library(rgdal)" command). If I use "library(rgdal)" in the manageR interface I have this message: Errore: caricamento pacchetto/namespace fallito per 'rgdal' (in italian) Error: loading package/namespace failed for 'rgdal' (in english) The Ctrl+M command works fine. What could be the problem? I'm using QGIS 1.0.1 (OSGEO installer) and R-2.7.0 in Windows XP. Carson Farmer ha scritto: of the table seems to be random. It's a bug or it's a normal behaviour of sp package that I'm not able to manage? I noticed that, when I load a layer in manageR, the order of the fields Well it's a bit of both: PyQGIS and RPy use python dicts to store attribute data etc., and at some point between reading the attributes from QGIS and converting to R the fields get randomised (python dicts store key-value pairs in random order to speed retrieval). So it's nothing to do with R. I am going to have a look at this today, because in the past I have been able to overcome this problem. Thanks for reminding me ;-) About this problem, I updated the plugin and now it's works: the fields are in the original order! Thank you very much!!! Ale ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] Manage R
Hi Carson, I updated manageR plugin and now It works perfectly in my notebook! Great! I noticed that, when I load a layer in manageR, the order of the fields of the table seems to be random. It's a bug or it's a normal behaviour of sp package that I'm not able to manage? Thank you very much! Ale p.s. I hope to have the time to test manageR and to prepare a small basic statistical course with QGIS+manageR for my colleagues. Your plugin is a great tool! :-) ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Python scripting
I'm also interested in using python and QGIS for simple scripts espacially for batch processing, and some examples could be very useful! Thanks Ale georgew ha scritto: ThanKs Alex, the problem is I have not been able to find any example that is free standing, all seem to be plugins or use QT to generate a UI. Can you point me to a working example, however simple (e.g. read shapefile, project,write shapefile) that can set me off on the right path? Many thanks G. ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] can't find the legend !
Right click of the mouse on the main or tool bar and then select Legend :-) Ale Jeremy Garniaux ha scritto: Hi team, I guess I closed the legend by accident and can't display it again. Any tip ? Could this be related to the impossibility to display the coordinate capture dialog ?? Thanks a lot, Jeremy (NB : I removed QGIS and related libs to see if it could help, then reinstalled it. Looks like there were some preferences files that I didn't delete, because the display configuration (toolbars etc) is exactly the same than before). ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user . ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] simple question
Right click of the mouse on the main or tool bar and then select Legend and Overview :-) Ale T K ha scritto: HI I accidentally closed the map legend and the overview windows. how can i re-open them and make them visible? thnx a bunch T. ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Re: manageR update
Hello Carson and list, do you have in program to update manageR to the new QGIS 1.0.0 version? I don't find it in the plugin list... ManageR is a very useful tool for advanced elaboration of GIS data in QGIS using statistical procedures and in my work could be fundamental... thank you very much! Cheers Ale cfarmer ha scritto: Hello list, This should be the last manageR update on this list, as I have now added a 'check for updates' button to the manageR gui. This, as well as some bug fixes, improved command recall (i.e. when you press the up and down buttons, it retrieves previous commands...), and the ability to load attributes (just attributes, no spatial information) from the selected features has been added. Thanks to all of you who have provided input etc., and keep the suggestions coming! Let me know if you find manageR useful (off list of course), and if the improvements/updates are working for you. Also, my imagination is pretty limited these days, so if you think of something to add to manageR, let me know, I probably haven't thought of it! Cheers, Carson ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] New plugins: profiles and table management
Hi Borys, and thank you for your plugin for table management, surely it is a fundamental tool! I tried to use it inserting, deleting, cloning, renaming a vector polygon layer in my QGIS 0.10.0 in Windows XP. When I save it, it starts to work until 20-30 %, but then it stops and shows me this error message: >An error has occured while executing Python code: > >Traceback (most recent call last): > File "C:/Documents and Settings/Ale/.qgis//python/plugins\tablemanager\doTableManager.py", line 504, in doSaveAs > print "babajaga" >IOError: [Errno 9] Bad file descriptor What could be the cause of this error? Another little observation is that, when I rename a column, it transforms all small letters in capital letters. Alessandro Borys Jurgiel ha scritto: Ladies and Gentlemans, Sorry I was so quiet last days, but I was writting a few plugins. A first three of them are already usable, so I ask you to testing :) Since my English is rather poor, also any language fixes will be priceless... Path to the repository: http://www.bwj.aster.net.pl/qgis/plugins.xml and to the little description: http://www.bwj.aster.net.pl/qgis/ I hope you will like they. Also I have two questions: 1) "Point profile - The tool for collecting polygon attributes from multiple layers at specified sampling points". I'm not sure if is this name and description obvious? Mabye there is better word for describe this function already? 2) License problem. I used a few icons from QGIS main interface and two ones from a KDE theme, published under LGPL license. Do I have to mention about their origin? And can I use LGPL-licensed icons in the GPL-licensed program? Maybe the easiest way is to paint similar ones myself? Now I'm getting down to the Plugin Installer/updater. Sorry I didn't answer yet! ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] calculate statistics on an attribute table
With the spqr (http://www.maths.lancs.ac.uk/~rowlings/Software/Spqr/) python-R plugin you can calculate some simple statistics. Ale Maciej Sieczka ha scritto: Mars Sjoden pisze: Is there a way to quickly calculate statistics on an attribute table column? Not that I know of. A workaround for doing this with external software: 1. open attrubute table in QGIS 2. select all rows (select first one, go to bottom of the table, press ctrl selecting the last row) 3. ctrl+c 4. open some spreadsheat/statistics software 5. paste If your layer is PostGIS you can use PostgreSQL advanced stats features directly. If you want to put your SHP into PgSQL use the QGIS SPIT plugin or shp2pgsql CLI utility. Best, Maciek P.S. Please don't hi-jack threads. ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user . ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Projections Management Tool
Hello Carson, thankyou for your plugin! It's a very useful tool ! I'm trying it using QGIS 0.9.2 in WindowsXP. I defined the 3004 projection for a polygon vector layer. It works fine, but I noticed that in the .prj file is written: PROJCS["unnamed", ... instead of PROJCS["Transverse_Mercator", ... Is it an error? Alessandro Sarretta Carson Farmer ha scritto: Hello List, I have developed two projection management tools ( using python ) which I would like to disseminate to the general public, but rather than upload directly to the repository ( where people may unwittingly download, use, and then find that it just plain doesn't work ) I though some 'beta' testing might be in order. For anyone who might be interested, the plugin is available from here: http://www.geog.uvic.ca/spar/tools.html The tool basically provides functionality similar to the 'Project', and 'Define Projection' tools in ArcGIS for vector data. There is a simple description on the website, as well as instructions on how to install/use the plugins. *You are best off using only the latest version of QGIS.* I am particularly interested in hearing from any mac users, as I do not have access to a mac for testing myself. Thanks for your help, Sincerely, Carson Farmer ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user