[Qgis-user] extend problem with openlayers in composer
Hi all, tested with qgis1.6 on both ubuntu10.10 and windowsXP, the extend of a openlayers layer (using openstreetmap rendering) in the composer is zoomed in when the canvas is exported to an image (png, jpg,...) or to a pdf file. Cheers -- Lionel Roubeyrie lionel.roubey...@gmail.com http://youarealegend.blogspot.com ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] How to Identify the best subdataset of a dataset of points which follow a canonical distribution ?
Hello, in first approch you can compute the general mean of your observations and select only stations with rain mesureaments failing inside a determinated tolerance around that mean. Another common use would be to randomly remove some stations and look at the resulting variance against the general variance (with all stations) and stop when a tolerance is reached. The best approach would be to play with kriging your observations and look at the resulting map when some stations are removed. Cheers 2011/1/25 Albin Blaschka albin.blasc...@standortsanalyse.net: Hello, another idea, unfortunately no solution, would be to ask at the r-sig-geo Mailinglist[1] - a list on the statistic-package R, which can be used directly in QGIS via the ManageR-Plugin...if you know a little bit of statistics and R... but could also be a little bit of overdoing if you have never worked with R before... Maybe an idea... Albin [1] r-sig-...@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-geo Am 25.01.2011 12:52, schrieb Anita Graser: Hi Nikos, I think this would be a perfect question for gis.stackexchange.com A manual approach (135 stations is not that much) would be to decide on a maximum distance between stations (depends on your analysis requirements I guess) and then buffer the station points accordingly. You can then manually remove points with redundant/overlapping geographic coverage. But I'm sure there are better solutions :) Best wishes, Anita On Tue, Jan 25, 2011 at 12:09 PM, nikos vesni...@gmail.com wrote: Hello List, I have an interesting problem, and I'd really appreciate if you could give a couple insightful tips on how you'd solve the following: I want to order some meteo (rain mm/month for PSDI) data from my corresponding national agency, but in their infinitive wisdom they choose to place their weather stations in a pattern that follows anything but a canonical distribution. I know this because they sent me a shp file with all their 136 stations which are available to the general public - for a fee of couse. Now my problems arise on how I choose which possible combination of my dataset of stations correspond to a canonical distribution of the mainland - keeping the set of the stations to a minimum as with each station the cost goes up? I want to be as much efficient one can be using GIS technology ;) My initial thinking is to find a subdataset which have their voronoi polygons created with the same area. But im not so sure if thats the correct approach Any tips on how to solve this problem is greatly appreciated! Ves Nikos ___ 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 ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user -- Lionel Roubeyrie lionel.roubey...@gmail.com http://youarealegend.blogspot.com ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] How to Identify the best subdataset of a dataset of points which follow a canonical distribution ?
Sorry for the mistake, I didn't read carrefully. Without observations, it will be hard to extract some relevant informations on just geographical situations (distances matrix?), unless you can work with others datas (wind speeds and directions, ...) and correlate them with rainfalls. 2011/1/25 Anita Graser anitagra...@gmx.at: Hi Lionel, Those are good approaches. I think the problem is that Nikos doesn't have any measurement data yet (because he has to pay for every single station). So in this case, I don't think these methods can be used. Best wishes, Anita On Tue, Jan 25, 2011 at 2:39 PM, Lionel Roubeyrie lionel.roubey...@gmail.com wrote: Hello, in first approch you can compute the general mean of your observations and select only stations with rain mesureaments failing inside a determinated tolerance around that mean. Another common use would be to randomly remove some stations and look at the resulting variance against the general variance (with all stations) and stop when a tolerance is reached. The best approach would be to play with kriging your observations and look at the resulting map when some stations are removed. Cheers 2011/1/25 Albin Blaschka albin.blasc...@standortsanalyse.net: Hello, another idea, unfortunately no solution, would be to ask at the r-sig-geo Mailinglist[1] - a list on the statistic-package R, which can be used directly in QGIS via the ManageR-Plugin...if you know a little bit of statistics and R... but could also be a little bit of overdoing if you have never worked with R before... Maybe an idea... Albin [1] r-sig-...@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-geo Am 25.01.2011 12:52, schrieb Anita Graser: Hi Nikos, I think this would be a perfect question for gis.stackexchange.com A manual approach (135 stations is not that much) would be to decide on a maximum distance between stations (depends on your analysis requirements I guess) and then buffer the station points accordingly. You can then manually remove points with redundant/overlapping geographic coverage. But I'm sure there are better solutions :) Best wishes, Anita On Tue, Jan 25, 2011 at 12:09 PM, nikos vesni...@gmail.com wrote: Hello List, I have an interesting problem, and I'd really appreciate if you could give a couple insightful tips on how you'd solve the following: I want to order some meteo (rain mm/month for PSDI) data from my corresponding national agency, but in their infinitive wisdom they choose to place their weather stations in a pattern that follows anything but a canonical distribution. I know this because they sent me a shp file with all their 136 stations which are available to the general public - for a fee of couse. Now my problems arise on how I choose which possible combination of my dataset of stations correspond to a canonical distribution of the mainland - keeping the set of the stations to a minimum as with each station the cost goes up? I want to be as much efficient one can be using GIS technology ;) My initial thinking is to find a subdataset which have their voronoi polygons created with the same area. But im not so sure if thats the correct approach Any tips on how to solve this problem is greatly appreciated! Ves Nikos ___ 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 ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user -- Lionel Roubeyrie lionel.roubey...@gmail.com http://youarealegend.blogspot.com ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user -- Lionel Roubeyrie lionel.roubey...@gmail.com http://youarealegend.blogspot.com ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] mapserver
Hi Jean Roc, sorry I'm talking about qgis_mapserver. I have already followed the two links you give but they speak about dev version of qgis. Trying to mix these docs with the 1.6 stable version, I get a blank image with shp2img from a simple qgis project containing one layer from a postgis database. I use the maserver export plugin by changing mapserv by qgis_mapserv.fcgi, but maybe is it wrong... 2010/12/4 MORREALE Jean Roc jr.morre...@enoreth.net: Le 03/12/2010 21:45, Lionel Roubeyrie a écrit : Hi, is there a simple example/tutorial of how to set up a mapserver with the latest qgis version on ubuntu, I can't get a correct result (blank image)? thanks Are you talking about qgis-mapserver or mapserver umn ? If this is about Q-MS there is a few pages to read : - official tutorial http://karlinapp.ethz.ch/qgis_wms/documentation/index.html - http://linfiniti.com/2010/08/qgis-mapserver-a-wms-server-for-the-masses/ - ubuntu package at https://launchpad.net/~ubuntugis/+archive/ubuntugis-unstable/+packages ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user -- Lionel Roubeyrie lionel.roubey...@gmail.com http://youarealegend.blogspot.com ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Re: Overview (inset map ) in map composer
Hi Andreas, I don't like manually setting extents values in the composer, I prefer having the same extents in the map canvas and in the composer, but sometimes I can't because the composer doesn't exactly follows the map canvas (specially when I want to print in A3 format). I know we can zoom with the mouse wheel but then the zoom factor is sometimes too big. Maybe if we can have more precision on the zoom factor, like by holding the CTRL key while zooming with the mouse wheel, or/and a zoom-rectangle button... 2010/10/28 Andreas Neumann a.neum...@carto.net: Hi Lionel, Do you mean a zoom-rectangle in the selected map view? I usually set the map scale to some round value (I don't like map scales that are not rounded). This sets the zoom value for me. Then you can change the map extent by dragging the map content. Are you aware that you can also zoom with the mouse wheel in the map in the print composer? Given this functionality - do you still think that the zoom rectangle is necessary? Andreas On Thu, October 28, 2010 9:39 am, Lionel Roubeyrie wrote: HI, and a select zoom area button in the print composer would be a great thing too, setting manually extents is not as simple as in the map canvas. cheers 2010/10/28 Alister Hood alister.h...@synergine.com: Hi guys, There is a feature request for adding the map from the overview pane to the composer: https://trac.osgeo.org/qgis/ticket/2348 That person is after essentially the same result as you Marco, but they seem to have forgotten that the extent of the map view is almost always at least slightly different from the extent of the detail map in the print composer. So the map extent rectangle shown in the overview would be wrong. It might be more flexible anyway to have a plugin add a rectangle to a normal map canvas on the print composer, showing the extents of another map canvas. I think this would be a popular feature - does anyone know how feasible it would be? I imagine the other problem mentioned in that ticket (the difficulty around preserving/changing the layers shown on a map canvas in the composer) is something that should be addressed separately. Regards, Alister Date: Wed, 27 Oct 2010 15:42:10 + (UTC) From: Marco Tuckner marcotuck...@public-files.de Subject: [Qgis-user] Re: Overview (inset map ) in map composer To: qgis-user@lists.osgeo.org Message-ID: loom.20101027t174030-...@post.gmane.org Content-Type: text/plain; charset=us-ascii You can simply add another map to the canvas, and then set the extents and scale to only cover your area of interest. Yes. But how do I make them dynamically zoom and also display an extend rectangle on the overview map showing th extend of the detailed map? Thanks for following up. Regards, Marco ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user -- Lionel Roubeyrie lionel.roubey...@gmail.com http://youarealegend.blogspot.com ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user -- Andreas Neumann http://www.carto.net/neumann/ http://www.svgopen.org/ -- Lionel Roubeyrie lionel.roubey...@gmail.com http://youarealegend.blogspot.com ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Re: Overview (inset map ) in map composer
HI, and a select zoom area button in the print composer would be a great thing too, setting manually extents is not as simple as in the map canvas. cheers 2010/10/28 Alister Hood alister.h...@synergine.com: Hi guys, There is a feature request for adding the map from the overview pane to the composer: https://trac.osgeo.org/qgis/ticket/2348 That person is after essentially the same result as you Marco, but they seem to have forgotten that the extent of the map view is almost always at least slightly different from the extent of the detail map in the print composer. So the map extent rectangle shown in the overview would be wrong. It might be more flexible anyway to have a plugin add a rectangle to a normal map canvas on the print composer, showing the extents of another map canvas. I think this would be a popular feature - does anyone know how feasible it would be? I imagine the other problem mentioned in that ticket (the difficulty around preserving/changing the layers shown on a map canvas in the composer) is something that should be addressed separately. Regards, Alister Date: Wed, 27 Oct 2010 15:42:10 + (UTC) From: Marco Tuckner marcotuck...@public-files.de Subject: [Qgis-user] Re: Overview (inset map ) in map composer To: qgis-user@lists.osgeo.org Message-ID: loom.20101027t174030-...@post.gmane.org Content-Type: text/plain; charset=us-ascii You can simply add another map to the canvas, and then set the extents and scale to only cover your area of interest. Yes. But how do I make them dynamically zoom and also display an extend rectangle on the overview map showing th extend of the detailed map? Thanks for following up. Regards, Marco ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user -- Lionel Roubeyrie lionel.roubey...@gmail.com http://youarealegend.blogspot.com ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Re: New symbology: no border
You have to use the symbology dialog box in top-down way : 1 - Layer property Symbology 2 - Renderer : categorized 3 - Column : wathever you want to display 4 - Symbol : click Change to open the symbol selector dialog, click Properties and set border style to no pen, click Ok, Ok and come back to symbology/layer properties 5 - select a color ramp 6 - click on Classify, all classes are now with no border (come back and change the symbol if you want to set a transparency) 7 - CLose the layer properties dialog by clicking on Ok 8 - be happy :) 2010/9/24 Timmie timmichel...@gmx-topmail.de: set to no pen for the border style in the symbol property dialog. I tried this. My observations: a) it does not have any affect on the drawn map (still a major part of polygons with borders) b) I need to change the symbol for each single class. Is there a possibility to set all symbols to no border? Regards. ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user -- Lionel Roubeyrie lionel.roubey...@gmail.com http://youarealegend.blogspot.com ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] qgis segfaults on raster interpolation
Hi all, using qgis 1.5 on ubuntu, qgis segfaults on creating a interpolated raster from vectors points and TIN option (not IDW). Do we have to have a particular library beside qgis or is it a know bug? Thanks -- Lionel Roubeyrie lionel.roubey...@gmail.com http://youarealegend.blogspot.com ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] (no subject)
Hi all, it's not an abnormal plugin fonctionnality but a standard error message saying there's some python unsatisfied dependencies, like you can read at the end of the error message or from the shell : ImportError: No module named matplotlib.pyplot. Just have to install matplotlib and all will be ok. After that, when I was young I learned a basic rule of life saying if I want an information, I have to correctly ask the question and not so optionnaly be civilized with an simple hello. Didn't see that in the first post... 2010/7/26 Giuseppe Sucameli brush.ty...@gmail.com: Hi Noli, the Python Plugin Installer shows the unsatisfied dependencies yet. After the error message you should see the Error loading plugin dialog which says to you there are unfulfilled dependencies. Instead it's strange to see the error message! Trying to install other plugin with unsatisfied dependencies I don't see it, but the error loading plugin dialog only. So it's an abnormal plugin behaviour. Cheers. 2010/7/26 Giuseppe Sucameli brush.ty...@gmail.com: Hi Noli, the Python Plugin Installer shows the unsatisfied dependencies yet. After the error message you should see the Error loading plugin dialog which says to you there are unfulfilled dependencies. Instead it's strange to see the error message! Trying to install other plugin with unsatisfied dependencies I don't see it, but the error loading plugin dialog only. So it's an abnormal plugin behaviour. Cheers. On Mon, Jul 26, 2010 at 3:08 AM, Noli Sicad nsi...@gmail.com wrote: I think this problem is very typical problem for plugins with dependencies with other python packages. It would have been better if plugins would show the dependecies message so user could download and install the package. In this case, just tell the user to download and install the matplotlib package. http://matplotlib.sourceforge.net/users/installing.html Noli On 7/26/10, Carson Farmer carson.far...@gmail.com wrote: Except that will remove all plugins! What you probably really want is: rm -rf /Users/hermanpalaquium/.qgis/python/plugins/contour Which will only remove the contour plugin, which is failing to load because matplotlib isn't installed... I think you can also do this from the Python plugin installer by selecting to remove the plugin? Carson Traceback (most recent call last): File /Applications/Qgis.app/Contents/MacOS/../Resources/python/qgis/utils.py, line 119, in loadPlugin __import__(packageName) File /Users/hermanpalaquium/.qgis//python/plugins/contour/__init__.py, line 28, in from contour import Contour File /Users/hermanpalaquium/.qgis//python/plugins/contour/contour.py, line 38, in import matplotlib.pyplot as plt ImportError: No module named matplotlib.pyplot -- Carson J. Q. Farmer ISSP Doctoral Fellow National Centre for Geocomputation National University of Ireland, Maynooth, 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 -- Giuseppe Sucameli ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user -- Lionel Roubeyrie lionel.roubey...@gmail.com http://youarealegend.blogspot.com ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] (no subject)
Hi Guiseppe, ok no polemic no troll (and no woman no cry :p ) just sometimes is good to look at the basics. For the message, effectively the Python plugin installer normally catches the error, then what about the first Herman problem ImportError: No module named owslib.etree? Is it possible to think about having a small dialog for each plugin in the installer where plugins devs could set some more detailled description and maybe the dependencies? My 2 cents 2010/7/26 Giuseppe Sucameli brush.ty...@gmail.com: Hi Lionel, On Mon, Jul 26, 2010 at 1:43 PM, Lionel Roubeyrie lionel.roubey...@gmail.com wrote: Hi all, it's not an abnormal plugin fonctionnality but a standard error message saying there's some python unsatisfied dependencies, like you can read at the end of the error message or from the shell : ImportError: No module named matplotlib.pyplot. Just have to install matplotlib and all will be ok. AFAIK normally that exception is intecepted by the Python Plugin Installer that shows the unsatisfied dependencies. Did you try what happens with other plugins? AFAICS no error message is shown by the other plugins with unfulfilled dependencies. After that, when I was young I learned a basic rule of life saying if I want an information, I have to correctly ask the question and not so optionnaly be civilized with an simple hello. Didn't see that in the first post... I agree, but it's better to avoid unnecessary polemics. Shortly before starting this thread, Herman write another thread titled what happens?.. that starts: hi tim and qgis users. So I think that it's only a blunder, nobody would start a thread without subject and greeting. Cheers. 2010/7/26 Giuseppe Sucameli brush.ty...@gmail.com: Hi Noli, the Python Plugin Installer shows the unsatisfied dependencies yet. After the error message you should see the Error loading plugin dialog which says to you there are unfulfilled dependencies. Instead it's strange to see the error message! Trying to install other plugin with unsatisfied dependencies I don't see it, but the error loading plugin dialog only. So it's an abnormal plugin behaviour. Cheers. 2010/7/26 Giuseppe Sucameli brush.ty...@gmail.com: Hi Noli, the Python Plugin Installer shows the unsatisfied dependencies yet. After the error message you should see the Error loading plugin dialog which says to you there are unfulfilled dependencies. Instead it's strange to see the error message! Trying to install other plugin with unsatisfied dependencies I don't see it, but the error loading plugin dialog only. So it's an abnormal plugin behaviour. Cheers. On Mon, Jul 26, 2010 at 3:08 AM, Noli Sicad nsi...@gmail.com wrote: I think this problem is very typical problem for plugins with dependencies with other python packages. It would have been better if plugins would show the dependecies message so user could download and install the package. In this case, just tell the user to download and install the matplotlib package. http://matplotlib.sourceforge.net/users/installing.html Noli On 7/26/10, Carson Farmer carson.far...@gmail.com wrote: Except that will remove all plugins! What you probably really want is: rm -rf /Users/hermanpalaquium/.qgis/python/plugins/contour Which will only remove the contour plugin, which is failing to load because matplotlib isn't installed... I think you can also do this from the Python plugin installer by selecting to remove the plugin? Carson Traceback (most recent call last): File /Applications/Qgis.app/Contents/MacOS/../Resources/python/qgis/utils.py, line 119, in loadPlugin __import__(packageName) File /Users/hermanpalaquium/.qgis//python/plugins/contour/__init__.py, line 28, in from contour import Contour File /Users/hermanpalaquium/.qgis//python/plugins/contour/contour.py, line 38, in import matplotlib.pyplot as plt ImportError: No module named matplotlib.pyplot -- Carson J. Q. Farmer ISSP Doctoral Fellow National Centre for Geocomputation National University of Ireland, Maynooth, 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 -- Giuseppe Sucameli ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user -- Lionel Roubeyrie lionel.roubey...@gmail.com http://youarealegend.blogspot.com -- Giuseppe Sucameli -- Lionel Roubeyrie lionel.roubey...@gmail.com http://youarealegend.blogspot.com
Re: [Qgis-user] corine land cover shapefile...
Hi, here is our CLC qml files for level 1,2 and 3, but with french comments... 2010/7/2 Michele Ferretto michele.ferre...@tiscali.it: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 ...can anyone kindly provide a .qml file for it? (I found a thread about that issue but the file included does not work) Many thanks Michele - -- Dr. Michele Ferretto RSN Biosphaera s.c. via Costa 28/A 36030 San Vito di Leguzzano (VI) mich...@cooperativabiosphaera.it www.cooperativabiosphaera.it -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkwtEfIACgkQAUEcuUZ+lBa/pgCgo+WVskb/d/R8nBBk90g73xQU d+wAniFv5svT0Ci7/g0ES5MrMSVgY9jh =v4az -END PGP SIGNATURE- ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user -- Lionel Roubeyrie lionel.roubey...@gmail.com http://youarealegend.blogspot.com CLC_legende_QGIS.tar.gz Description: GNU Zip compressed data ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Re:postgis layer from a view
Hi all, thanks for your help, effectively I didn't take care about duplicated gids. To avoid this, I have changed the view to : SELECT com.gid, com.the_geom, com.region, nrj_com.* FROM (SELECT nrj.commune, sum(nrj.cha) AS cha, sum(nrj.ecs) AS ecs, sum(nrj.cui) AS cui, sum(nrj.spe) AS spe, sum(nrj.total) AS total FROM residentiel.nrj_sourcesfixes nrj GROUP BY nrj.commune ) AS nrj_com JOIN spatial.commune com ON nrj_com.commune::text = com.code_insee::text; where select count(gid) from view group by gid having count(gid)1 returns nothing. However, QGIS complains again about not finding uniques int4 values, but performing a CREATE TABLE table AS query_creating_view is perfectly displayed in QGIS Cheers 2010/6/1 Andrea Peri 2007 aperi2...@gmail.com: Hi Lionel, try a query like this: select count(gid) from view group by gid having count(gid)1 to see if there is some duplicates. Regards, Andrea. ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user -- Lionel Roubeyrie lionel.roubey...@gmail.com http://youarealegend.blogspot.com ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Re:postgis layer from a view
Is it a postgis provider problem or does it come from an invalid table/view formating? thanks 2010/6/2 Lionel Roubeyrie lionel.roubey...@gmail.com: Hi all, thanks for your help, effectively I didn't take care about duplicated gids. To avoid this, I have changed the view to : SELECT com.gid, com.the_geom, com.region, nrj_com.* FROM (SELECT nrj.commune, sum(nrj.cha) AS cha, sum(nrj.ecs) AS ecs, sum(nrj.cui) AS cui, sum(nrj.spe) AS spe, sum(nrj.total) AS total FROM residentiel.nrj_sourcesfixes nrj GROUP BY nrj.commune ) AS nrj_com JOIN spatial.commune com ON nrj_com.commune::text = com.code_insee::text; where select count(gid) from view group by gid having count(gid)1 returns nothing. However, QGIS complains again about not finding uniques int4 values, but performing a CREATE TABLE table AS query_creating_view is perfectly displayed in QGIS Cheers 2010/6/1 Andrea Peri 2007 aperi2...@gmail.com: Hi Lionel, try a query like this: select count(gid) from view group by gid having count(gid)1 to see if there is some duplicates. Regards, Andrea. ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user -- Lionel Roubeyrie lionel.roubey...@gmail.com http://youarealegend.blogspot.com -- Lionel Roubeyrie lionel.roubey...@gmail.com http://youarealegend.blogspot.com ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] postgis layer from a view
Hi all, I can't load datas from a postgis view, the loader complains about no uniques values and int4 type, however the view starts with SELECT nextval('my_seq'::regclass)::integer AS gid, com.the_geom, ... (the gid column is not listed in the error message) which works perfectly if datas are stored in a table. Is there a trick to load datas from views, and more generally is it possible to force the postgis provider to create an internal unique key? Thanks -- Lionel Roubeyrie lionel.roubey...@gmail.com http://youarealegend.blogspot.com ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] postgis layer from a view
Hi Bernhard, thanks to responding. I have modified the view to retrieve the gid column form a table, which is a primary key with unique values, and not from a sequence, but postgis provider complains again about no unique values oO Here is the table : CREATE TABLE spatial.commune ( code_insee character varying(5), region character varying(20), the_geom geometry, gid serial NOT NULL, CONSTRAINT commune_pkey PRIMARY KEY (gid), CONSTRAINT commune_gid_key UNIQUE (gid), CONSTRAINT enforce_dims_the_geom CHECK (st_ndims(the_geom) = 2), CONSTRAINT enforce_geotype_the_geom CHECK (geometrytype(the_geom) = 'MULTIPOLYGON'::text OR the_geom IS NULL), CONSTRAINT enforce_srid_the_geom CHECK (st_srid(the_geom) = 2154) ) and the problematic view : CREATE OR REPLACE VIEW residentiel.spatial_nrj_sourcesfixes AS SELECT com.gid, nrj.id, nrj.cmbl, nrj.commune, nrj.region, nrj.cha, nrj.ecs, nrj.cui, nrj.spe, nrj.total, com.the_geom FROM residentiel.nrj_sourcesfixes nrj JOIN spatial.commune com ON nrj.commune::text = com.code_insee::text; the residentiel.nrj_sourcesfixes is another view. 2010/6/1 Bernhard Ströbl bernhard.stro...@jena.de: Dear Lionel, AFAIK the view must contain a field being defined as primary key in the underlying table, moreover this field must be of type integer. The view must be defined in a way that every element (thus every primary-key value) is unique. In case the view contains a join resulting in several primary-key fields you can choose which one QGIS should use. So your view definition lacks the primary-key field, although the sequence - of course - populates gid with unique values. Maybe you could post the complete view definition (and the table definitions, too) and we could see if we could help you in creating a working view. regards Benno Lionel Roubeyrie schrieb: Hi all, I can't load datas from a postgis view, the loader complains about no uniques values and int4 type, however the view starts with SELECT nextval('my_seq'::regclass)::integer AS gid, com.the_geom, ... (the gid column is not listed in the error message) which works perfectly if datas are stored in a table. Is there a trick to load datas from views, and more generally is it possible to force the postgis provider to create an internal unique key? Thanks Information from NOD32 This message was checked by NOD32 Antivirus System for Linux Mail Server. http://www.nod32.com -- Lionel Roubeyrie lionel.roubey...@gmail.com http://youarealegend.blogspot.com ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] Postgis manager can't load shapefile
Hi all, I try to import some shapefiles to postgresql (8.4 from ubuntu repo, postgis 1.5.1 self-compiled) using the postgis manager plugin, but it always fails with no explicit message : Message : Filename : None where SPIT goes well... An idea? -- Lionel Roubeyrie lionel.roubey...@gmail.com http://youarealegend.blogspot.com ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Postgis manager can't load shapefile
Effectively, I forgot to copy shp2pgsql to the bin PATH... thanks for the help 2010/4/22 Bernhard Ströbl bernhard.stro...@jena.de: I had the same error a while ago exporting to a remote PostGIS DB. If I recall correctly postgis manager assumes a PostGIS-Installation on the same machine and thus expects the presence of the loader (shp2pgsql). If you have PostgreSQL/PostGIS installed locally point your path variable to where shp2pgsql resides otherwise install it (worked for me on WinXP) or go with SPIT. hope this helps Bernhard Lionel Roubeyrie schrieb: Hi all, I try to import some shapefiles to postgresql (8.4 from ubuntu repo, postgis 1.5.1 self-compiled) using the postgis manager plugin, but it always fails with no explicit message : Message : Filename : None where SPIT goes well... An idea? Information from NOD32 This message was checked by NOD32 Antivirus System for Linux Mail Server. http://www.nod32.com -- Lionel Roubeyrie lionel.roubey...@gmail.com http://youarealegend.blogspot.com ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] color ramp
\o/ Excellent! \o/ but... just one problem, opening the svn version, look at the color ramp, closing it and back to 1.4, all my customs gradients (not brewers) are now in black to black. However, now I can live without them :) 2010/4/20 Martin Dobias wonder...@gmail.com: On Fri, Apr 16, 2010 at 9:56 AM, Lionel Roubeyrie lionel.roubey...@gmail.com wrote: Hi all, Is there a way to make a gradient color ramp with more than 2 colors (adding intermediates colors)? The style manager doesn't give more choices and for displaying large dataset this can be very usefull and would give better rendering... Hi, it is possible from r1. bye Martin -- Lionel Roubeyrie lionel.roubey...@gmail.com http://youarealegend.blogspot.com ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] color ramp
Hi all, Is there a way to make a gradient color ramp with more than 2 colors (adding intermediates colors)? The style manager doesn't give more choices and for displaying large dataset this can be very usefull and would give better rendering... Thanks -- Lionel Roubeyrie lionel.roubey...@gmail.com http://youarealegend.blogspot.com ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] Constraints on postgresql views
Hi all, I try to construct views from a lines table to group roads' portions together, but I fall on this view when called from QGIS : SELECT 1::oid AS oid, ST_Multi(ST_Union(f.the_geom)) as the_geom FROM (SELECT (ST_Dump(the_geom)).geom As the_geom FROM v_tmp) As f but qgis says : The view 'public.v_tmp2' has no column suitable for use as a unique key. Qgis requires that the view has a column that can be used as a unique key. Such a column should be derived from a table column of type int4 and be a primary key, have a unique constraint on it, or be a PostgreSQL oid column. To improve performance the column should also be indexed. The view you selected has the following columns, none of which satisfy the above conditions: 'the_geom' derives from 'public.tmp.the_geom' and is not suitable (type is geometry) and does not have a suitable constraint) thanks if someone can explain me why this doesn't work -- Lionel Roubeyrie lionel.roubey...@gmail.com http://youarealegend.blogspot.com ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Constraints on postgresql views
My previous message was send to quickly, sorry (gmail and his keyboard shotcuts...) In fact I have a linestring table containing roads, each road is represented with multiple portions, each portion having a attribute corresponding to the daily traffic average. I want to simplify the table (too many records) by merging portions (lines) of the same named road AND the same traffic, but keeping the real geometry of the road, if 2 portions start/finish by the points A B/C D, I don't want the result to be BACD, then I try some possibilities with ST_collect, don't know if it's the good choice... 2010/4/2 Lionel Roubeyrie lionel.roubey...@gmail.com: Hi Yves, thanks to respond, but v_temp is also a view containing a gid::serial derived from the tmp table. If I try this: SELECT max(f.gid), st_multi(st_union(f.the_geom)) AS the_geom FROM ( SELECT gid, (st_dump(v_tmp.the_geom)).geom AS the_geom FROM v_tmp) f I get : The view 'public.v_tmp2' has no column suitable for use as a unique key. Qgis requires that the view has a column that can be used as a unique key. Such a column should be derived from a table column of type int4 and be a primary key, have a unique constraint on it, or be a PostgreSQL oid column. To improve performance the column should also be indexed. The view you selected has the following columns, none of which satisfy the above conditions: 'gid' derives from 'public.tmp.gid' and is suitable. 'the_geom' derives from 'public.tmp.the_geom' and is not suitable (type is geometry) and does not have a suitable constraint) Note: 'gid' initially appeared suitable but does not contain unique data, so is not suitable. 2010/4/2 Yves Jacolin yjaco...@free.fr: Le vendredi 02 avril 2010 10:16:40, Lionel Roubeyrie a écrit : Hi all, I try to construct views from a lines table to group roads' portions together, but I fall on this view when called from QGIS : SELECT 1::oid AS oid, ST_Multi(ST_Union(f.the_geom)) as the_geom FROM (SELECT (ST_Dump(the_geom)).geom As the_geom FROM v_tmp) As f but qgis says : The view 'public.v_tmp2' has no column suitable for use as a unique key. Qgis requires that the view has a column that can be used as a unique key. Such a column should be derived from a table column of type int4 and be a primary key, have a unique constraint on it, or be a PostgreSQL oid column. To improve performance the column should also be indexed. The view you selected has the following columns, none of which satisfy the above conditions: 'the_geom' derives from 'public.tmp.the_geom' and is not suitable (type is geometry) and does not have a suitable constraint) thanks if someone can explain me why this doesn't work Lionel, Just add an int4 column like this : SELECT f.id, AS oid, ST_Multi(ST_Union(f.the_geom)) as the_geom FROM (SELECT id,_Dump(the_geom)).geom As the_geom FROM v_tmp) As f id column in v_tmp must exists. You can add one in v_temp if v_temp is not a view: ALTER TABLE v_temp ADD COLUMN id (serial); Regards, Y. -- Yves Jacolin http://yjacolin.gloobe.org ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user -- Lionel Roubeyrie lionel.roubey...@gmail.com http://youarealegend.blogspot.com -- Lionel Roubeyrie lionel.roubey...@gmail.com http://youarealegend.blogspot.com ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Constraints on postgresql views
Ok, seems to be a view problem (and a QGIS one...), because using directly this view on the source table 'tmp' : SELECT max(f.gid), st_multi(st_union(f.the_geom)) AS the_geom FROM ( SELECT gid, (st_dump(tmp.the_geom)).geom AS the_geom FROM tmp WHERE numero='D941') f QGIS complaints about no unique values, but if I run the same query through a CREATE TABLE, it works! Is there a reason for that? 2010/4/2 Lionel Roubeyrie lionel.roubey...@gmail.com: My previous message was send to quickly, sorry (gmail and his keyboard shotcuts...) In fact I have a linestring table containing roads, each road is represented with multiple portions, each portion having a attribute corresponding to the daily traffic average. I want to simplify the table (too many records) by merging portions (lines) of the same named road AND the same traffic, but keeping the real geometry of the road, if 2 portions start/finish by the points A B/C D, I don't want the result to be BACD, then I try some possibilities with ST_collect, don't know if it's the good choice... 2010/4/2 Lionel Roubeyrie lionel.roubey...@gmail.com: Hi Yves, thanks to respond, but v_temp is also a view containing a gid::serial derived from the tmp table. If I try this: SELECT max(f.gid), st_multi(st_union(f.the_geom)) AS the_geom FROM ( SELECT gid, (st_dump(v_tmp.the_geom)).geom AS the_geom FROM v_tmp) f I get : The view 'public.v_tmp2' has no column suitable for use as a unique key. Qgis requires that the view has a column that can be used as a unique key. Such a column should be derived from a table column of type int4 and be a primary key, have a unique constraint on it, or be a PostgreSQL oid column. To improve performance the column should also be indexed. The view you selected has the following columns, none of which satisfy the above conditions: 'gid' derives from 'public.tmp.gid' and is suitable. 'the_geom' derives from 'public.tmp.the_geom' and is not suitable (type is geometry) and does not have a suitable constraint) Note: 'gid' initially appeared suitable but does not contain unique data, so is not suitable. 2010/4/2 Yves Jacolin yjaco...@free.fr: Le vendredi 02 avril 2010 10:16:40, Lionel Roubeyrie a écrit : Hi all, I try to construct views from a lines table to group roads' portions together, but I fall on this view when called from QGIS : SELECT 1::oid AS oid, ST_Multi(ST_Union(f.the_geom)) as the_geom FROM (SELECT (ST_Dump(the_geom)).geom As the_geom FROM v_tmp) As f but qgis says : The view 'public.v_tmp2' has no column suitable for use as a unique key. Qgis requires that the view has a column that can be used as a unique key. Such a column should be derived from a table column of type int4 and be a primary key, have a unique constraint on it, or be a PostgreSQL oid column. To improve performance the column should also be indexed. The view you selected has the following columns, none of which satisfy the above conditions: 'the_geom' derives from 'public.tmp.the_geom' and is not suitable (type is geometry) and does not have a suitable constraint) thanks if someone can explain me why this doesn't work Lionel, Just add an int4 column like this : SELECT f.id, AS oid, ST_Multi(ST_Union(f.the_geom)) as the_geom FROM (SELECT id,_Dump(the_geom)).geom As the_geom FROM v_tmp) As f id column in v_tmp must exists. You can add one in v_temp if v_temp is not a view: ALTER TABLE v_temp ADD COLUMN id (serial); Regards, Y. -- Yves Jacolin http://yjacolin.gloobe.org ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user -- Lionel Roubeyrie lionel.roubey...@gmail.com http://youarealegend.blogspot.com -- Lionel Roubeyrie lionel.roubey...@gmail.com http://youarealegend.blogspot.com -- Lionel Roubeyrie lionel.roubey...@gmail.com http://youarealegend.blogspot.com ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Re:Constraints on postgresql views
___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] Re:Constraints on postgresql views
No, it's why I have added a max(f.id) just for the test. After some search, QGIS absolutely needs a int4 primary key, but doesn't explain why in a table it's ok, not in a view... 2010/4/2 Andrea Peri 2007 aperi2...@gmail.com: - Masquer le texte des messages précédents - Perhaps, it missing a group by operator ? SELECT f.id AS oid,ST_Multi(ST_Union(f.the_geom)) as the_geom FROM ( SELECT id, ST_Dump(the_geom)).geom As the_geom FROMv_tmp ) As f group by f.id Regards, Andrea. ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user -- Lionel Roubeyrie lionel.roubey...@gmail.com http://youarealegend.blogspot.com ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Profile Tool
Hi Arthur, please modify the line 66 by this one: settings.setValue(/Projections/defaultBehaviour, QVariant()) and normally it will be ok, I hope :) 2010/3/28 Arthur Nanni arthur.na...@gmail.com: I use qgis 1.4 on Ubuntu Jaunty. I've the same problem: Follow yhe error message: Traceback (most recent call last): File /home/arthur/.qgis//python/plugins/contour/contour.py, line 66, in run settings.setValue(/Projections/defaultBehaviour,) TypeError: argument 2 of QSettings.setValue() has an invalid type Python version: 2.6.2 (release26-maint, Apr 19 2009, 02:11:59) [GCC 4.3.3] Path to Python: ['/home/arthur/.qgis//python/plugins/pyarchinitus/modules/gui', '/home/arthur/.qgis//python/plugins/symbology_ng', '/home/arthur/.qgis//python/plugins/symbology_ng', '/home/arthur/.qgis//python/plugins/pyarchinitus/modules/gis', '/home/arthur/.qgis//python/plugins/pyarchinitus/modules/db', '/home/arthur/.qgis//python/plugins/pyarchinitus/modules/utility', '/home/arthur/.qgis//python/plugins/pyarchinitus', '/usr/share/qgis/python', '/home/arthur/.qgis//python', '/home/arthur/.qgis//python/plugins', '/usr/share/qgis/python/plugins', '/usr/lib/python2.6', '/usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib-tk', '/usr/lib/python2.6/lib-old', '/usr/lib/python2.6/lib-dynload', '/usr/lib/python2.6/dist-packages', '/usr/lib/python2.6/dist-packages/PIL', '/usr/lib/python2.6/dist-packages/gst-0.10', '/usr/lib/pymodules/python2.6', '/usr/lib/python2.6/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.6/gtk-2.0', '/usr/lib/python2.6/dist-packages/wx-2.6-gtk2-unicode', '/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode', '/usr/local/lib/python2.6/dist-packages', '/usr/share/qgis/python/plugins/fTools/tools', '/home/arthur/.qgis/python/plugins/cadtools/tools', '/home/arthur/.qgis/python/plugins/cataloginpecreate/logic', '/home/arthur/.qgis/python/plugins/cataloginpecreate/gui', '/home/arthur/.qgis/python/plugins/cataloginpequicklookorder/logic', '/home/arthur/.qgis/python/plugins/cataloginpequicklookorder/gui', '~/.qgis/python', '/home/arthur/.qgis/python/plugins/GdalTools/tools', '/home/arthur/.qgis/python/plugins/GdalTools', '/usr/share/qgis/python', '/usr/share/qgis/python', '/home/arthur/.qgis/python/plugins/ziplayers/logic', '/home/arthur/.qgis/python/plugins/ziplayers/gui'] 2010/3/28 Borys Jurgiel borysia...@aster.pl Dnia niedziela, 28 marca 2010 o 20:31:17 Giovanni Manghi napisał(a): Hi all, Marcio asks if anyone has any hint about why the profile tool plugins does not install, the message is /usr/lib/pymodules/python2.6/PyQt4/Qwt5/Qwt.so: undefined symbol:_ZN13QwtLegendItem17setIdentfierWidthEi It's because of broken PyQwt5. For Ubuntu, the following workaround should help: https://bugs.launchpad.net/ubuntu/+source/pyqwt5/+bug/342782/comments/24 ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user -- Arthur Chegou Ubuntu Linux 9.10. Continua exibindo redes sem fio. Conheça em http://www.ubuntu-br.org ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user -- Lionel Roubeyrie lionel.roubey...@gmail.com http://youarealegend.blogspot.com ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] 3D View
Hi, if GRASS is not mandatory, you may give a try at Mayavi which have great 3D possibilities : http://code.enthought.com/projects/mayavi/ or the latest matplotlib released with (limited) 3D features. My two cents Cheers 2010/3/25 Pratik Mehta pratik_s_me...@yahoo.co.in: Hello All, I am working on summer project. And i came to know about QGIS before 3 months, My project is to convert raster or vector format in 3D view. And i need to develop a plugin to do so. I have created plugin which displays shapefile in QGIS (It was just a sample). I have created 2,3 sample plugins with PyQt. In my company 1 scientist suggested me to use GRASS for 3d. In GRASS there are simple options like 2D, 3D and digitizer. Grass plugin is given in QGIS but i am having difficulty to use it. I am using QGIS 1.0.2 Core and GRASS 6.5 SVN. I am working on windows. Even i am about to download latest version of QGIS. Because 1.0.2 is very old, May be thtas why i am facing some difficulty in GRASS. In GRASS for vector it says G_getenv(): Variable GISBase not set, and in raster it says not recognized format. And same data i use in GRASS GIS very easily. I have lesst time left. I have to submit my project by 15th April. Can anyone help me what can i use for converting into 3D? Thank you. Pratik The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user -- Lionel Roubeyrie lionel.roubey...@gmail.com http://youarealegend.blogspot.com ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] contours plugin
Hi all, with the great work of Chris Crook, now the contours plugin can handle irregular points grids and comes with a documentation. The plugin is uploaded to the official plugin repository (imho not very easy to find the url on the qgis website) but I can't remove the old 0.1 (old account with a forgetted password :/ ). Is someone could remove this entry please? Thanks -- Lionel Roubeyrie Chargé d'études LIMAIR 4 rue Atlantis, Bâtiment OXO Ester Technopole 87068 LIMOGES Cedex Tel : +33(0) 555 338 524 Fax : +33(0) 555 331 969 ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Fwd: Import _and_ process DXF?
Hi Zoran, there's a dxf2shp plugin working perfectly on your file. Cordialy Le 03/02/2010 11:34, Zoran Jankovic a écrit : I'm resending, the first one seemed to bounce as too big... -- Forwarded message -- From: Zoran Jankoviczoran.janko...@zisis.hr Date: Wed, Feb 3, 2010 at 9:27 AM Subject: Import _and_ process DXF? To: qgis-userqgis-user@lists.osgeo.org Hi, I have cadastrial data like the sample in the attachment. It's layered DXF, with parcel numbers as block references in the layer 1_kc_broj, and the main layer of cadastrial parcel boundaries is 1_kc_medja. I would like to import this DXF into SHP (or directly to PostGIS?) _with the attribute parcel_number as well. Over the years I have used trial versions of FME, and this can be done, of course, using this - let's say it gently - not so cheap commercial application. Could it be done in QGIS (some plugins I am not aware of)? Best regards, --- Zoran Jankovic ZIS-Izrada softvera i savjetovanje / ZIS - Software Development and Consulting http://www.zisis.hr M: 00 385 98 682 902 T: 00 385 44 683 374 A. Senoe 4 44320 Kutina Croatia ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user -- Lionel Roubeyrie - lroubey...@limair.asso.fr Chargé d'études LIMAIR - la Surveillance de l'Air en Limousin http://www.limair.asso.fr ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Contour Plugin for QGIS 1.4
Hi, please install the matplotlib module for python, available via sudo apt-get install python-matplotlib if you are under a Debian based distribution, or here for others : http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-0.99.1/ Le 21/01/2010 08:32, badaveil a écrit : Hi everyone. I wanted to install the Contour plugin Version 0.3 but cannot download it because it requires the Python module: matplotlib.pyplot. Please advice. Thanks Abbas Abdul Wahab ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user -- Lionel Roubeyrie - lroubey...@limair.asso.fr Chargé d'études LIMAIR - la Surveillance de l'Air en Limousin http://www.limair.asso.fr ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] [QGIS-LIST] Contour plugin install under OSGEO4W
Hi Benoit, Have you tried to install shapely windows .exe from the pypi repository? http://pypi.python.org/pypi/Shapely Le 16/01/2010 11:47, Benoit Mweb a écrit : Hi List, I'm trying to install the Contour python plugin under QGIS 1.4 and OSGEO4W on WinXP machine. Problem is that the plugin requires Shapely to be installed in python OSGEO4W. But I have no way to install Shapely: it depends on CTypes that does not seem to be implemented in Python OSGEO4W (when installing Shapely with Python setup install I've got an error saying CTypes is needed). And I cannot install CTypes because there is no compiler in the msys install. Does anybody know how to install the Contour plugin under OSGEO4W? Thanks. Benoit WinXP - QGIS 1.4 - OSGEO4W ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user -- Lionel Roubeyrie - lroubey...@limair.asso.fr Chargé d'études LIMAIR - la Surveillance de l'Air en Limousin http://www.limair.asso.fr ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] [QGIS-LIST] Contour plugin install under OSGEO4W
Benoit, I never used OSGEO4W, I only work on Linux workstations. Like says here http://trac.osgeo.org/osgeo4w/wiki/pkg-python, you need to install modules under the osgeo4w python directory, then effectively the .exe file provided by shapely won't work, sorry for the mistake :( Maybe playing with ctypes under the osgeo4w installation, but I don't know how to... With GRASS yes you have some contours possiblities. Le 18/01/2010 10:50, Benoit de Cabissole a écrit : Hi Lionel, Thanks for your reply. Lionel Roubeyrie wrote: Hi Benoit, Have you tried to install shapely windows .exe from the pypi repository? http://pypi.python.org/pypi/Shapely Yes, I've tried. I had Python 2.5 installed as a standalone app with the shapely .exe installed in its tree. I've removed the standalone python and all its modules and now the shapely .exe cannot install because there is no trace of python in the Windows registry anymore! (The windows installer for python modules seems to look up in the registry to locate the path(s) of the installed python(s), but OSGEO4W does not show itself in the registry and I've been unable to find any trick, while running shapely .exe, to go pass the install screen where you have to select the python tree to install to.) As I understand it, the OSGEO4W system is a UNIX-like environment (e.g. à la 'msys') and I was thinking that a UNIX-like install is the only way to install python modules in OSGEO4W?!? Note that the contour plugin works fine with the standalone versions of QGIS (1.4 1.3) and the standalone version of python. It's only in the OSGEO4W environment that the pluging fails to install because shapely is not packaged with OSGEO4W. Question is: can shapely be included in the OSGEO4W system? Under OSGEO4W, the alternative would be to use GRASS plugin to do the contouring? Benoit Le 16/01/2010 11:47, Benoit Mweb a écrit : Hi List, I'm trying to install the Contour python plugin under QGIS 1.4 and OSGEO4W on WinXP machine. Problem is that the plugin requires Shapely to be installed in python OSGEO4W. But I have no way to install Shapely: it depends on CTypes that does not seem to be implemented in Python OSGEO4W (when installing Shapely with Python setup install I've got an error saying CTypes is needed). And I cannot install CTypes because there is no compiler in the msys install. Does anybody know how to install the Contour plugin under OSGEO4W? Thanks. Benoit WinXP - QGIS 1.4 - OSGEO4W ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user -- Lionel Roubeyrie - lroubey...@limair.asso.fr Chargé d'études LIMAIR - la Surveillance de l'Air en Limousin http://www.limair.asso.fr ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user -- Lionel Roubeyrie - lroubey...@limair.asso.fr Chargé d'études LIMAIR - la Surveillance de l'Air en Limousin http://www.limair.asso.fr ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] QGIS in the press
Hi all, QGIS is cited in the french IGN magazine in a study case where some students have developed a 4D SIG with some java code and blender. More info here : http://www.ign.fr/DISPLAY/000/528/440/5284402/IGN_Magazine_55.pdf page 16 17 -- Lionel Roubeyrie - lroubey...@limair.asso.fr Chargé d'études LIMAIR - la Surveillance de l'Air en Limousin http://www.limair.asso.fr ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] spatialite and ftools
Hi Carson, sorry for the lack of information. I use QGIS 1.3.0 on ubuntu 9.10, with spatialite 1.3.0. I want to retrieve the intersections between the Highways layer (lines) and the Regions layer (polygons), but the intersection ftools tool doesn't complaint and gives an empty result layer. Lauching qgis in a console and calling ftools I get : Critical: Invalid current SQLite statement two times, nothing else... Carson Farmer a écrit : Hi Lionel, Hi all, Can't apply some vectors operations via the ftools toolbox (intersect, convex hull, ...) on layers imported from a spatialite db (the test-2.3.sqlite available at http://www.gaia-gis.it/spatialite/resources.html). Is it normal? Shouldn't be ;-) Could you please supply an error message or description of exactly what is going wrong? Thanks, Carson -- Lionel Roubeyrie - lroubey...@limair.asso.fr Chargé d'études LIMAIR - la Surveillance de l'Air en Limousin http://www.limair.asso.fr ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] spatialite and ftools
Hi all, Can't apply some vectors operations via the ftools toolbox (intersect, convex hull, ...) on layers imported from a spatialite db (the test-2.3.sqlite available at http://www.gaia-gis.it/spatialite/resources.html). Is it normal? thanks -- Lionel Roubeyrie - lroubey...@limair.asso.fr Chargé d'études LIMAIR - la Surveillance de l'Air en Limousin http://www.limair.asso.fr ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Predefined colour legend
Hi, we all wait for the new symbology system :) If you want, I have qgis-styles files for Corin Land Cover level 1, 2 and 3, but in french... Cheers no-reply a écrit : Hello, just wandering if is there a way to apply to vector classes predefined colour classes, like Corine land cover colours or altitude levels or even a grayscale. I saw no way in the symbology tab other than: a) leave the default random colour b) manually enter the colours entry-by-entry b) load a precedently saved style I think it would be nice to have a drop-down select that would allow to use some largely used colour scales. As alternative, is there somewhere a public repository of Qgis colour styles? Ciao, Antonello -- Antonello Lobianco Assegnista di Ricerca Dipartimento di Economia, Università Politecnica delle Marche Progetto RegMAS per il Piceno (Fondazione CARISAP) Tel: +39.071.2207116 Email: a.lobia...@univpm.it mailto:a.lobia...@univpm.it ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user -- Lionel Roubeyrie - lroubey...@limair.asso.fr Chargé d'études et de maintenance LIMAIR - la Surveillance de l'Air en Limousin http://www.limair.asso.fr ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] label placement
Excellent! A little slow but excellent Martin Dobias a écrit : On Thu, Oct 15, 2009 at 9:08 AM, Lionel Roubeyrie lroubey...@limair.asso.fr wrote: Hi all, just to know if the label placement code from the GSoC will be integrated in the next QGIS release or if it's possible to activate it from the SVN code (and how)? Hi, the code from my GSoC project (with some more code regarding symbology [1]) can be found in SVN in this branch: http://svn.osgeo.org/qgis/branches/symbology-ng-branch/ I'm back from my vacation so hopefully there will be some progress in the following weeks. Regards Martin [1] http://www.qgis.org/wiki/Symbology_RFC -- Lionel Roubeyrie - lroubey...@limair.asso.fr Chargé d'études et de maintenance LIMAIR - la Surveillance de l'Air en Limousin http://www.limair.asso.fr ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] label placement
Hi all, just to know if the label placement code from the GSoC will be integrated in the next QGIS release or if it's possible to activate it from the SVN code (and how)? Thanks -- Lionel Roubeyrie - lroubey...@limair.asso.fr Chargé d'études et de maintenance LIMAIR - la Surveillance de l'Air en Limousin http://www.limair.asso.fr ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Crash on continuous color legend type
Hi Micha, upgrade libgdal1.5 to 1.6 and all should be ok. For packagers : using the qgis PPA repository on a fresh Jaunty installation, qgis1.3 crashes like in this case because libgdal1.5 is installed by default. The ubuntuGis PPA is ok and directly install the 1.6 version. Is it possible to have the same versions on the differents repositories? Thanks Micha Silver a écrit : Giovanni Manghi wrote: On Wed, 2009-10-07 at 18:11 +0200, Daniel Arribas-Bel wrote: Find attached a compressed files with one of the shapefiles I'm using (it fails with all I've tried though). Thanks a lot, I'm not reproducing any crash here on ubuntu 9.04 and qgis 1.3 Try uninstalling everything and then make a clean install of the 1.3 version. No problems here using your shapefile. Fedora 10, QGIS 1.3.0 -- Lionel Roubeyrie - lroubey...@limair.asso.fr Chargé d'études et de maintenance LIMAIR - la Surveillance de l'Air en Limousin http://www.limair.asso.fr ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Crash on continuous color legend type
Augustin, sorry to not mention them : http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu == libgdal1.6 http://ppa.launchpad.net/qgis/unstable/ubuntu == libgdal1.5 Agustin Lobo a écrit : Lionel, Which ppa do you refer to? There are 4 ppa repositories with qgis binaries: http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu http://ppa.launchpad.net/qgis/stable/ubuntu http://ppa.launchpad.net/qgis/unstable/ubuntu http://ppa.launchpad.net/jef-norbit/qgis-unstable-ubuntugis-jef/ubuntu Agus Lionel Roubeyrie wrote: Hi Micha, upgrade libgdal1.5 to 1.6 and all should be ok. For packagers : using the qgis PPA repository on a fresh Jaunty installation, qgis1.3 crashes like in this case because libgdal1.5 is installed by default. The ubuntuGis PPA is ok and directly install the 1.6 version. Is it possible to have the same versions on the differents repositories? Thanks Micha Silver a écrit : Giovanni Manghi wrote: On Wed, 2009-10-07 at 18:11 +0200, Daniel Arribas-Bel wrote: Find attached a compressed files with one of the shapefiles I'm using (it fails with all I've tried though). Thanks a lot, I'm not reproducing any crash here on ubuntu 9.04 and qgis 1.3 Try uninstalling everything and then make a clean install of the 1.3 version. No problems here using your shapefile. Fedora 10, QGIS 1.3.0 -- Lionel Roubeyrie - lroubey...@limair.asso.fr Chargé d'études et de maintenance LIMAIR - la Surveillance de l'Air en Limousin http://www.limair.asso.fr ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Crash on continuous color legend type
Jürgen, Hmm, maybe the download page on the website should be updated because it is the recommanded PPA... Cheers Jürgen E. Fischer a écrit : Hi Agus, On Thu, 08. Oct 2009 at 09:09:06 +0200, Agustin Lobo wrote: Which ppa do you refer to? There are 4 ppa repositories with qgis binaries: http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu http://ppa.launchpad.net/jef-norbit/qgis-unstable-ubuntugis-jef/ubuntu The latter shouldn't be use. It's only use to build packages that are later copied to the first one. Jürgen -- Lionel Roubeyrie - lroubey...@limair.asso.fr Chargé d'études et de maintenance LIMAIR - la Surveillance de l'Air en Limousin http://www.limair.asso.fr ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Crash on continuous color legend type
Two weeks ago, on a fresh Jaunty install (not upgrading, but a totally new installation after a disk formating), the recommanded PPA (http://ppa.launchpad.net/qgis/unstable/ubuntu jaunty main) returned the 1.5 version, and by the way qgis crashed when changing symbology type. I had to make an apt-get purge qgis* and switch to the ubuntugis repository to have a stable qgis with libgdal1.6... Micha Silver a écrit : Lionel Roubeyrie wrote: Jürgen, Hmm, maybe the download page on the website should be updated because it is the recommanded PPA... Cheers Do I understand correctly that the regular apt repo (not ubuntugis) listed on the qgis site: deb http://ppa.launchpad.net/qgis/unstable/ubuntu jaunty main deb-src http://ppa.launchpad.net/qgis/unstable/ubuntu jaunty main gives you incompatible packages (gdal 1.5 with qgis needing gdal 1.6) ??? Jürgen E. Fischer a écrit : Hi Agus, On Thu, 08. Oct 2009 at 09:09:06 +0200, Agustin Lobo wrote: Which ppa do you refer to? There are 4 ppa repositories with qgis binaries: http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu http://ppa.launchpad.net/jef-norbit/qgis-unstable-ubuntugis-jef/ubuntu The latter shouldn't be use. It's only use to build packages that are later copied to the first one. Jürgen -- Lionel Roubeyrie - lroubey...@limair.asso.fr Chargé d'études et de maintenance LIMAIR - la Surveillance de l'Air en Limousin http://www.limair.asso.fr ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] GDAL Tools icons
Thanks for these plugins, they look great. Just a question : is it possible to append a little description of what each plugin do, like at the bottom of the window or as comment over the mouse when we look at the list? thanks Robert Szczepanek a écrit : Paolo Cavallini pisze: Hi Robert. We added your icons - thanks! Thanks Paolo. In 16x16px size they do not look as in original versions, but we will work on that later. A few are still missing: - proximity - near black - warp - grid - clip All the best. This task is for next week :) Can you help me finding self-explaining names for those icons and use them later in naming convention: object action object-action (probably most will follow this type as they are related to raster images) It does not have to be in 100% name of GDAL function. Just description of what the function does. To reuse it in another context. ... hard to explain, but I hope you get what I mean. Robert ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user -- Lionel Roubeyrie - lroubey...@limair.asso.fr Chargé d'études et de maintenance LIMAIR - la Surveillance de l'Air en Limousin http://www.limair.asso.fr ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] spatialite]
Thanks for the reply Paolo, but after investigation, it seems spatialite has problems with accentuated attributes names. Changing them to normal names and qgis can correctly import the layer. Strange that spatialite-gui doesn't take care of the encoding for the names, just for the values. Paolo Cavallini a écrit : Lionel Roubeyrie ha scritto: Hi all, can't correctly import a simple polygon table from a spatialite db, all attributes are equal to ERROR. The polygons are displayed after the try upgrading to current trunk, a bug has been fixed recently -- Lionel Roubeyrie - lroubey...@limair.asso.fr Chargé d'études et de maintenance LIMAIR - la Surveillance de l'Air en Limousin http://www.limair.asso.fr -- Lionel Roubeyrie - lroubey...@limair.asso.fr Chargé d'études et de maintenance LIMAIR - la Surveillance de l'Air en Limousin http://www.limair.asso.fr ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] spatialite]
The original datas are in a ISO-8859-15 encoded shapefile. In the spatialite-gui after import, columns containing accentuated characters are replaced by with no datas. Paolo Cavallini a écrit : Lionel Roubeyrie ha scritto: but after investigation, it seems spatialite has problems with accentuated attributes names. Changing them to normal names and qgis can correctly import the layer. Strange that spatialite-gui doesn't take care of the encoding for the names, just for the values. Paolo Cavallini a écrit : Lionel Roubeyrie ha scritto: Hi all, can't correctly import a simple polygon table from a spatialite db, all attributes are equal to ERROR. The polygons are displayed after the try upgrading to current trunk, a bug has been fixed recently Quite strange - Spatialite should be UTF-8 ready. Investigating... -- Lionel Roubeyrie - lroubey...@limair.asso.fr Chargé d'études et de maintenance LIMAIR - la Surveillance de l'Air en Limousin http://www.limair.asso.fr ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] spatialite
Hi all, can't correctly import a simple polygon table from a spatialite db, all attributes are equal to ERROR. The polygons are displayed after the import, but a zoom/unzoom and they disapear :( The table is ok in the spatialite-gui and correctly displayed in the spatialite-gis. Is there a special thing to do before using this db with qgis? In another hand, is there some plans to use rasterlite with qgis? Thanks Using Qgis 1.3.0 on ubuntu 9.04 -- Lionel Roubeyrie - lroubey...@limair.asso.fr Chargé d'études et de maintenance LIMAIR - la Surveillance de l'Air en Limousin http://www.limair.asso.fr ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] [Fwd: Binary QGIS 1.2.0.2~jaunty + GRASS does not work]
Hi Augustin, make a purge before reinstalling qgis, and all should be ok (sudo apt-get purge qgis*) Agustin Lobo a écrit : Follow up: using sudo apt-get install qgis-plugin-grass instead of Synaptic and having libgdal1-1.6.0 previously installed (and not having libgdal1-1.5.0), does not install libgdal1-1.5.0, but QGIS still crashes with the same message Agus Original Message Subject: Binary QGIS 1.2.0.2~jaunty + GRASS does not work Date: Fri, 11 Sep 2009 11:56:33 +0200 From: Agustin Lobo alobolis...@gmail.com Reply-To: agustin.l...@ija.csic.es To: qgis-user qgis-user@lists.osgeo.org, qgis-developer qgis-develo...@lists.osgeo.org After upgrading to QGIS 1.2.0.2~jaunty, the python grass plugin still installs libgdal1-1.5.0 (+ grass 6.4.0~rc5-2~jaunty) and QGIS crashes upon start up with message: Uncatched fatal GRASS error. Incompatible library version for module. You need to rebuild GRASS or untangle multiple installations Removing libgdal1-1.6.0 does not solve the problem Removing libgdal1-1.5.0 (now you can do it without automatic uninstal of the grass plugin) and installing libgdal1-1.6.0 does not solve the problem either. Grass runs fine independently in all cases. Qgis runs fine without the grass plugin Agus ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user -- Lionel Roubeyrie - lroubey...@limair.asso.fr Chargé d'études et de maintenance LIMAIR - la Surveillance de l'Air en Limousin http://www.limair.asso.fr ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] 1.2.0 crash
I use GRASS GIS 6.4.0RC4 Jürgen E. Fischer a écrit : Hi Lionel, On Thu, 03. Sep 2009 at 10:08:30 +0200, Lionel Roubeyrie wrote: After an update to 1.2.0 from the launchpad repository, I can't start correctly qgis, saying : /usr/bin/qgis.bin: symbol lookup error: /usr/lib/libqgisgrass.so.1.2.0: undefined symbol: G_no_gisinit Making multiple remove/purge/update, the same problem occurs... Does someone have a idea? You probably have a different GRASS version, than the one QGIS was built with. Jürgen -- Lionel Roubeyrie - lroubey...@limair.asso.fr Chargé d'études et de maintenance LIMAIR - la Surveillance de l'Air en Limousin http://www.limair.asso.fr ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] 1.2.0 crash
Hum, seems removing qgis PPA/purge/apt-getting from ubuntugis PPA solves the problem. Thanks for your help Lionel Roubeyrie a écrit : I use GRASS GIS 6.4.0RC4 Jürgen E. Fischer a écrit : Hi Lionel, On Thu, 03. Sep 2009 at 10:08:30 +0200, Lionel Roubeyrie wrote: After an update to 1.2.0 from the launchpad repository, I can't start correctly qgis, saying : /usr/bin/qgis.bin: symbol lookup error: /usr/lib/libqgisgrass.so.1.2.0: undefined symbol: G_no_gisinit Making multiple remove/purge/update, the same problem occurs... Does someone have a idea? You probably have a different GRASS version, than the one QGIS was built with. Jürgen -- Lionel Roubeyrie - lroubey...@limair.asso.fr Chargé d'études et de maintenance LIMAIR - la Surveillance de l'Air en Limousin http://www.limair.asso.fr ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] label placement
Hi all, is it possible to have some news about the label placement project at GSoC? When can we expect it? Thanks -- Lionel Roubeyrie - lroubey...@limair.asso.fr Chargé d'études et de maintenance LIMAIR - la Surveillance de l'Air en Limousin http://www.limair.asso.fr ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Contour plugin
Hi, there's a test on the field typeName, I set it to integer and double. Giovanni Manghi a écrit : On Mon, 2009-08-03 at 12:41 +0200, Lionel Roubeyrie wrote: Hi all, the last week-end I've made a little qgis plugin to plot contour lines from a regular point grid. It's based on matplotlib for contours computation and shapely for translating matplotlib resulting arrays to WKT format. I post it on the plugin repository and really appreciate feedbacks. In the next weeks I hope adding more options (manual levels, quantiles levels, ...) and another plugin for filled contours. You can have a look here : http://youarealegend.blogspot.com/2009/08/contour-plot-for-qgis.html Thanks you Hi, thank you for the plugin! data field accepts only integer type columns as it seems? regards -- Giovanni -- -- Lionel Roubeyrie - lroubey...@limair.asso.fr Chargé d'études et de maintenance LIMAIR - la Surveillance de l'Air en Limousin http://www.limair.asso.fr ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] Problem with the join attributes by location ftools plugin
Hi all, hi Carson, Needing to sum some pollutants concentrations stored in a polygon shapefile, I come across a big problem with the join attributes by location of the ftools plugin. My source polygon shapefile is for simplification a regular grid, and the target shapefile too, with exactly the same limits (in fact the source shp is based on the target on). When calling the plugin, it first complains about source and target are in differents CRS, which is false (I use EPSG 27572), and after computation using the sum summary of interesting features, the results are somewhat unexpected, because in each target polygon, the sum represents the sum of the contigous sources polygons, and not just the sources polygons INSIDE the target one. To be clear you can see in the attached file an example where the sources concentrations values are in normal font (one value by polygon), and in bold the resulting sum in the targets polygons (where normally expecting the same values as in the sources). I think there's missing a test in the plugin to select values if they are strictly inside the target. Hope there's a simple solution, I really need the values :/ Thanks PS : without this problem, the ftools plugin is really a nice tool. Good job Carson :) -- Lionel Roubeyrie chargé d'études LIMAIR - La Surveillance de l'Air en Limousin http://www.limair.asso.fr attachment: ex.png___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Ideas for QGIS plugin?
Hi, the two things which let me use ArcGIS are: 1- a better labelling method. A plugin to render correctly labels would make the difference. 2- The geostatistical analyst is a quick and easy way to make kriged maps, and explore interpolated datas. Le jeudi 29 janvier 2009 à 17:52 +0100, Florian Hillen a écrit : Dear mailing list. Concerning my bachelor thesis in geoinformatics I am thinking about developing a useful plugin for QGIS. Using QGIS quiet frequently, I was not missing a feature so far, but maybe anyone of you can imagine a missing functionality!? I appreciate all kinds of suggestions or any idea that could help. Best regards, Florian ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user -- Lionel Roubeyrie chargé d'études LIMAIR - La Surveillance de l'Air en Limousin http://www.limair.asso.fr ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] QgsVectorFileWriter
Hi Carson, Le mercredi 21 janvier 2009 à 16:48 +, Carson Farmer a écrit : In this way, it would be better to save in a temporary shapefile first, and if the process finishes successfully, remove the destination shapefile and copy the temporary shp to the new location. hmm, I don't know about this... Firstly, it's only useful to do this if you're concerned about the initial file, but since you appear to be writing to a tmp directory, this probably isn't all that critical... Sometimes I don't want to get 2 versions of a shp and select the source shp to be overwritten. If something goes wrong and the source is deleted first, all is lost... Secondly, this creates the possibility that if something goes wrong, you have TWO useless files lying about on your system (one you were trying to replace, and the other that didn't finish writing properly). A simple test where if a problem occurs, we delete the tmp file... The better implementation would probably be to use the memory provider to create a temporary QgsVectorLayer in memory, and if the process finishes successfully, remove the old version and write the memory layer to file. Of course, this only works if you're working with relatively 'small' layers, if you have huge vector layers ( 500,000 features) then you're probably better off just writing directly to file... mem_layer = QgsVectorLayer('Point', 'layer_name', 'memory') you'll have to double check the above, this is just from 'memory' ;-) It may be a solution :-) Carson -- Lionel Roubeyrie chargé d'études LIMAIR - La Surveillance de l'Air en Limousin http://www.limair.asso.fr ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] QgsVectorFileWriter
In this way, it would be better to save in a temporary shapefile first, and if the process finishes successfully, remove the destination shapefile and copy the temporary shp to the new location. Le mercredi 21 janvier 2009 à 14:27 +, Carson Farmer a écrit : Cedric, Hi list in a python plugin im using QgsVectorFileWriter.writeAsShapefile to write a shapefile to the disk. The first time I use a certain file name/path (e.g /tmp/foo.shp), it works properly. If I try to rerun the script, it fails saying: ERROR 1: /tmp/foo.shp is not a directory. It looks like it is not possible to replace an existing shapefile that way. Am I correct? Do I have to manage the files myself (i.e. delete them before writing the new file)? Or is there another way to replace an existing shapefile? Yes you are correct, you cannot overwrite shapfiles like that... but you can do the following first: QgsVectorFileWriter.deleteShapefile( path/to/the/shapefile/shp ) Cheers, Carson -- Lionel Roubeyrie chargé d'études LIMAIR - La Surveillance de l'Air en Limousin http://www.limair.asso.fr ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] crash in Print Composer
Same thing here (ubuntu 8.10 with QGIS1.0 preview2) Le samedi 13 décembre 2008 à 08:09 +0400, JC Notter a écrit : Hi, There is always a crash in Print Composer with the scalbar when it's a map preview, it works when it's a rectangle (win XP, ubuntu 8.1 qgis previewII)... JC ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user -- Lionel Roubeyrie chargé d'études LIMAIR - La Surveillance de l'Air en Limousin http://www.limair.asso.fr ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] multiple projects in one project
In the same time, it would be a great feature if qgis remembered the projection of the project and the on the fly projection option, unless there's already this possibility, but I can't find it :-( Le mercredi 10 décembre 2008 à 17:42 -0800, Christopher Barker a écrit : Micha Neubauer wrote: Project Properties -- Tab: CRS and enable On the fly projection Bingo! I don't know why I couldn't find that! But this is possible on the with vector data not with raster data. But since you talk about shape files that should do yup -- this is all vector data, and it's working great. Thanks, -Chris -- Lionel Roubeyrie chargé d'études LIMAIR - La Surveillance de l'Air en Limousin http://www.limair.asso.fr ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] Bug in fTools
Hi all, we can't set the output shapefile in the Convex hull plugin, the selection is not keep when we click on the save button :-( This problem occurs in Qgis 0.11 and 1.0 preview2 (ubuntu). Thanks -- Lionel Roubeyrie chargé d'études LIMAIR - La Surveillance de l'Air en Limousin http://www.limair.asso.fr ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] select features slow down
Hi all, needing to edit/copy/past features from a large vector layer (72,000 features), the select features tool takes ~5sec. each time we want to use it, where it is relatively faster on smalls vector layers (~4,000 features). Is there a flag at the compilation time to improve the speed, or something else to do? In the same time, how can we deselect a previously selected feature without deselecting all the others features? Thanks PS : We use QGIS1.0.0 preview2 from the ubuntu launchpad repository, on a Intel Core2 6400 CPU (2.1GHz). -- Lionel Roubeyrie chargé d'études LIMAIR - La Surveillance de l'Air en Limousin http://www.limair.asso.fr ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] Error on loading python with simple quote in translation
Hi all, A syntax error occurs when loading python if the translation file contains simples quotes. I solved the problem by removing the simple quote in the translation file, but the best thing would be to change qgis_except_hook_msg definition to support simples quotes. Here is the error (QGIS 1.0.0 preview2 on Intrepid) : def qgis_except_hook_msg(type, value, tb, msg): lst = traceback.format_exception(type, value, tb) if msg == None: msg = 'Une erreur est apparue sur l'exécution du code python : ' txt = ''+msg+' ' for s in lst: txt += s txt += ' Version de Python : ' + sys.version + ' ' txt += 'Chemin vers Python :' + str(sys.path) txt = txt.replace('\n', ' ') txt = txt.replace(' ', ' ') msg = QgsMessageOutput.createMessageOutput() msg.setTitle('Erreur Python') msg.setMessage(txt, QgsMessageOutput.MessageHtml) msg.showMessage() File , line 3 if msg == None: msg = 'Une erreur est apparue sur l'exécution du code python : ' ^ SyntaxError: invalid syntax My 2 cents -- Lionel Roubeyrie chargé d'études LIMAIR - La Surveillance de l'Air en Limousin http://www.limair.asso.fr ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Enhancement Requests: Enhanced Map Tips
If this enhancement could be added to the labels too (with always a good labels placement...), it would be perfect :-) Le jeudi 06 novembre 2008 à 19:34 +0100, Agustin Lobo a écrit : I comment on the one on Enhanced Map Tips. I actually would add the ability of drawing a simple plot, for example to display reflectance values across bands or time series of vegetation index a la Envi. Not sure if this should be a different ticket. BTW, priority minor: annoyance or enhancement should not be split in two different categories? I mean that an enhancement could not be of minor priority, and certainly not similar to a minor annoyance. Agus -- Message: 2 Date: Thu, 6 Nov 2008 13:58:50 +0100 (CET) From: Andreas Neumann [EMAIL PROTECTED] Subject: [Qgis-user] Enhancement Requests: Field Support in Print Composet and Enhanced Map Tips To: qgis-user qgis-user@lists.osgeo.org Message-ID: [EMAIL PROTECTED] Content-Type: text/plain;charset=iso-8859-1 Hi QGIS Developers and Users, I just added two enhancement requests: Enhanced Map Tips through Macro Language/Operators (https://trac.osgeo.org/qgis/ticket/1386) and Field Support for Print Composer (https://trac.osgeo.org/qgis/ticket/1385) I would like others to comment if these features would be useful and how they could be implemented. I assigned the latter to Marco Hugentobler, since he is working on the print composer. Andreas -- Andreas Neumann Böschacherstrasse 6, CH-8624 Grüt/Gossau, Switzerland Email: [EMAIL PROTECTED], Web: * http://www.carto.net/ (Carto and SVG resources) * http://www.carto.net/neumann/ (personal page) * http://www.svgopen.org/ (SVG Open Conference) * http://www.geofoto.ch/ (Georeferenced Photos of Switzerland) -- Lionel Roubeyrie chargé d'études LIMAIR - La Surveillance de l'Air en Limousin http://www.limair.asso.fr ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] QGIS whishlist/roadmap
Hi Paolo, thanks for the link, effectively some entries in the report page are in our whishlist, specially ticket 54, 361 and 1063. Hope these enhancements will be in the final 1.0, like said in the history ticket section. Cordialy Le mercredi 08 octobre 2008 à 17:33 +0200, Paolo Cavallini a écrit : Lionel Roubeyrie ha scritto: Hi all, is there a place to see the roadmap of the QGIS project, and/or one to post our whishlist? Can't find something on the website. Thank's wishes are a (speciel) kind of bugs: https://trac.osgeo.org/qgis/report please fille them in after verifying nobody has done it already. All the best. pc -- Lionel Roubeyrie chargé d'études LIMAIR - La Surveillance de l'Air en Limousin http://www.limair.asso.fr ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] QGIS whishlist/roadmap
Hi all, is there a place to see the roadmap of the QGIS project, and/or one to post our whishlist? Can't find something on the website. Thank's -- Lionel Roubeyrie chargé d'études LIMAIR - La Surveillance de l'Air en Limousin http://www.limair.asso.fr ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] Select Features bug
Hi all, when using the Select Features tool on a polygon shapefile and holding down the Ctrl key for selecting some features by hand, we can select 6-7 polygons, but after the entire dataset is selected! Is there an alternate solution? Thanks -- Lionel Roubeyrie - [EMAIL PROTECTED] Chargé d'études et de maintenance LIMAIR - la Surveillance de l'Air en Limousin http://www.limair.asso.fr ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] no plugin repository
Hi all, switching to the last ubuntu version and QGIS 0.11, I can't find anymore the menu entry for downloading python plugins from repositories. Is there a way to solve that? thanks -- Lionel Roubeyrie - [EMAIL PROTECTED] Chargé d'études et de maintenance LIMAIR - la Surveillance de l'Air en Limousin http://www.limair.asso.fr ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] no plugin repository
Effectively, it works better with it :-) thanks Jürgen Jürgen E. Fischer a écrit : Hi Lionel, On Mon, 25. Aug 2008 at 15:34:25 +0200, Lionel Roubeyrie wrote: switching to the last ubuntu version and QGIS 0.11, I can't find anymore the menu entry for downloading python plugins from repositories. Did you install the python plugin (python-qgis)? Jürgen -- Lionel Roubeyrie - [EMAIL PROTECTED] Chargé d'études et de maintenance LIMAIR - la Surveillance de l'Air en Limousin http://www.limair.asso.fr ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] GRASS tools window
Hi all, can't login on the forum, then I post this request here. I think it would be great if we can have another tab on the GRASS tool window where we can put favorites/frequently used GRASS tools, because searching for a particular one make sometimes confusing. Plus moving the Browser tab at the first position to avoid clicking on the modules tab each time we have to close a tool tab (and set the name of the tool on the tab), and the GRASS window will be perfect :-) My 2c -- Lionel Roubeyrie - [EMAIL PROTECTED] Chargé d'études et de maintenance LIMAIR - la Surveillance de l'Air en Limousin http://www.limair.asso.fr ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] one raster from tiles
Big thanks Yves for pointing gdal (never thinking at all for it), there's a special command to merge multiple tiles into one with gdal_merge.py. Keep gdaltindex under the pillow :-) Le lundi 21 avril 2008, Jacolin Yves a écrit : Le Monday 21 April 2008 14:04:39 Lionel Roubeyrie, vous avez écrit : Hi all, I have several tiles rasters (geotiff) describing a large area in high resolution, and generally I work on a small area, having to import all tiles because they don't have explicit names (and without the possibility to put them directly under a group (see a previous post), which should be a great improvement). Then, is it possible to extract/create a new raster for the desired area with QGIS/GRASS (know it's possible with Arcmap, with difficulties) ? Thanks Hi Lionel, You can use gdaltindex to create an indexof your tile in shapefile format, after displaying it you can show the location field on your map and find the filename of the Raster you have to load for your area. If you want to extract an area from your raster you can again use gdal [1] with some option to cut all data out of your area. I think you can use g.region to zoom into your area and then export the raster from your view region, after creating one main raster. I am agreeing with you for a better group management ;) May I need to create a new ticket? Another possibility should be that QGIS manage index file. Y. -- Lionel Roubeyrie - [EMAIL PROTECTED] Chargé d'études et de maintenance LIMAIR - la Surveillance de l'Air en Limousin http://www.limair.asso.fr ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user