[Qgis-user] PostGIS 2 SHP
Hi fellows, I am loading a postgis Layer and then saving it to shapefile. Job gets done. BUT, data type character varying, or character, is always set to 255 CHAR in the shapefile. Therefore, my dbf ends up being a huge table. Is this some bug or I am simply doing something wrong ? Any thoughts appreciated Ricardo The exporting procedure (save as) of qgis do this. But if you use og2ogr (from gdal) to export from postgres to shapefile the string field was exactly the needed. I test with the trunk version of gdal. Regards, Andrea Peri ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] PostGIS 2 SHP
Hi fellows, I am loading a postgis Layer and then saving it to shapefile. Job gets done. BUT, data type character varying, or character, is always set to 255 CHAR in the shapefile. Therefore, my dbf ends up being a huge table. Is this some bug or I am simply doing something wrong ? Any thoughts appreciated Ricardo ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] Re: [Qgis-developer] Fwd: WKTRaster Plugin 0.1
Hi Tim! I've used ubuntu with ubuntugis' repository. postgis version 1.5, gdal version 1.7 (this is a requirement) and I had to install wkt raster from source. I'm going to write a post in my blog with my friend. And as he's going to contribute we're changing the location to mapeandoobrasil.blogspot.com As usual it's going to be in portuguese, but I'm thinking about translating. The main steps were: install qgis, mapserver, gdal-bin 1.7, postgresql 8.4, libpqxx, gdal-dev, and postgis 1.5 from ubuntu gis. (yes, mapserver also works with wktraster) download the source for postgis 1.5.2 from postgis' site and download wktraster extension's source. Compile wktraster following the readme (you have to tell where the postgis source is as there is no postgis-dev package). Now this is a trick part: the raster must be reformatted. I've read somewhere a guy teaching how to reformat (tiling, byte sequence, etc) it to be able to import to wktraster. I only tested with the raster available at the wktraster's page. My friend is writing the "how to format the raster" part of our blog post. Then you load the sql of wktraster to the database and translate to sql the raster using gdal2wktraster.py from wktraster build. Now it's available through the plugin. I think this is a good abstract of how it's done. More details can be found in blog posts around the net. I'm going to implement the table listing in the plugin these weekend for now you have to know the table name and type it down. Good luck on your tests! Ps.: We're also trying to compare performance of wktraster with terralib's raster implementation as it's the only postgresql georaster library I've heard of. But as preliminary results the performance of wktraster looks like an issue at the momento. 2010/10/22 Tim Sutton > Hi > > Woohoo...can't wait to try that out! What postgis version did you use? > Anything available in apt for wktraster + postgis? > > Regards > > Tim > > 2010/10/21 Maurício de Paulo : > > > > > > -- Forwarded message -- > > From: Maurício de Paulo > > Date: 2010/10/21 > > Subject: WKTRaster Plugin 0.1 > > To: qgis-user@lists.osgeo.org, qgis-...@lists.osgeo.org > > > > > > Hi everyone, > > A friend of mine recently told me that wktraster is already storing and > > loading raster to postgres. And it's even doing some spatial analisys > with > > vector data overlayed. > > I've written a simple plugin to load wktraster tables into QGIS as gdal > 1.7 > > already has a driver. > > Sorry for the Windows users as I couldn't find a QGIS built with gdal 1.7 > > support so no wktraster for windows users. > > I've tested with ubuntu-gis qgis' build. > > > > At the moment the plugin DOES NOT list the existing tables, so you have > to > > TYPE THE TABLENAME in the editbox. > > > > The plugin is available at the contributed repository. > > Hope it's usefull > > > > -- > > 1º Ten Mauricio - Engenheiro Cartógrafo > > 1ª Divisão de Levantamento > > Exército Brasileiro - Braço Forte, Mão Amiga. > > > > > > > > -- > > 1º Ten Mauricio - Engenheiro Cartógrafo > > 1ª Divisão de Levantamento > > Exército Brasileiro - Braço Forte, Mão Amiga. > > > > ___ > > Qgis-developer mailing list > > qgis-develo...@lists.osgeo.org > > http://lists.osgeo.org/mailman/listinfo/qgis-developer > > > > > > > > -- > Tim Sutton - QGIS Project Steering Committee Member (Release Manager) > == > Please do not email me off-list with technical > support questions. Using the lists will gain > more exposure for your issues and the knowledge > surrounding your issue will be shared with all. > > Visit http://linfiniti.com to find out about: > * QGIS programming and support services > * Mapserver and PostGIS based hosting plans > * FOSS Consulting Services > Skype: timlinux > Irc: timlinux on #qgis at freenode.net > == > -- 1º Ten Mauricio - Engenheiro Cartógrafo 1ª Divisão de Levantamento Exército Brasileiro - Braço Forte, Mão Amiga. ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] google api key
you need to register @ google to obtain a google maps key. cheers -- Giovanni -- On Fri, 2010-10-22 at 10:01 -0700, Dario wrote: > when using the plugin geocode, that: > Google API Key is not set, please check plugin settings. > How about this? > > > > ___ > 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: AW: AW: Re: Fwd: [Qgis-user] QGIS "Near"
Stefan, Yes, I see that now. I was using only points before and never tried clicking inside a polygon. I wouldn't think that would be a very common event, though. Jim On 10/22/2010 02:19 AM, Ziegler Stefan wrote: Hi there is some strange behaviour when using it with polygon features (at least I think it's a bit strange): sometimes when you click into a polygon I would expect that it selects the polygon I clicked into but it selects an adjacent polygon. This is probably due to the nearestNeighbor method of the spatial index. Since the two neighboring polygons share a common border the distance would be equal but the spatial index does not check if the coordindates of the mouse click lies within one of the two polygons. regards Stefan mit freundlichem Gruss Stefan Ziegler - Originalnachricht - Von: "Jim Hammack" Gesendet: Don, 21.10.2010 19:20 An: "Ziegler Stefan" Cc: qgis-user Betreff: Re: AW: Re: Fwd: [Qgis-user] QGIS "Near" Stefan, I was looking for the same functionality as Zoran so have also been working with your "Nearest" plugin. It is exactly what I need and seems to work well. Thanks! Jim On 10/20/2010 01:54 PM, Ziegler Stefan wrote: Hi Zoran I had some time left, took all my code snippets and also the one from Carson. Please try the plugin "Nearest" that should cover your example 1: http://www.catais.org/qgis/plugins.xml regards Stefan -Ursprüngliche Nachricht- Von: Zoran Jankovic [mailto:zoran.janko...@zisis.hr] Gesendet am: Mittwoch, 20. Oktober 2010 19:21 An: qgis-user Betreff: Re: Fwd: [Qgis-user] QGIS "Near" Hi Joe, On Wed, Oct 20, 2010 at 5:06 PM, Joe Larson wrote: Does the function 'snapWithContext' http://doc.qgis.org/head/classQgsVectorLayer.html#733b974dce13d587e05cf3d4fc24f208 which "Snaps to segment or vertex within given tolerance." seem like what you're looking for? I came across it while trying to get Quantum Navigator working recently...seemed relative, but I'm no expert! This is similar to the mentioned solution with selecting by radius, or changing the tolerance of ID tool. Close, but no cigar. Since this is not very urgent, I've decided to continue pursuing that outlined solution Carson gave, and write a plugin i Python based on that. Since I actually never used Python before, it may take a while, but hey, I get to learn sth. new :-). I never got the word back from Carson, has he developed anything along these lines, but I have to presume he didn't... Anyone interested in joning me, or even earning some money, is still invited to jump on board. My GIS implementation project is well on the way, and it seems there'll even be some money involved :-). Zoran ~joe On Tue, Oct 19, 2010 at 9:55 AM, Andreas Neumann wrote: > Hi Zoran, > > I believe the infrastructure of what you want is already wihtin the > selection and identify tools in QGIS. Isn't this almost implemented in the > current identify tool? > > It sort of is, but not completely. Identify will ID all the features within certain radios (percentage of extent), but it will ID _all_ of the features within this radius. I only need the nearest, no matter how far away... Let us say it is, for simplicity, within current extent. > The current identify tool selects "near" or "close by" features within a > certain tolerance. This tolerance can be set in "Options" --> "
[Qgis-user] error postgis manager
After the actualization , the plugin postgis manager have an error: Um erro ocorreu enquanto executava o seguinte código Python: Traceback (most recent call last): File "C:\Documents and Settings\Dgalvao/.qgis/python/plugins\postgis_manager\ManagerWindow.py", line 113, in dbConnectInit self.dbConnect(selected) File "C:\Documents and Settings\Dgalvao/.qgis/python/plugins\postgis_manager\ManagerWindow.py", line 165, in dbConnect self.refreshTable() File "C:\Documents and Settings\Dgalvao/.qgis/python/plugins\postgis_manager\ManagerWindow.py", line 244, in refreshTable model.loadFromDb(self.db) File "C:\Documents and Settings\Dgalvao/.qgis/python/plugins\postgis_manager\DatabaseModel.py", line 177, in loadFromDb self.tree.constructTreeFromDb(self.db) File "C:\Documents and Settings\Dgalvao/.qgis/python/plugins\postgis_manager\DatabaseModel.py", line 77, in constructTreeFromDb list_tables = db.list_geotables() File "C:\Documents and Settings\Dgalvao/.qgis/python/plugins\postgis_manager\postgis_utils.py", line 256, in list_geotables items[i] = geo_item IndexError: list assignment index out of range Versão do Python: 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)] Versão do QGIS 1.5.0-Tethys Tethys, 13923M Caminho para o Python: ['C:\\Documents and Settings\\Dgalvao\\.qgis\\python\\plugins\\GeoCoding', 'C:\\Documents and Settings\\Dgalvao\\.qgis\\python\\plugins\\elevation', 'C:/OSGeo4W/apps/qgis/./python', 'C:\\Documents and Settings\\Dgalvao/.qgis/python', 'C:\\Documents and Settings\\Dgalvao/.qgis/python/plugins', 'C:/OSGeo4W/apps/qgis/./python/plugins', 'C:\\OSGeo4W\\apps\\gdal-16\\pymod', 'C:\\Documents and Settings\\Dgalvao\\Desktop', 'C:\\OSGeo4W\\bin\\python25.zip', 'C:\\OSGeo4W\\apps\\Python25\\DLLs', 'C:\\OSGeo4W\\apps\\Python25\\lib', 'C:\\OSGeo4W\\apps\\Python25\\lib\\plat-win', 'C:\\OSGeo4W\\apps\\Python25\\lib\\lib-tk', 'C:\\OSGeo4W\\apps\\qgis\\bin', 'C:\\OSGeo4W\\apps\\Python25', 'C:\\OSGeo4W\\apps\\Python25\\lib\\site-packages', 'C:\\OSGeo4W\\apps\\Python25\\lib\\site-packages\\win32', 'C:\\OSGeo4W\\apps\\Python25\\lib\\site-packages\\win32\\lib', 'C:\\OSGeo4W\\apps\\Python25\\lib\\site-packages\\Pythonwin', 'C:\\OSGeo4W\\apps\\Python25\\lib\\site-packages\\wx-2.8-msw-unicode', u'C:/Documents and Settings/Dgalvao/.qgis//python/plugins', 'C:\\OSGeo4W\\apps\\qgis\\python\\plugins\\fTools\\tools', 'C:\\Documents and Settings\\Dgalvao\\.qgis\\python\\plugins\\cadtools\\tools', '/usr/share/qgis/python', 'C:/Documents and Settings/Dgalvao/Desktop'] ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] google api key
when using the plugin geocode, that: Google API Key is not set, please check plugin settings. How about this? ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Plug-in not working: spqr
Hi Phil, In another thread Alexander Bruy gave a good tip to install python Windows packages in OGGeo4W: Namely, you download the package exe file and open it with 7-zip (freeware). 7-zip will display folders and files inside the exe file. You simply have to find the correct folder and the .egg file (if any) and extract them to the python package folder in the OSGeo4W installation tree keeping the folder structure of the exe file. It has worked for me on many occasions. Try it on the R packages and see if it helps... HTH, Benoit On 22/10/2010 16:53, Phil Morefield wrote: Carson, I'm a Windows user, and I think that is causing me problems. The rpy package that comes from the OSGeo4W installer (1.0.3) is configured for R 2.6.2. and Python 2.5. rpy2 requires R >= 2.8.0. I haven't been able to locate rpy windows installers for Python 2.5 and R >= 2.8.0. So in a nutshell: there is no version of R that overlaps both rpy and rpy2 when they are installed on Python 2.5. I've tried unsuccessfully to create my own Windows installer for rpy; there is an issue with the C++ header files changing in later versions of R, which is way beyond my expertise. I'm all ears if you, or anyone else, has more ideas. Phil From: Carson Farmer To: Phil Morefield Cc: qgis-user@lists.osgeo.org Sent: Wed, October 20, 2010 8:39:56 PM Subject: Re: [Qgis-user] Plug-in not working: spqr spqr requires rpy (rather than rpy2). You should be able to install both rpy and rpy2 on the same system, so it shouldn't be a problem to install rpy and get going with spqr. Carson On 21 October 2010 01:26, Phil Morefieldwrote: I must have tried to install it a thousand times. Every time I get the same message: "The plug-in is broken. Python said: Couldn't obtain version from output of 'R --version'." Other plug-ins relying on R work fine. "R --version" gives me long string that includes the version number. Anyone have a bright idea? ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user -- 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
Re: [Qgis-user] Color ramps: vector and raster
Agus, Yes, I guess they could be used in the New Symbology Layer properties. The colour palettes have very simple file formats so they could be easily integrated by other functions. Also, it has been strongly suggested that the '1-band raster colour table' plugin be integrated in QGIS core functionality. In such a case the colour palettes could be accessible from any part of the QGIS environment. Cheers, Benoit On 22/10/2010 12:23, Agustin Lobo wrote: > Hi! > > Could the excellent color ramps provided in the new plugin "1-band > raster colour table" > (thanks Benoit!!) be also available in the New Symbology Layer > properties/Color Ramp for vector layers? > > Agus > ___ > 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] Plug-in not working: spqr
Carson, I'm a Windows user, and I think that is causing me problems. The rpy package that comes from the OSGeo4W installer (1.0.3) is configured for R 2.6.2. and Python 2.5. rpy2 requires R >= 2.8.0. I haven't been able to locate rpy windows installers for Python 2.5 and R >= 2.8.0. So in a nutshell: there is no version of R that overlaps both rpy and rpy2 when they are installed on Python 2.5. I've tried unsuccessfully to create my own Windows installer for rpy; there is an issue with the C++ header files changing in later versions of R, which is way beyond my expertise. I'm all ears if you, or anyone else, has more ideas. Phil From: Carson Farmer To: Phil Morefield Cc: qgis-user@lists.osgeo.org Sent: Wed, October 20, 2010 8:39:56 PM Subject: Re: [Qgis-user] Plug-in not working: spqr spqr requires rpy (rather than rpy2). You should be able to install both rpy and rpy2 on the same system, so it shouldn't be a problem to install rpy and get going with spqr. Carson On 21 October 2010 01:26, Phil Morefield wrote: > I must have tried to install it a thousand times. Every time I get the same >message: >"The plug-in is broken. Python said: >Couldn't obtain version from output of 'R --version'." > >Other plug-ins relying on R work fine. "R --version" gives me long string that >includes the version number. Anyone have a bright idea? > >___ >Qgis-user mailing list >Qgis-user@lists.osgeo.org >http://lists.osgeo.org/mailman/listinfo/qgis-user > > -- 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] Color ramps: vector and raster
Hi! Could the excellent color ramps provided in the new plugin "1-band raster colour table" (thanks Benoit!!) be also available in the New Symbology Layer properties/Color Ramp for vector layers? Agus ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] plugin to import raw binary raster data
I've tested including a resources.py file and the plugin works (the menu opens, have not imported anything yet). Agus 2010/10/22 Giuseppe Sucameli : > Hi guys, > > On Fri, Oct 22, 2010 at 10:25 AM, Agustin Lobo > wrote: >> >> Which module is the one actually needed? > > it's a plugin's missing module. You don't need to install anything. > > To Ghishlain: > could you update your plugin either removing "import resources" (line 27) > from > the RawRasterFileImport.py module or creating a resources.py empty file? > > Cheers. > >> >> 2010/10/21 Ghislain Picard : >> > >> > A new plugin is available to help importing raw binary raster data into >> > QGIS. >> > The plugin creates a VRT file from information about the file structure >> > given by the user. The VRT file can then be opened with QGis as any >> > other >> > raster format. >> > Ghislain >> > >> > >> > ___ >> > 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 > > ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] plugin to import raw binary raster data
Hi guys, On Fri, Oct 22, 2010 at 10:25 AM, Agustin Lobo wrote: > Which module is the one actually needed? > it's a plugin's missing module. You don't need to install anything. To Ghishlain: could you update your plugin either removing "import resources" (line 27) from the RawRasterFileImport.py module or creating a resources.py empty file? Cheers. > > 2010/10/21 Ghislain Picard : > > > > A new plugin is available to help importing raw binary raster data into > > QGIS. > > The plugin creates a VRT file from information about the file structure > > given by the user. The VRT file can then be opened with QGis as any other > > raster format. > > Ghislain > > > > > > ___ > > 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
Re: [Qgis-user] Error with Raster tools on MacOSX
Hi Agus, I think we solved it few weeks ago. See [1]. Try to setup both python and binaries paths in the "path to GDAL binaries" textbox within the "GdalTools settings" dialog. You must separate them by : /usr/bin:/Library/Frameworks/GDAL.framework/Versions/1.7/Programs/ Cheers. [1] http://www.mail-archive.com/qgis-user@lists.osgeo.org/msg07436.html On Fri, Oct 22, 2010 at 10:16 AM, Agustin Lobo wrote: > On behalf of Joao Lampreia > I'm sending this report on problems running Raster tools in QGIS > > "I am getting an error when trying to use any of the GDAL tools, such > as polygonise or proximity... without this I`m not being able to go > progress at all in the exercise. > Would you perhaps know what this error msg is about? > > I have reinstalled GDAL tools, restarted the program, but still have > the same problem... > > attached is an image of the error... > " > (image in https://sites.google.com/site/openfiles2/home/ERRORMESG.tiff ) > > Mac OSX: 10.6.3 > Hardware Overview: > Model Name:MacBook Pro > Model Identifier:MacBookPro7,1 > Processor Name:Intel Core 2 Duo > Processor Speed:2.4 GHz > Number Of Processors:1 > Total Number Of Cores:2 > L2 Cache:3 MB > Memory:4 GB > Bus Speed:1.07 GHz > Boot ROM Version:MBP71.0039.B05 > Hardware UUID:0D4CE128-E01E-57E1-BE26-53E355A2E3F4 > > > Agus > > Joao: you should subscribe to the QGIS users list for following this issue: > http://www.qgis.org/community/mailing-lists.html > ___ > 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
Re: [Qgis-user] plugin to import raw binary raster data
Great but I get an error message on ubuntu 9.10 stating that I must install the python module "resources", despite I do have python-pkg-resources installed. Which module is the one actually needed? Agus 2010/10/21 Ghislain Picard : > > A new plugin is available to help importing raw binary raster data into > QGIS. > The plugin creates a VRT file from information about the file structure > given by the user. The VRT file can then be opened with QGis as any other > raster format. > Ghislain > > > ___ > 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] Error with Raster tools on MacOSX
On behalf of Joao Lampreia I'm sending this report on problems running Raster tools in QGIS "I am getting an error when trying to use any of the GDAL tools, such as polygonise or proximity... without this I`m not being able to go progress at all in the exercise. Would you perhaps know what this error msg is about? I have reinstalled GDAL tools, restarted the program, but still have the same problem... attached is an image of the error... " (image in https://sites.google.com/site/openfiles2/home/ERRORMESG.tiff ) Mac OSX: 10.6.3 Hardware Overview: Model Name:MacBook Pro Model Identifier:MacBookPro7,1 Processor Name:Intel Core 2 Duo Processor Speed:2.4 GHz Number Of Processors:1 Total Number Of Cores:2 L2 Cache:3 MB Memory:4 GB Bus Speed:1.07 GHz Boot ROM Version:MBP71.0039.B05 Hardware UUID:0D4CE128-E01E-57E1-BE26-53E355A2E3F4 Agus Joao: you should subscribe to the QGIS users list for following this issue: http://www.qgis.org/community/mailing-lists.html ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] Re: Re: QGIS 1.5 Update for ECW/SID support crashes
Considering the practical importance of mersid and ecw support, I suggest having an specific entry for this subject (i.e., "MrSid and ECW support in QGIS") in the wiki, explaining the potential problems and the solutions. Perhaps in the users corner? Also, in general, I suggest that the main QGIS page should have an entry "Known Problems". I know it is possible to search the bug tickets, but the most prominent problems should be highlighted for new users. Agus -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/QGIS-1-5-Update-for-ECW-SID-support-crashes-tp5442247p5661624.html Sent from the qgis-user mailing list archive at Nabble.com. ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
AW: AW: Re: Fwd: [Qgis-user] QGIS "Near"
Hi there is some strange behaviour when using it with polygon features (at least I think it's a bit strange): sometimes when you click into a polygon I would expect that it selects the polygon I clicked into but it selects an adjacent polygon. This is probably due to the nearestNeighbor method of the spatial index. Since the two neighboring polygons share a common border the distance would be equal but the spatial index does not check if the coordindates of the mouse click lies within one of the two polygons. regards Stefan mit freundlichem Gruss Stefan Ziegler - Originalnachricht - Von: "Jim Hammack" Gesendet: Don, 21.10.2010 19:20 An: "Ziegler Stefan" Cc: qgis-user Betreff: Re: AW: Re: Fwd: [Qgis-user] QGIS "Near" Stefan, I was looking for the same functionality as Zoran so have also been working with your "Nearest" plugin. It is exactly what I need and seems to work well. Thanks! Jim On 10/20/2010 01:54 PM, Ziegler Stefan wrote: Hi Zoran I had some time left, took all my code snippets and also the one from Carson. Please try the plugin "Nearest" that should cover your example 1: http://www.catais.org/qgis/plugins.xml regards Stefan -Ursprüngliche Nachricht- Von: Zoran Jankovic [mailto:zoran.janko...@zisis.hr] Gesendet am: Mittwoch, 20. Oktober 2010 19:21 An: qgis-user Betreff: Re: Fwd: [Qgis-user] QGIS "Near" Hi Joe, On Wed, Oct 20, 2010 at 5:06 PM, Joe Larson wrote: Does the function 'snapWithContext' http://doc.qgis.org/head/classQgsVectorLayer.html#733b974dce13d587e05cf3d4fc24f208 which "Snaps to segment or vertex within given tolerance." seem like what you're looking for? I came across it while trying to get Quantum Navigator working recently...seemed relative, but I'm no expert! This is similar to the mentioned solution with selecting by radius, or changing the tolerance of ID tool. Close, but no cigar. Since this is not very urgent, I've decided to continue pursuing that outlined solution Carson gave, and write a plugin i Python based on that. Since I actually never used Python before, it may take a while, but hey, I get to learn sth. new :-). I never got the word back from Carson, has he developed anything along these lines, but I have to presume he didn't... Anyone interested in joning me, or even earning some money, is still invited to jump on board. My GIS implementation project is well on the way, and it seems there'll even be some money involved :-). Zoran ~joe On Tue, Oct 19, 2010 at 9:55 AM, Andreas Neumann wrote: > Hi Zoran, > > I believe the infrastructure of what you want is already wihtin the > selection and identify tools in QGIS. Isn't this almost implemented in the > current identify tool? > > It sort of is, but not completely. Identify will ID all the features within certain radios (percentage of extent), but it will ID _all_ of the features within this radius. I only need the nearest, no matter how far away... Let us say it is, for simplicity, within current extent. > The current identify tool selects "near" or "close by" features within a > certain tolerance. This tolerance can be set in "Options" --> "Map tools" > "search radius". I believe it currently only effects the identify tool. Do > you want the same tolerance also be used for the click-selection tool? > > Look above. This could be useful, but it is not