[Qgis-user] OpenLayers plugin
Hello All - Thanks for all the responses with my projection question! I knew I was missing something simple. I've just loaded the OpenLayer plugin but am getting the following python error when trying to load a Google satellite image (I'm currently working in Tanzania, if that matters) (also, I have other data already loaded into the map, as the tutorial recommended - it happens to be in CRS WGS84): An error has occured while executing Python code: Traceback (most recent call last): File C:/Users/dell/.qgis/python/plugins\openlayers\openlayers_layer.py, line 102, in draw self.render(rendererContext) File C:/Users/dell/.qgis/python/plugins\openlayers\openlayers_layer.py, line 156, in render olWidth = rendererContext.extent().width() / olRes UnboundLocalError: local variable 'olRes' referenced before assignment Python version: 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)] QGIS version: 1.7.4-Wroclaw Wroclaw, 411aff6 Python path: ['C:/PROGRA~1/Quantum GIS Wroclaw/apps/qgis/./python', 'C:/Users/dell/.qgis/python', 'C:/Users/dell/.qgis/python/plugins', 'C:/PROGRA~1/Quantum GIS Wroclaw/apps/qgis/./python/plugins', 'C:\\PROGRA~1\\Quantum GIS Wroclaw\\bin\\python27.zip', 'C:\\PROGRA~1\\Quantum GIS Wroclaw\\apps\\Python27\\DLLs', 'C:\\PROGRA~1\\Quantum GIS Wroclaw\\apps\\Python27\\lib', 'C:\\PROGRA~1\\Quantum GIS Wroclaw\\apps\\Python27\\lib\\plat-win', 'C:\\PROGRA~1\\Quantum GIS Wroclaw\\apps\\Python27\\lib\\lib-tk', 'C:\\PROGRA~1\\Quantum GIS Wroclaw\\apps\\qgis\\bin', 'C:\\PROGRA~1\\Quantum GIS Wroclaw\\apps\\Python27', 'C:\\PROGRA~1\\Quantum GIS Wroclaw\\apps\\Python27\\lib\\site-packages', 'C:\\PROGRA~1\\Quantum GIS Wroclaw\\apps\\Python27\\lib\\site-packages\\PIL', 'C:\\PROGRA~1\\Quantum GIS Wroclaw\\apps\\Python27\\lib\\site-packages\\win32', 'C:\\PROGRA~1\\Quantum GIS Wroclaw\\apps\\Python27\\lib\\site-packages\\win32\\lib', 'C:\\PROGRA~1\\Quantum GIS Wroclaw\\apps\\Python27\\lib\\site-packages\\Pythonwin', 'C:\\PROGRA~1\\Quantum GIS Wroclaw\\apps\\Python27\\lib\\site-packages\\wx-2.8-msw-unicode', 'C:\\PROGRA~1\\Quantum GIS Wroclaw\\apps\\qgis\\python\\plugins\\fTools\\tools'] I don't know the first thing about programming, so I would appreciate any help on this matter! Thanks! Christy M. Ihlo Intern, African People and Wildlife Fund Noloholo Environmental Center, Loibor Siret, Tanzania ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Problem with Ubuntu 12
Try removing qgis and it's dependencies from terminal: sudo apt-get remove qgis sudo apt-get autoremove And then reinstall it again sudo apt-get install qgis This worked for me! Julian Bogdani --- http://www.bradypus.net Il giorno 13/giu/2012, alle ore 08:19, Zirneklitis e...@lanet.lv ha scritto: To investigate the situation try to launch qgis from terminal. Karlis Gerardo Jimenez wrote: .. When I try to load it I have the splash screen, then nothing. If I have another window open (like a web browser) and I close it Q gis does appear. I suspect that I have some leftovers from my previous installation. So I wonder if somebody can tell me what to do.. ___ 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] New QGIS Training Provider in Australia – Digital Mapping Solutions
Hi all, There is now a new QGIS training provider in Australia. FYI http://woostuff.wordpress.com/2012/06/13/new-qgis-training-provider-in-australia-digital-mapping-solutions/ Regards, Nathan ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Agregar Símbolos
On Tue, 2012-06-12 at 17:17 -0300, Juan Pablo Virgillito wrote: Que tal, alguien sabe como puedo agregar más simología? tanto para puntos, líneas y polígonos. in qgis you have the style manager a tool that allow you to create/import/export styles. In the general options you can also add a path to a folder where you have symbols (in svg format) and have them add to the qgis library. Además no puedo encotrar los nortes para la salida de mapa. you add them as normal symbols (available in the qgis library) or as normal images (jpg, etc.). saludos -- Giovanni -- ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] no data values are not recognised by colormap
On Tue, 2012-06-12 at 14:37 -0700, skampus wrote: hi, i'm noting a strange behaviour of colormap. it seems that it doesn't recognise the no data value so it's impossible to set them as transparent. it is a known issue. There are rasters when you try to set transparent the nulls qgis instead make transparent the pixels with 0 value. I guess we would need to wait for the raster resampling commits (a new feature for the next qgis release) and start from there to fix what need to be fixed. cheers -- Giovanni -- ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] FW: Problem with Ubuntu 12
Thanks for the answers I tried Bodgani's solution but I get the same behavior. For Karlis recommendation, when I run q gis from terminal I get sam@ThirdEchelon:~$ qgis Warning: loading of qgis translation failed [/usr/share/qgis/i18n//qgis_en_US] Warning: loading of qt translation failed [/usr/share/qt4/translations/qt_en_US] Warning: void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action Project Properties... under id 125 Warning: void DBusMenuExporterPrivate::fillLayoutItem(DBusMenuLayoutItem*, QMenu*, int, int, const QStringList): No id for action Warning: void DBusMenuExporterPrivate::fillLayoutItem(DBusMenuLayoutItem*, QMenu*, int, int, const QStringList): No id for action Warning: void DBusMenuExporterPrivate::fillLayoutItem(DBusMenuLayoutItem*, QMenu*, int, int, const QStringList): No id for action Kind of cryptic to meAny ideas Thanks again Gerardo Jiménez Delgado Instituto de Investigaciones Antropológicas Universidad Nacional Autónoma de México Ciudad Universitaria s/n Coyoacan 04510 Mexico City Mexico 56 22 95 16 From: jbogd...@gmail.com Date: Wed, 13 Jun 2012 08:26:57 +0200 To: e...@lanet.lv CC: qgis-user@lists.osgeo.org Subject: Re: [Qgis-user] Problem with Ubuntu 12 Try removing qgis and it's dependencies from terminal: sudo apt-get remove qgis sudo apt-get autoremove And then reinstall it again sudo apt-get install qgis This worked for me! Julian Bogdani --- http://www.bradypus.net Il giorno 13/giu/2012, alle ore 08:19, Zirneklitis e...@lanet.lv ha scritto: To investigate the situation try to launch qgis from terminal. Karlis Gerardo Jimenez wrote: .. When I try to load it I have the splash screen, then nothing. If I have another window open (like a web browser) and I close it Q gis does appear. I suspect that I have some leftovers from my previous installation. So I wonder if somebody can tell me what to do.. ___ 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
Re: [Qgis-user] FW: Problem with Ubuntu 12
http://hub.qgis.org/issues/5169 ? Gerardo Jimenez wrote: .. I tried Bodgani's solution but I get the same behavior. For Karlis recommendation, when I run q gis from terminal I get sam@ThirdEchelon:~$ qgis Warning: loading of qgis translation failed [/usr/share/qgis/i18n//qgis_en_US] Warning: loading of qt translation failed [/usr/share/qt4/translations/qt_en_US] Warning: void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action Project Properties... under id 125 Warning: void DBusMenuExporterPrivate::fillLayoutItem(DBusMenuLayoutItem*, QMenu*, int, int, const QStringList): No id for action Warning: void DBusMenuExporterPrivate::fillLayoutItem(DBusMenuLayoutItem*, QMenu*, int, int, const QStringList): No id for action Warning: void DBusMenuExporterPrivate::fillLayoutItem(DBusMenuLayoutItem*, QMenu*, int, int, const QStringList): No id for action Kind of cryptic to meAny ideas Thanks again .. ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] FW: Problem with Ubuntu 12
Thanks!!! After reading the info on the link I switched from unity to gnome classic and I have Qgis working without a problem!!! Thanks again Gerardo Jiménez Delgado Instituto de Investigaciones Antropológicas Universidad Nacional Autónoma de México Ciudad Universitaria s/n Coyoacan 04510 Mexico City Mexico 56 22 95 16 Date: Wed, 13 Jun 2012 16:32:42 +0300 From: e...@lanet.lv To: qgis-develo...@lists.osgeo.org CC: qgis-user@lists.osgeo.org Subject: Re: [Qgis-user] FW: Problem with Ubuntu 12 http://hub.qgis.org/issues/5169 ? Gerardo Jiménez Delgado Instituto de Investigaciones Antropológicas Universidad Nacional Autónoma de México Ciudad Universitaria s/n Coyoacan 04510 Mexico City Mexico 56 22 95 16 ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] FW: Problem with Ubuntu 12
I beleive the solution in that ticket was to login to unity classic once and run QGis, and then you can log back into normal unity and run QGis without problems. It would be a serious problem if QGis could not run in Unity, given the number or Ubuntu users out there. Etienne On Wed, Jun 13, 2012 at 12:02 PM, Gerardo Jimenez gej...@hotmail.com wrote: Thanks!!! After reading the info on the link I switched from unity to gnome classic and I have Qgis working without a problem!!! Thanks again Gerardo Jiménez Delgado Instituto de Investigaciones Antropológicas Universidad Nacional Autónoma de México Ciudad Universitaria s/n Coyoacan 04510 Mexico City Mexico 56 22 95 16 Date: Wed, 13 Jun 2012 16:32:42 +0300 From: e...@lanet.lv To: qgis-develo...@lists.osgeo.org CC: qgis-user@lists.osgeo.org Subject: Re: [Qgis-user] FW: Problem with Ubuntu 12 http://hub.qgis.org/issues/5169 ? Gerardo Jiménez Delgado Instituto de Investigaciones Antropológicas Universidad Nacional Autónoma de México Ciudad Universitaria s/n Coyoacan 04510 Mexico City Mexico 56 22 95 16 ___ 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] FW: Problem with Ubuntu 12
Does it show up in the Settings Menu - which is the default except for Gnome and Mac? no, the only available shortcut is the icon in the lower right corner of qgis. ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] FW: Problem with Ubuntu 12
In the KDE case, On Wed, Jun 13, 2012 at 12:53 PM, Giovanni Manghi giovanni.man...@faunalia.pt wrote: Does it show up in the Settings Menu - which is the default except for Gnome and Mac? no, the only available shortcut is the icon in the lower right corner of qgis. That's weird - should probably be filed as a bug... You are talking about the dev version or 1.7, or both? In the 1.7 and dev code it's in the Options menu by default, and gets placed in the File menu if the environment is detected as Gnome or Mac. ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] FW: Problem with Ubuntu 12
That's weird - should probably be filed as a bug... You are talking about the dev version or 1.7, or both? I filed a ticket months ago. Don't remember about 1.7.4, but it happens for sure with 1.8 ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] Problems with Rasterize Gdal Plugin
Hi, I want to rasterize a shapefile with Raster/Conversion/Rasterize(Vector to raster) Input file (shapefile), Bosques.shp Atribute field, ID Output file for rasterized vectors (raster), Bosques_id.asc New size (required if ouput file doesn't exist) Width: 690; Height: 486 gdal_rasterize -a ID -ts 690 486 -l Bosques /Users/joseca_IMac/Desktop/Var_No_Climáticas/Bosques.shp /Users/joseca_IMac/Desktop/Var_No_Climáticas/Bosques_id.asc And then this is the message: Invalid parameters I'm working with QGIS 1..7.4 (updated) OSX 10.6.8. What is the problem? Many thanks in advance, -- Dr. José Carlos Guerrero Laboratorio de Desarrollo Sustentable y Gestión Ambiental del Territorio (LDSGAT) Instituto de Ecología y Ciencias Ambientales (IECA) Facultad de Ciencias Universidad de la República Montevideo-URUGUAY ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Problems with Rasterize Gdal Plugin
What is the problem? I hit the same issue yesterday, apparently gdal rasterize does not support writing asc directly. Rasterize as tiff first and then use gdal translate to save as ASC. cheers -- Giovanni -- ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Problems with Rasterize Gdal Plugin
If you do gdalinfo --formats you will see which raster formats support Create and Update (which gdal_rasterize and gdalwarp require) - this is indicated by 'w+' GTiff (rw+v): GeoTIFF AAIGrid (rwv): Arc/Info ASCII Grid --formats List all raster formats supported by this GDAL build (read-only and read-write) and exit. The format support is indicated as follows: 'ro' is read-only driver; 'rw' is read or write (ie. supports CreateCopy); 'rw+' is read, write and update (ie. supports Create). A 'v' is appended for formats supporting virtual IO (/vsimem, /vsigzip, /vsizip, etc). Note: The valid formats for the output of gdalwarp are formats that support the Create() method (marked as rw+), not just the CreateCopy() method. On Wed, Jun 13, 2012 at 1:10 PM, Giovanni Manghi giovanni.man...@faunalia.pt wrote: What is the problem? I hit the same issue yesterday, apparently gdal rasterize does not support writing asc directly. Rasterize as tiff first and then use gdal translate to save as ASC. cheers -- Giovanni -- ___ 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] Problems with Rasterize Gdal Plugin
- this is indicated by 'w+' GTiff (rw+v): GeoTIFF AAIGrid (rwv): Arc/Info ASCII Grid but rasterize does not support anyway writing directly ASC. This is what I get from gdal_rasterize -a CODPRED -ts 3000 3000 -l pred pred.shp test.asc Output driver `AAIGrid' not recognised or does not support direct output file creation. The following format drivers are configured and support direct output: JP2ECW: ERDAS JPEG2000 (SDK 3.x) VRT: Virtual Raster GTiff: GeoTIFF NITF: National Imagery Transmission Format HFA: Erdas Imagine Images (.img) ELAS: ELAS MEM: In Memory Raster BMP: MS Windows Device Independent Bitmap PCIDSK: PCIDSK Database File ILWIS: ILWIS Raster Map SGI: SGI Image File Format 1.0 Leveller: Leveller heightfield Terragen: Terragen heightfield netCDF: Network Common Data Format HDF4Image: HDF4 Dataset ISIS2: USGS Astrogeology ISIS cube (Version 2) ERS: ERMapper .ers Labelled RMF: Raster Matrix Format RST: Idrisi Raster A.1 INGR: Intergraph Raster GSBG: Golden Software Binary Grid (.grd) PNM: Portable Pixmap Format (netpbm) ENVI: ENVI .hdr Labelled EHdr: ESRI .hdr Labelled PAux: PCI .aux Labelled MFF: Vexcel MFF Raster MFF2: Vexcel MFF2 (HKV) Raster BT: VTP .bt (Binary Terrain) 1.3 Format LAN: Erdas .LAN/.GIS IDA: Image Data and Analysis GTX: NOAA Vertical Datum .GTX NTv2: NTv2 Datum Grid Shift ADRG: ARC Digitized Raster Graphics SAGA: SAGA GIS Binary Grid (.sdat) ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Problems with Rasterize Gdal Plugin
On Wed, Jun 13, 2012 at 1:29 PM, Giovanni Manghi giovanni.man...@faunalia.pt wrote: - this is indicated by 'w+' GTiff (rw+v): GeoTIFF AAIGrid (rwv): Arc/Info ASCII Grid but rasterize does not support anyway writing directly ASC. This is what I get from AAIGrid is the driver for .asc files, and it does not support Create (direct output file creation), it support CreateCopy only - see above it only has (rwv), i't missing the '+'. Therefore gdal_rasterize is not supported for asc files. gdal_rasterize -a CODPRED -ts 3000 3000 -l pred pred.shp test.asc Output driver `AAIGrid' not recognised or does not support direct output file creation. The following format drivers are configured and support direct output: JP2ECW: ERDAS JPEG2000 (SDK 3.x) VRT: Virtual Raster GTiff: GeoTIFF NITF: National Imagery Transmission Format HFA: Erdas Imagine Images (.img) ELAS: ELAS MEM: In Memory Raster BMP: MS Windows Device Independent Bitmap PCIDSK: PCIDSK Database File ILWIS: ILWIS Raster Map SGI: SGI Image File Format 1.0 Leveller: Leveller heightfield Terragen: Terragen heightfield netCDF: Network Common Data Format HDF4Image: HDF4 Dataset ISIS2: USGS Astrogeology ISIS cube (Version 2) ERS: ERMapper .ers Labelled RMF: Raster Matrix Format RST: Idrisi Raster A.1 INGR: Intergraph Raster GSBG: Golden Software Binary Grid (.grd) PNM: Portable Pixmap Format (netpbm) ENVI: ENVI .hdr Labelled EHdr: ESRI .hdr Labelled PAux: PCI .aux Labelled MFF: Vexcel MFF Raster MFF2: Vexcel MFF2 (HKV) Raster BT: VTP .bt (Binary Terrain) 1.3 Format LAN: Erdas .LAN/.GIS IDA: Image Data and Analysis GTX: NOAA Vertical Datum .GTX NTv2: NTv2 Datum Grid Shift ADRG: ARC Digitized Raster Graphics SAGA: SAGA GIS Binary Grid (.sdat) ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Problems with Rasterize Gdal Plugin
Hi, Rasterizing as tiff, I have the same message Invalid parameters. Regards, José C. Guerrero 2012/6/13 Giovanni Manghi giovanni.man...@faunalia.pt What is the problem? I hit the same issue yesterday, apparently gdal rasterize does not support writing asc directly. Rasterize as tiff first and then use gdal translate to save as ASC. cheers -- Giovanni -- ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] FW: Problem with Ubuntu 12
After cheking in the ticket mentioned earlier, it does work with unity, partially. At first it does not display nothing, unless you reclick on the qgis button. On unity 2d, gnome classic and gnome with no efects qgis works ok Gerardo Jiménez Delgado Instituto de Investigaciones Antropológicas Universidad Nacional Autónoma de México Ciudad Universitaria s/n Coyoacan 04510 Mexico City Mexico 56 22 95 16 Subject: Re: [Qgis-user] FW: Problem with Ubuntu 12 From: giovanni.man...@faunalia.pt To: etourigny@gmail.com CC: gej...@hotmail.com; qgis-user@lists.osgeo.org Date: Wed, 13 Jun 2012 17:07:18 +0100 That's weird - should probably be filed as a bug... You are talking about the dev version or 1.7, or both? I filed a ticket months ago. Don't remember about 1.7.4, but it happens for sure with 1.8 ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] Video deficiente QGIS 1.7.4-2 no Ubuntu 12.04 | Video poor QGIS 1.7.4-2 in Ubuntu 12.04
*PT_BR* Atualizei o Ubuntu para a versão mais recente (12.04) e instalei o QGIS 1.7.4-2 disponível no UbuntuGIS nos meus dois notebooks. Ao arrastar um mapa ou ao vetorizar (mapeamento) aparece um fundo branco ao redor da feição movida/vetorizada, dificultando a visualização. A configuração dos computadores são: NOTEBOOK 1 (Dell Inspiron 15R: Intel Core i5 64 bits, 6GB RAM, placa de vídeo Intel integrada); NOTEBOOK 2 (Lenovo Ideapad Z470: Intel Core i3 64 bits, 4GB RAM, placa de vídeo Intel integrada). Os sistemas estão atualizados para o kernel 3.2.0-25.40 e todos os drivers de vídeo também. Acontece que até a versão 11.10 do Ubuntu, tudo funcionava perfeitamente. Alguém teria alguma solução? Obrigado desde já. *EN_US* I upgraded Ubuntu to the latest version (4.12) and installed QGIS 1.7.4-2 UbuntuGIS available on my two laptops. When you drag a map or vectorize (mapping) appears a white background moved around the feature / vectored, making viewing difficult. The configuration of the computers are: 1 NOTEBOOK (Dell Inspiron 15R: 64-bit Intel Core i5, 6GB RAM, integrated Intel video card); NOTEBOOK 2 (Lenovo Ideapad Z470: Intel Core i3 64-bit, 4GB RAM, integrated Intel video card .) The systems are updated to the kernel and all drivers 3.2.0-25.40 video too. It turns out that up to version 11.10 of Ubuntu, everything worked perfectly. Does anyone have any solutions? Thanks in advance. -- Esdras Andrade. http://geoparalinux.wordpress.com ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user