Re: [Qgis-user] Is there a limit of loaded files in QGis 1.8 ?

2012-07-19 Thread Germán Carrillo
Hi,

indeed, it is an operating system (OS) restriction. In my GNU/Linux the
limit is 1024 by default, but you are able to change it. You would need to
search how to change it on your OS. See [1].

Regards,

Germán
---
[1] http://hub.qgis.org/issues/4013

2012/7/19 Juan M. Bernales jm_berna...@hotmail.com

  Do you really need that bunch of files in one project?
 I am a cartographer, geologist and i work in minning too, and i deal with
 rasters (DEM's, LANDSAT IMAGES, EPIPOLAR, SCAN'S, ETC), vector (poligons,
 lines, points), DXF'S files and other, GPS files (*.gpx), wms
 services, databases, etc etc, and i have never load that many files in my
 projects.

 *SALUDOS*
 *JUAN M. BERNALES*


  From: lorenzo.more...@enea.it
  Date: Thu, 19 Jul 2012 01:33:21 +0200
  To: qgis-user@lists.osgeo.org
  Subject: [Qgis-user] Is there a limit of loaded files in QGis 1.8 ?

 
  Hi all
 
  I have two big projects with many files, shape, geotiff and dxf files.
 
  In one project after loading the file number 64 it is impossible to load
 other files: I have always the error: This file is not recognized. I have
 to delete some files and I can load other files.
 
  In another big project i have several hundreds small files. After the
 number 220 I have the error. I have to delete some files and I can load
 other files until the limit.
 
 
  This is a big problem because there are projects with many files and I
 don't know the limit of QGis.
  It is a memory limit, I think.
 
  Is it possible to fix this problem?
 
  Thank in advance
  Lorenzo
 
  ___
  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


-- 
---
   |\__
