Re: [Qgis-user] problems with print composer

2008-01-02 Thread Magnus Homann
Carlo van Rijswijk wrote:
> Hi,
> 
> Thanks for 9.1 and the Ubuntu repository. Everything just works fine, 
> but I have two things that i can't figure out:
> 1.) when exporting a map (to jpg, tif, bmp etc.) from the print 
> composer, the symbols (circles, triangles etc. - from the delimited text 
> file plugin) are of a very low resolution (blocked) while the vector and 
> raster layers display just fine. I tried 300 and 600 dpi.

Known problem. Try setting symbol scale to 0.1, and increase the size if 
the symbols.

Magnus Homann

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


[Qgis-user] problems with print composer

2008-01-02 Thread Carlo van Rijswijk
Hi,

Thanks for 9.1 and the Ubuntu repository. Everything just works fine, 
but I have two things that i can't figure out:
1.) when exporting a map (to jpg, tif, bmp etc.) from the print 
composer, the symbols (circles, triangles etc. - from the delimited text 
file plugin) are of a very low resolution (blocked) while the vector and 
raster layers display just fine. I tried 300 and 600 dpi.
2.) I get a cluttered interface everytime I open the print composer, 
showing many previous maps, legends etc. which I have to delete first, 
sometimes the print composer crashes doing that. Running qgis from the 
terminal and uncluttering the print composer I get:
QgsComposerScalebar::boundingRect
pure virtual method called
terminate called without an active exception
Aborted (core dumped).

