[Qgis-user] Zoom full does not work

2011-09-15 Thread Andreas Forø Tollefsen
Hi all,

I've just installed the QGIS 1.7 on my ubuntu.
However, my neither the Zoom Full or Zoom to layer extent works.

I have installed gdal 1.8 due to my use of the PostGis 2.0 database.

Any ideas?

Andreas
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Bugfix for wktraster 0.5.1

2011-08-23 Thread Andreas Forø Tollefsen
Hi Maurício.

After this upgrade i can run the plugin and everything seems to be working
fine again.
Thank you.

Andreas

2011/8/23 Maurício de Paulo 

> Hi everyone,
> I'd like to thank everyone that tested wktraster 0.5 and replied with the
> bugs. I could not reproduce it until today. As far as I've tested it's more
> stable now as this version aimed to improve exception handling.
> I don't think that I announced it but there is a wktrasterplugin project
> on google code  where everyone
> can send tickets and see the current svn.
> Again thanks to everyone that tested. I hope that the plugin gets better
> with every line of code written in order to help everyone solve their
> problems.
>
> Some curiosities:
> this version also included tile appending to an existing table. It's very
> unstable with pyramids but I've tested with non overviewed raster data.
> I've also tested the creation of sql-made raster tables. Seems to work
> fine. I haven't tested on views yet, but there should be no reason to crash.
>
> Soon i'm going to implement a change to not list the overview as raster
> tables. They are, indeed, but they seem to not carry much information. I
> have to test it again. Does anyone have any point in favor of listing the
> overviews?
>
> Best regards,
>
> --
> Mauricio de Paulo
> Engenheiro Cartografo
> MapeandoOBrasil 
>
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] RE: ERROR When trying to add postgis raster

2011-08-22 Thread Andreas Forø Tollefsen
Uninstalled all QGIS and plugins and reinstalled using the OSGeo4W
installer.

Same problem.
Seems like plugins go in the home directory, while the program is in a
different folder.

New error:

An error has occured while executing Python code:

Traceback (most recent call last):
  File "C:/Users/andreas/.qgis/python/plugins\wktraster\wktRasterPlugin.py",
line 83, in callAddLayer
from DlgAddRasterLayer import DlgAddRasterLayer
  File "C:/OSGeo4W/apps/qgis/./python\qgis\utils.py", line 283, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
  File
"C:/Users/andreas/.qgis/python/plugins\wktraster\DlgAddRasterLayer.py", line
28, in
import conn
  File "C:/OSGeo4W/apps/qgis/./python\qgis\utils.py", line 283, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:/Users/andreas/.qgis/python/plugins\wktraster\conn.py", line 78
except DbError as e:
^
SyntaxError: invalid syntax

Python version:
2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit (Intel)]


QGIS version:
1.7.0-Wroclaw Wroclaw, 63ecdd7

Python path: ['C:/OSGeo4W/apps/qgis/./python',
'C:/Users/andreas/.qgis/python', 'C:/Users/andreas/.qgis/python/plugins',
'C:/OSGeo4W/apps/qgis/./python/plugins', 'C:\\Program Files
(x86)\\ArcGIS\\bin', 'C:\\Program Files (x86)\\PostgreSQL\\8.4\\bin',
'C:\\Windows\\system32\\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',
'C:\\OSGeo4W\\apps\\qgis\\python\\plugins\\fTools\\tools']
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] ERROR When trying to add postgis raster

2011-08-18 Thread Andreas Forø Tollefsen
Hi all.
I try to use the add postgis raster plugin, but experiences error when
trying to start the plugin.

After I updated my Postgis Raster plugin in QGIS 1.7, I no longer can import
PostGis Raster layers. It did work previously on 1.6, but after updating to
1.7 and updating the plugin, it no longer works.
I try to run the Database -> Postgis raster -> Add a postgis raster layer,
but the below error occurs.  Tried to uninstall and reinstall qgis without
success.

Any ideas on why this does not work? Something must have changed in the
latest plugin version that makes it crash on my computer.

Python error:
An error has occured while executing Python code:

Traceback (most recent call last):
File "C:/Users/andreas/.qgis/python/plugins\wktraster\wktRasterPlugin.py",
line 83, in callAddLayer
from DlgAddRasterLayer import DlgAddRasterLayer
File "C:/PROGRA~2/QUANTU~1/apps/qgis/./python\qgis\utils.py", line 283, in
_import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "C:/Users/andreas/.qgis/python/plugins\wktraster\DlgAddRasterLayer.py",
line 28, in
import conn
File "C:/PROGRA~2/QUANTU~1/apps/qgis/./python\qgis\utils.py", line 283, in
_import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "C:/Users/andreas/.qgis/python/plugins\wktraster\conn.py", line 78
except DbError as e:
^
SyntaxError: invalid syntax

Python version:
2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit (Intel)]


QGIS version:
1.7.0-Wroclaw Wroclaw, 63ecdd7

Python path: ['C:/PROGRA~2/QUANTU~1/apps/qgis/./python',
'C:/Users/andreas/.qgis/python', 'C:/Users/andreas/.qgis/python/plugins',
'C:/PROGRA~2/QUANTU~1/apps/qgis/./python/plugins', 'C:\\Program Files
(x86)\\ArcGIS\\bin', 'C:\\Program Files (x86)\\PostgreSQL\\8.4\\bin',
'C:\\Windows\\system32\\python25.zip',
'C:\\PROGRA~2\\QUANTU~1\\apps\\Python25\\DLLs',
'C:\\PROGRA~2\\QUANTU~1\\apps\\Python25\\lib',
'C:\\PROGRA~2\\QUANTU~1\\apps\\Python25\\lib\\plat-win',
'C:\\PROGRA~2\\QUANTU~1\\apps\\Python25\\lib\\lib-tk',
'C:\\PROGRA~2\\QUANTU~1\\apps\\qgis\\bin',
'C:\\PROGRA~2\\QUANTU~1\\apps\\Python25',
'C:\\PROGRA~2\\QUANTU~1\\apps\\Python25\\lib\\site-packages',
'C:\\PROGRA~2\\QUANTU~1\\apps\\Python25\\lib\\site-packages\\win32',
'C:\\PROGRA~2\\QUANTU~1\\apps\\Python25\\lib\\site-packages\\win32\\lib',
'C:\\PROGRA~2\\QUANTU~1\\apps\\Python25\\lib\\site-packages\\Pythonwin',
'C:\\PROGRA~2\\QUANTU~1\\apps\\Python25\\lib\\site-packages\\wx-2.8-msw-unicode',
'C:\\PROGRA~2\\QUANTU~1\\apps\\qgis\\python\\plugins\\fTools\\tools']
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] Problems loading postgis layers

2011-08-17 Thread Andreas Forø Tollefsen
Hi all.

I recently upgraded my QGIS to 1.7. Previously using QGIS 1.6.
Now i cant load postgis layers from the same server as i used previously.
The problem occurs when i select a layer in the postgis connection and try
to add this.

For instance when trying to add the cshapes dataset i get this error:

Unable to access the "public"."cshapes" relation.

The error message from the database was:

ERROR: Unknown geometry type: 65536 - Unknown

.

SQL: select * from "public"."cshapes" limit 1


Then i get a 'Invalid Layer' box which tells me that the cshapes layer is
invalid and cannot be added to QGIS.


This happens with all of the 400 tables i have stored on my PostGIS server.


Any ideas why this happens?


Thanks in advance.

Andreas
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user