(:__)(
   |/

Soluciones Geoinformáticas Libres
http://geotux.tuxfamily.org/
http://twitter.com/GeoTux2
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Problem with add postgis layers in qgis 1.80

2012-07-19 Thread Giovanni Manghi
On Thu, 2012-07-19 at 07:14 +0200, siegfried.bl...@lazbw.bwl.de wrote:
 Hallo
 
 ‚add postgis layers“ is very, very slowly in qgis 1.80 when I have
 many tables. It needs several (up to 10) minutes until all tables
 where “detecting” every time when I want add a postgis layer.
 
 Thanks for tricky tips to make it faster!


Hi, 

I have DB with 1+ tables (no views for now) in it and many different
schemas, and the table list shows in a just 2/3 seconds.

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


Re: [Qgis-user] Is there a limit of loaded files in QGis 1.8 ?

2012-07-19 Thread Giovanni Manghi
On Thu, 2012-07-19 at 09:15 +0200, Germán Carrillo wrote:
 Hi, 
 
 indeed, it is an operating system (OS) restriction. In my GNU/Linux
 the limit is 1024 by default, but you are able to change it. You would
 need to search how to change it on your OS. See [1]. 

yes, it is a OS limit and remember also that when opening a shapefile
you are opening at least 3 files...

cheers

-- Giovanni --

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


Re: [Qgis-user] Problem with add postgis layers in qgis 1.80

2012-07-19 Thread Andre Joost

Am 19.07.12 10:09, schrieb Giovanni Manghi:

On Thu, 2012-07-19 at 07:14 +0200, siegfried.bl...@lazbw.bwl.de wrote:

Hallo

‚add postgis layers“ is very, very slowly in qgis 1.80 when I have
many tables. It needs several (up to 10) minutes until all tables
where “detecting” every time when I want add a postgis layer.

Thanks for tricky tips to make it faster!



Hi,

I have DB with 1+ tables (no views for now) in it and many different
schemas, and the table list shows in a just 2/3 seconds.



Not quiet the same for me:
I use a postgis database with openstreetmap data of my region. The table 
for (multi-)polygons takes a lot of time to detect the type of elements.

Only one table, but lots of elements in there (one for every building...)

Greetings,
Andre Joost

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


Re: [Qgis-user] Is it possibel to set composer grid label units to km instead of meters?

2012-07-19 Thread Giovanni Manghi
Hi,

On Thu, 2012-07-19 at 08:32 +0800, Ramon Andiñach wrote:
 Absolutely!
 
 Just underneath where you told the Print Composer to use 1000 for the Segment 
 size (map units) is a box labeled Map units per bar unit. Have a play with 
 that.
 
 A bit further down is a box for Unit label which is also useful.

I guess that the question was about the grid (specifically annotations)
of the map object. If so then it doesn't seems to me that there is a an
option like Map units per bar unit as in the scalebar.

cheers

-- Giovanni --

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


Re: [Qgis-user] Problem with add postgis layers in qgis 1.80

2012-07-19 Thread Giovanni Manghi

 Not quiet the same for me:
 I use a postgis database with openstreetmap data of my region. The table 
 for (multi-)polygons takes a lot of time to detect the type of elements.
 Only one table, but lots of elements in there (one for every building...)

In that DB I have also all the layers (streets, buildings, etc.) from
OSM and no such problem... not sure where the issue can be.

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


Re: [Qgis-user] Is there a limit of loaded files in QGis 1.8 ?

2012-07-19 Thread Andre Joost

Am 19.07.12 10:09, schrieb Giovanni Manghi:

On Thu, 2012-07-19 at 09:15 +0200, Germán Carrillo wrote:

Hi,

indeed, it is an operating system (OS) restriction. In my GNU/Linux
the limit is 1024 by default, but you are able to change it. You would
need to search how to change it on your OS. See [1].


yes, it is a OS limit and remember also that when opening a shapefile
you are opening at least 3 files...




For vector files, a sqlite or postgis database should be worth considering.

Could it be helpful to use VRT for Raster files?

Greetings,
André Joost

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


Re: [Qgis-user] Problem with add postgis layers in qgis 1.80

2012-07-19 Thread Jürgen E . Fischer
Hi Siegfried,

On Thu, 19. Jul 2012 at 07:14:31 +0200, siegfried.bl...@lazbw.bwl.de wrote:
'add postgis layers is very, very slowly in qgis 1.80 when I have many
tables. It needs several (up to 10) minutes until all tables where
detecting every time when I want add a postgis layer.

Check if your tables are in geometry_columns.  If not QGIS needs to determine
which geometry types are in table.  You can also use the use estimated
metadata in the connection settings to let qgis check only a few rows in the
tables which are not listed geometry_columns instead of all rows.

Jürgen

-- 
Jürgen E. Fischer norBIT GmbH   Tel. +49-4931-918175-31
Dipl.-Inf. (FH)   Rheinstraße 13Fax. +49-4931-918175-50
Software Engineer D-26506 Norden   http://www.norbit.de
committ(ed|ing) to Quantum GIS IRC: jef on FreeNode 


-- 
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502

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


Re: [Qgis-user] Problem with add postgis layers in qgis 1.80

2012-07-19 Thread Bernhard Ströbl



Am 19.07.2012 10:55, schrieb Jürgen E. Fischer:

Hi Siegfried,

On Thu, 19. Jul 2012 at 07:14:31 +0200, siegfried.bl...@lazbw.bwl.de wrote:

'add postgis layers is very, very slowly in qgis 1.80 when I have many
tables. It needs several (up to 10) minutes until all tables where
detecting every time when I want add a postgis layer.


Check if your tables are in geometry_columns.  If not QGIS needs to determine
which geometry types are in table.  You can also use the use estimated
metadata in the connection settings to let qgis check only a few rows in the
tables which are not listed geometry_columns instead of all rows.

Jürgen



sorry for the fuzz, I had the metadata tickbox checke in my 1.7 install
it is considerably faster with that setting in 1.8, too

Bernhard


__ Information from ESET Mail Security, version of virus signature 
database 7311 (20120719) __

The message was checked by ESET Mail Security.
http://www.eset.com


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


Re: [Qgis-user] Problem with add postgis layers in qgis 1.80

2012-07-19 Thread Bernhard Ströbl
but the add button stays inactive until the type for all layers has 
been detected (which is faster when using the estimated metadata but 
still takes some 10 seconds in my case)


Bernhard

Am 19.07.2012 11:05, schrieb Bernhard Ströbl:



Am 19.07.2012 10:55, schrieb Jürgen E. Fischer:

Hi Siegfried,

On Thu, 19. Jul 2012 at 07:14:31 +0200, siegfried.bl...@lazbw.bwl.de
wrote:

'add postgis layers is very, very slowly in qgis 1.80 when I have many
tables. It needs several (up to 10) minutes until all tables where
detecting every time when I want add a postgis layer.


Check if your tables are in geometry_columns. If not QGIS needs to
determine
which geometry types are in table. You can also use the use estimated
metadata in the connection settings to let qgis check only a few rows
in the
tables which are not listed geometry_columns instead of all rows.

Jürgen



sorry for the fuzz, I had the metadata tickbox checke in my 1.7 install
it is considerably faster with that setting in 1.8, too

Bernhard


__ Information from ESET Mail Security, version of virus
signature database 7311 (20120719) __

The message was checked by ESET Mail Security.
http://www.eset.com


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


__ Information from ESET Mail Security, version of virus
signature database 7311 (20120719) __

The message was checked by ESET Mail Security.
http://www.eset.com




--
Bernhard Ströbl
Anwendungsbetreuer GIS

Kommunale Immobilien Jena
Am Anger 26
07743 Jena

Tel.: 03641 49- 5190
E-Mail: bernhard.stro...@jena.de
Internet: www.kij.de



Kommunale Immobilien Jena
Eigenbetrieb der Stadt Jena
Werkleiter: Thomas Dirkes


__ Information from ESET Mail Security, version of virus signature 
database 7311 (20120719) __

The message was checked by ESET Mail Security.
http://www.eset.com


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


Re: [Qgis-user] Problem with add postgis layers in qgis 1.80

2012-07-19 Thread Jürgen E . Fischer
Hi Bernhard,

On Thu, 19. Jul 2012 at 11:01:24 +0200, Bernhard Ströbl wrote:
 Therefore QGIS 1.7.4 loads the view with an sql-query e.g.  
 upper(geometrytype(the_geom)) IN ('POLYGON','MULTIPOLYGON') whereas  
 1.8 does not. So 1.7 only checked 100 features and detected their  
 geometry type and made sure that only fitting types are loaded by  
 setting an appropriate query.

You checked use estimated metadata in 1.7, but apparently not in 1.8.

 Also QGIS 1.7 offered the possibility to already open a schema while  
 still detecting. The type said waiting for the views in question but  
 you could nevertheless load a layer where the geometry type was already  
 detected (e.g. because it is registered in geometry_columns).

The detection is now done in a thread, so you can cancel the detection.


Jürgen

-- 
Jürgen E. Fischer norBIT GmbH   Tel. +49-4931-918175-31
Dipl.-Inf. (FH)   Rheinstraße 13Fax. +49-4931-918175-50
Software Engineer D-26506 Norden   http://www.norbit.de
committ(ed|ing) to Quantum GIS IRC: jef on FreeNode 


-- 
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502

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


Re: [Qgis-user] Problem with add postgis layers in qgis 1.80

2012-07-19 Thread Bernhard Ströbl

Hi Jürgen,

Am 19.07.2012 11:15, schrieb Jürgen E. Fischer:

Hi Bernhard,

On Thu, 19. Jul 2012 at 11:01:24 +0200, Bernhard Ströbl wrote:

Therefore QGIS 1.7.4 loads the view with an sql-query e.g.
upper(geometrytype(the_geom)) IN ('POLYGON','MULTIPOLYGON') whereas
1.8 does not. So 1.7 only checked 100 features and detected their
geometry type and made sure that only fitting types are loaded by
setting an appropriate query.


You checked use estimated metadata in 1.7, but apparently not in 1.8.


I already realized that (see the post before my last post)



Also QGIS 1.7 offered the possibility to already open a schema while
still detecting. The type said waiting for the views in question but
you could nevertheless load a layer where the geometry type was already
detected (e.g. because it is registered in geometry_columns).


The detection is now done in a thread, so you can cancel the detection.


also as a user - how?

Bernhard


__ Information from ESET Mail Security, version of virus signature 
database 7311 (20120719) __

The message was checked by ESET Mail Security.
http://www.eset.com


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


Re: [Qgis-user] Is there a limit of loaded files in QGis 1.8 ?

2012-07-19 Thread maning sambale
would loading the shapefile as zip help?
On Jul 19, 2012 4:10 PM, Giovanni Manghi giovanni.man...@faunalia.pt
wrote:

 On Thu, 2012-07-19 at 09:15 +0200, Germán Carrillo wrote:
  Hi,
 
  indeed, it is an operating system (OS) restriction. In my GNU/Linux
  the limit is 1024 by default, but you are able to change it. You would
  need to search how to change it on your OS. See [1].

 yes, it is a OS limit and remember also that when opening a shapefile
 you are opening at least 3 files...

 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] Is there a limit of loaded files in QGis 1.8 ?