I use Qgis 9.1. on KUbuntu Gutsy Gibbon - 2.20.1 (Ubuntu 2007-10-19) 
installed from the repository with apt-get.
kernel: 2.6.22-14-generic (#1 SMP Tue Dec 18 08:02:57 UTC 2007)
xorg: 1.3.0 (29 September 2007)
gcc: 4.1.3 (i486-linux-gnu)

Any help is much appriciated.

Grtz, Carlo
___
Qgis-user mailing list
Qgis-user@lists.qgis.org
http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user


Re: [Qgis-user] projects with postgresview problems in 0.9.1

2008-01-02 Thread John C. Tull
On Jan 2, 2008, at 11:38 AM, Richard Duivenvoorde wrote:

> Hi List,
> (using windows 0.9.0 and 0.9.1)
> when I try to open project files which have layers containing data  
> from
> postgres, opening fails with an error:
> Unable to open one or more project layers. Try to find missing layers?
> Hitting the OK button doesn't do anything after that.
>
> The problem started with a project file I had build with 0.9.0 which
> held something about 5 postgislayers (data from views(!)).
> I'm not able to open this 0.9.0 project file in 0.9.1
>
> After failing I tried to fix this projectfile by adding the
> postgres(view)layers to the projectfile, but after saving it it still
> didn't work.
>
> Then I tried to rebuild the whole project in 0.9.1, but this didn't  
> work
> either.
>
> So my questions:
> - can there be something wrong with the way qgis opens postgis-view- 
> layers?
> - can there be something wrong with my postgres connections?
> - have there been changes in this part of the codebase?
> - are other people experiencing this problem?

I had a similar problem a few weeks back. If you look at your error  
log when the file is being opened (not sure where that resides in a  
windows world), you may get some hints. For me, the postgres parsing  
changed the way quotes were being used in the calls to my postgis  
table. If forget the details at this point, so I'm sorry for the lack  
of help. I basically created a new project with a postgis table in it,  
compared it to an old project file, then edited all the references to  
postgis tables to correct the problem. It was a huge pain, but the  
help of a good text editor and some grep search and replace patterns  
took care of it in relatively short order.

I was too busy to report anything to the list when it happened, but I  
assumed there was a code change that led to this problem.

>
>
> By the way, opening the newly build 0.9.1 project file with 0.9.0  
> fails
> also giving the following error:
>
> Unable to access the "" relation.
> The error message from the database was:
> ERROR:  zero-length delimited identifier at or near 
> LINE 1: select * from "" limit 1
>   ^
> .
> SQL: select * from "" limit 1
>
> some parts of a new 0.9.1 projectfile (failing both in 0.9.1 and 0.9.0
> after closing):
>
>  geometry="Polygon" type="vector" >
>
> < 
> id 
> > 
> _public___vw_gem_noordholland___wkb_geometry__sql_GeometryType__wkb_geometry___IN___POLYGON___MULTIPOLYGON__20080102201737734
>  
> 
> dbname=gemeentenwerk host=localhost port=5432
> user=postgres password='foo'  
> table="vw_gem_noordholland" (wkb_geometry)
> sql=GeometryType("wkb_geometry") IN ('POLYGON','MULTIPOLYGON') datasource>
> vw_gem_noordholland" (wkb_geometry)
> sql=GeometryType("wkb_geometry
> 
> 
> +proj=longlat +ellps=WGS84 +datum=WGS84
> +no_defs
> 2585
> 4326
> 4326
> WGS 84
> longlat
> WGS84
> true
> 
> 
> 255
> postgres
> System
> ogc_fid
> 0
> 
> 
> 
> 
> 
> 
> hard:circle
> 6
> 
> SolidLine
> 1
> 
> SolidPattern
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>  units="pt" />
> 
> 
>  green="255" />
> 
> 
> 
> 
>
>
> The same layer in projectfile working in 0.9.0 but failing in 0.9.1:
>
> scaleBasedVisibilityFlag="0"
> geometry="Polygon" type="vector" >
>
> < 
> id 
> > 
> _public___vw_gem_noordholland___wkb_geometry__sql_20071130154937921 id>
> host=localhost dbname=gemeentenwerk port=5432
> user=postgres password='foo' table=public.vw_gem_noordholland
> (wkb_geometry) sql=
> vw_gem_noordholland
> 
> 
> +proj=longlat +ellps=WGS84 +datum=WGS84
> +no_defs
> 2585
> 4326
> 4326
> WGS 84
> longlat
> WGS84
> true
> 
> 
> 255
> postgres
> System
> ogc_fid
> 0
> 
> 
> 
> 
> 
> 
> hard:circle
> 6

[Qgis-user] projects with postgresview problems in 0.9.1

2008-01-02 Thread Richard Duivenvoorde
Hi List,
(using windows 0.9.0 and 0.9.1)
when I try to open project files which have layers containing data from 
postgres, opening fails with an error:
Unable to open one or more project layers. Try to find missing layers? 
Hitting the OK button doesn't do anything after that.

The problem started with a project file I had build with 0.9.0 which 
held something about 5 postgislayers (data from views(!)).
I'm not able to open this 0.9.0 project file in 0.9.1

After failing I tried to fix this projectfile by adding the 
postgres(view)layers to the projectfile, but after saving it it still 
didn't work.

Then I tried to rebuild the whole project in 0.9.1, but this didn't work 
either.

So my questions:
- can there be something wrong with the way qgis opens postgis-view-layers?
- can there be something wrong with my postgres connections?
- have there been changes in this part of the codebase?
- are other people experiencing this problem?

By the way, opening the newly build 0.9.1 project file with 0.9.0 fails 
also giving the following error:

Unable to access the "" relation.
The error message from the database was:
ERROR:  zero-length delimited identifier at or near 
LINE 1: select * from "" limit 1
   ^
.
SQL: select * from "" limit 1

some parts of a new 0.9.1 projectfile (failing both in 0.9.1 and 0.9.0 
after closing):


 
_public___vw_gem_noordholland___wkb_geometry__sql_GeometryType__wkb_geometry___IN___POLYGON___MULTIPOLYGON__20080102201737734
 dbname=gemeentenwerk host=localhost port=5432 
user=postgres password='foo' table="vw_gem_noordholland" (wkb_geometry) 
sql=GeometryType("wkb_geometry") IN ('POLYGON','MULTIPOLYGON')
 vw_gem_noordholland" (wkb_geometry) 
sql=GeometryType("wkb_geometry
 
 
 +proj=longlat +ellps=WGS84 +datum=WGS84 
+no_defs
 2585
 4326
 4326
 WGS 84
 longlat
 WGS84
 true
 
 
 255
 postgres
 System
 ogc_fid
 0
 
 
 
 
 
 
 hard:circle
 6
 
 SolidLine
 1
 
 SolidPattern
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


The same layer in projectfile working in 0.9.0 but failing in 0.9.1:


 
_public___vw_gem_noordholland___wkb_geometry__sql_20071130154937921
 host=localhost dbname=gemeentenwerk port=5432 
user=postgres password='foo' table=public.vw_gem_noordholland 
(wkb_geometry) sql=
 vw_gem_noordholland
 
 
 +proj=longlat +ellps=WGS84 +datum=WGS84 
+no_defs
 2585
 4326
 4326
 WGS 84
 longlat
 WGS84
 true
 
 
 255
 postgres
 System
 ogc_fid
 0
 
 
 
 
 
 
 hard:circle
 6
 
 SolidLine
 1
 
 SolidPattern
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


If needed I can post my project files here.


Regards,

Richard Duivenvoorde

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


Re: [Qgis-user] QGIS 0.9.1 does not start

2008-01-02 Thread Otto Dassau
Hi,

On Wed, 02 Jan 2008 19:52:55 +0200
Rainer M Krug <[EMAIL PROTECTED]> wrote:

> Hi
> 
> I updated today to the new version of qgis (0.9.1-2.2) from the OpenSuse 
> repository 
> (http://download.opensuse.org/repositories/Application:/Geo/openSUSE_10.2/) 
>   and now qgis gives me the following error message when starting:
> 
> qgis: /usr/local/lib/libstdc++.so.6: version `CXXABI_1.3.1' not found 
> (required by qgis)
> qgis: /usr/local/lib/libstdc++.so.6: version `CXXABI_1.3.1' not found 
> (required by /usr/lib/libqgis_core.so)
> 
> The details about my installed qgis rpms are:
> 
> [EMAIL PROTECTED]:~> rpm -qa | grep qgis
> qgis-plugin-grass-0.9.1-2.2
> qgis-devel-0.9.1-2.2
> qgis-0.9.1-2.2
> 
> I am running SuSE 10.2. I don't know if this is related, 

yes, I guess it is the problem ... I just started QGIS on 10.2 without a
problem.

> but I installed 
> a gdal 1.5 version I compiled myself to be able to read MrSid files. To 
> do that, I also compilesds and installed gcc and c++ 3.6.4.

you need libstdc++.so.6 from the gcc version 4.1.3 (probably > 4), which
normally is installed on opensuse 10.2 and was used to compile QGIS as well. 

Regards,
 Otto

> All dependances are OK (if I believe smart - which I do).
> 
> Any ideas welcome,
> 
> Rainer

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


[Qgis-user] QGIS 0.9.1 does not start

2008-01-02 Thread Rainer M Krug
Hi

I updated today to the new version of qgis (0.9.1-2.2) from the OpenSuse 
repository 
(http://download.opensuse.org/repositories/Application:/Geo/openSUSE_10.2/) 
  and now qgis gives me the following error message when starting:

qgis: /usr/local/lib/libstdc++.so.6: version `CXXABI_1.3.1' not found 
(required by qgis)
qgis: /usr/local/lib/libstdc++.so.6: version `CXXABI_1.3.1' not found 
(required by /usr/lib/libqgis_core.so)

The details about my installed qgis rpms are:

[EMAIL PROTECTED]:~> rpm -qa | grep qgis
qgis-plugin-grass-0.9.1-2.2
qgis-devel-0.9.1-2.2
qgis-0.9.1-2.2

I am running SuSE 10.2. I don't know if this is related, but I installed 
a gdal 1.5 version I compiled myself to be able to read MrSid files. To 
do that, I also compilesds and installed gcc and c++ 3.6.4.

All dependances are OK (if I believe smart - which I do).

Any ideas welcome,

Rainer
___
Qgis-user mailing list
Qgis-user@lists.qgis.org
http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user


Re: [Qgis-user] print composer

2008-01-02 Thread Don
The problem I am having now is that not all the layers are displayed in
the map composer.  In map viewer I have a raster layer and a postgis
layer.  When I add that map in the print/map composer screen the postgis
layer is no longer visible.  I even tried changing the order of the
layers in the map view and legend window and that did not work.


Alessandro Sarretta wrote:
> Hi,
> I had similar problem wen I run for the first time QGIS 0.9.1 (in
> Windows).
> In the map composer I clicked the zoom for the entire area and all
> went ok...
> Hope this help...
> Ale
>
> Don ha scritto:
>> Does anyone have nay idea on why my print composer window work area is
>> blank with no controls to the right? 
>
>

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


Re: [Qgis-user] Announcing the release of QGIS 0.9.1

2008-01-02 Thread Luca Casagrande
Hi Tim and thanks for the great work!

Tim Sutton ha scritto:
> Ubuntu (gutsy) users can now enjoy automatic updates using the Gutsy
> QGIS package repository.
>
>   
I have installed Ubuntu package with no problem, but I had to create by 
hand the folder ~/.qgis/python/plugins/ or I got error about permission 
while installing a new plugin.

Bye

Luca
___
Qgis-user mailing list
Qgis-user@lists.qgis.org
http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user


[Qgis-user] Announcing the release of QGIS 0.9.1

2008-01-02 Thread Tim Sutton
Hi All

QGIS 0.9.1 was tagged in the code base a little while ago and new
packages have been brewed:

http://gisalaska.com/qgis/downloads.rhtml

Ubuntu (gutsy) users can now enjoy automatic updates using the Gutsy
QGIS package repository.

This is primarily a bug fix release and includes the following key changes:

 - 70 Bugs closed
 - Added locale tab to options dialog so that locale can be overridden
 - Cleanups and additions to GRASS tools
 - Python Plugin Installer for installing plugins from the PyQGIS repository
 - Documentation updates
 - Improvements for building under MSVC

Many thanks to all those who have contributed in testing, reporting
bugs, coding, packaging etc. Best regards for the new year from the
QGIS team!

-- 
Tim Sutton
QGIS Project Steering Committee Member - Release  Manager
Visit http://qgis.org for a great open source GIS
openModeller Desktop Developer
Visit http://openModeller.sf.net for a great open source ecological
niche modelling tool
Home Page: http://tim.linfiniti.com
Skype: timlinux
Irc: timlinux on #qgis at freenode.net
___
Qgis-user mailing list
Qgis-user@lists.qgis.org
http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user


Re: [Qgis-user] print composer

2008-01-02 Thread Alessandro Sarretta
Hi,
I had similar problem wen I run for the first time QGIS 0.9.1 (in Windows).
In the map composer I clicked the zoom for the entire area and all went 
ok...
Hope this help...
Ale

Don ha scritto:
> Does anyone have nay idea on why my print composer window work area is
> blank with no controls to the right? 

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


[Qgis-user] nyway,

2008-01-02 Thread Patrick Giraudoux
John C. Tull a écrit :
> On Jan 1, 2008, at 7:03 AM, Patrick Giraudoux wrote:
>
>> I am trying QGIS GPS tools and try to import GPS data from an GPS Etrex
>> (summit). Two COM port (1 and 2) and one USB are offered. Unfortunately,
>> my GPS works with the COM4 (using a series converter) -which was tested
>> with other softwares as R or dnrgarmin). Is there any way to add COM
>> ports to the GPIS tool ?
>>
>> Thanks in advance for any hint,
>>
>> Patrick
>
> What operating system are you using? On OS X, I have had to edit the 
> device and manually put in the appropriate command for downloading 
> files. E.g., '%babel -w -i garmin -o gpx -f /dev/cu.KeySerial1 -F 
> %out' is in "waypoint download" field, etc. I managed to get the 
> commands playing around with gpsbabel. You can also use gpsbabel and 
> create a gpx file, then import that with the GPS Tool.
>
> Not sure if that helps at all.
>
> John
>
>
I am on Windows XP. Actually, I have already used GPS babel calling it 
from R (can read easer in Windows or Linux environment) and this 
pinciple has been used in the library 'maptools'. But this is not an 
easy way for people who are not used with GPS babel commands. This is 
why I was wondering if it would be a difficult issue for QGIS 
developpers to extend the number of COM port option to 4 or even 6.

Anyway, thanks for the hint,

Patrick


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