2012-07-19 Thread Germán Carrillo
For those who want to try things out, in a Unix shell type:

lsof -p 10371

where 10371 is the QGIS process id (so, adjust it).

Each time you open a file, enter the same command and you'll see how many
files QGIS is opening.

Regards,

Germán

2012/7/19 maning sambale emmanuel.samb...@gmail.com

 would loading the shapefile as zip help?
 On Jul 19, 2012 4:10 PM, Giovanni Manghi giovanni.man...@faunalia.pt
 wrote:

 On Thu, 2012-07-19 at 09:15 +0200, Germán Carrillo wrote:
  Hi,
 
  indeed, it is an operating system (OS) restriction. In my GNU/Linux
  the limit is 1024 by default, but you are able to change it. You would
  need to search how to change it on your OS. See [1].

 yes, it is a OS limit and remember also that when opening a shapefile
 you are opening at least 3 files...

 cheers

 -- Giovanni --

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




-- 
---
   |\__
(:__)(
   |/

Soluciones Geoinformáticas Libres
http://geotux.tuxfamily.org/
http://twitter.com/GeoTux2
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Is there a limit of loaded files in QGis 1.8 ?

2012-07-19 Thread Andreas Neumann

Hi Lorenzo,

One thing that is worth a try is to use VRT files. See 
http://www.gdal.org/ogr/drv_vrt.html


With a vrt file you can combine several files that have the same table 
structure to one virtual file.


Maybe it is worth a try? I don't know if the same OS limitations apply 
then or not.


The other option, as others have noted - is to use a database instead - 
which also opens other possibilities besides QGIS.


Hope this helps,
Andreas

On Thu, 19 Jul 2012 01:33:21 +0200, Lorenzo Moretti wrote:

Hi all

I have two big projects with many files, shape, geotiff and dxf 
files.


In one project after loading the file number 64 it is impossible to
load other files: I have always the error: This file is not
recognized. I have to delete some files and I can load other files.

In another big project i have several hundreds small files. After the
number 220 I have the error. I have to delete some files and I can
load other files until the limit.


This is a big problem because there are projects with many files and
I don't know the limit of QGis.
It is a memory limit, I think.

Is it possible to fix this problem?

Thank in advance
Lorenzo

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


--
--
Andreas Neumann
Böschacherstrasse 10A
8624 Grüt (Gossau ZH)
Switzerland
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] Happy 10th birthday QGIS.

2012-07-19 Thread maning sambale
In celebration of QGIS' 10th birthday, I did a workshop in AGSE 2012
FOSS4G track today.  Lots of new converts today.

http://spatialgalaxy.net/2012/07/18/qgis-is-ten-years-old/

-- 
cheers,
maning
--
Freedom is still the most radical idea of all -N.Branden
wiki: http://esambale.wikispaces.com/
blog: http://epsg4253.wordpress.com/
--
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] AUTO : Daniel Gnerre est absent(e) (retour 06.08.2012)

2012-07-19 Thread Daniel . Gnerre

Je suis absent(e) du bureau jusqu'au 06.08.2012

Bonjour,

Je suis actuellement absent et serai de retour le lundi 6 août. Je
traiterai votre message à mon retour. Votre message n'a pas été dévié.

Daniel Gnerre



Remarque : ceci est une réponse automatique à votre message  Qgis-user
Digest, Vol 77, Issue 66 envoyé le 19.07.2012 15:01:41.

C'est la seule notification que vous recevrez pendant l'absence de cette
personne.

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


[Qgis-user] Greek signs export Attribute table length

2012-07-19 Thread stockinu

Hi *,

I've got two problems - your help would be very much appreciated.
1. Exporting attribute tables as .csv- or .kml-files seems to destruct  
Greek signs (even in UTF-8) though they're perfectly visible in QGIS  
itself. Any suggestions?
2. I can't find a way to extend the length of the string-fields of the  
attribute table over 254 signs. Any ideas here?


Thanks a lot,
Ulrich

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


Re: [Qgis-user] Greek signs export Attribute table length

2012-07-19 Thread Alexander Bruy
Hi, Ulrich

2012/7/19  stock...@uni-koeln.de:
 2. I can't find a way to extend the length of the string-fields of the
 attribute table over 254 signs. Any ideas here?

I suppose you use shapefile. In this case, you can't have attributes
longer than 255 bytes, this limitation of DBF format (used to store
attributes in shapefiles). If you need longer attributes use another
format, for example PostGIS or SpatiaLite

Hope this helps
-- 
Alexander Bruy
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Greek signs export Attribute table length

2012-07-19 Thread Micha Silver

  
  
On 07/19/2012 06:28 PM, stock...@uni-koeln.de wrote:
Hi *,
  
  
  I've got two problems - your help would be very much appreciated.
  
  1. Exporting attribute tables as .csv- or .kml-files seems to
  destruct Greek signs (even in UTF-8) though they're perfectly
  visible in QGIS itself. Any suggestions?
  


I wonder if this [1] bug is also your problem. Setting an
environment variable 
SHAPE_ENCODING=UTF-8

seems to correct the situation, but only for UTF-8 encoded attribute
values. 

[1] http://hub.qgis.org/issues/5255
 
2. I can't find a way to extend the length of the
  string-fields of the attribute table over 254 signs. Any ideas
  here?
  
  
  Thanks a lot,
  
  Ulrich
  
  
  ___
  
  Qgis-user mailing list
  
  Qgis-user@lists.osgeo.org
  
  http://lists.osgeo.org/mailman/listinfo/qgis-user
  
  
  This mail was received via Mail-SeCure System.
  
  
  



-- 
Micha Silver
GIS Consultant, Arava Development Co.
http://www.surfaces.co.il
  

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


[Qgis-user] No Decorations Plug-in in QGIS 1.8?

2012-07-19 Thread Terry Morse
I just upgraded from version 1.7.4 to 1.8.0 and can't find the decorations 
plug-in, either through Manage or Fetch. Is there some new way to get north 
arrows, copyright symbols, and scale bars in Lisboa?

Thank you,
Terry Morse
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] No Decorations Plug-in in QGIS 1.8?

2012-07-19 Thread Etienne Tourigny
They are not plugins anymore but part of qgis core - you can find them
in View-Decorations

Etienne

On Thu, Jul 19, 2012 at 11:19 PM, Terry Morse tmo...@teleport.com wrote:
 I just upgraded from version 1.7.4 to 1.8.0 and can't find the decorations 
 plug-in, either through Manage or Fetch. Is there some new way to get 
 north arrows, copyright symbols, and scale bars in Lisboa?

 Thank you,
 Terry Morse
 ___
 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