Re: [Qgis-user] multiple csv file import

2022-11-15 Per discussione Salvatore Mellino via Qgis-user
I found this on line :

import glob, os

# Define path to  directory of your csv files
path_to_csv = "C:/File Path/"

# Set current directory to path of csv files
os.chdir(path_to_csv)  
# Find each .csv file and load them as vector layers
for fname in glob.glob("*.csv"):  
uri ="file:///"+path_to_csv + 
fname+"encoding=%s=%s=%s=%s=%s" % ("UTF-8",",", 
"Long", "Lat","epsg:4326")
name=fname.replace('.csv', '')
lyr = QgsVectorLayer(uri, name, 'delimitedtext')
QgsProject.instance().addMapLayer(lyr)

but it doesn’t work. I have csv files with lat long and value separated by 
space and without header 

> Il giorno 15 nov 2022, alle ore 21:22, Hugh Kelley  ha 
> scritto:
> 
> 
> Awesome thanks very much. glad I asked, you learn something new every day.
> 
>> On Tue, Nov 15, 2022 at 3:19 PM David Strip  
>> wrote:
>> Starting with v2.1, ogr2ogr supports args X_POSSIBLE_NAMES, Y_POSSIBLE_NAMES 
>> which are strings with allowed wildcards (eg, Lon* ), or you can use 
>> field_1, field_2, etc to explicitly give the position of lat/lon.
>> It's explained on the driver page.  This StackExchange post shows csv to 
>> shapefile conversion and included Windows command line syntax for looping 
>> over files in a directory.
>> 
>>> On 11/15/2022 12:58 PM, Hugh Kelley wrote:
>>> David, this was my first thought when i saw this question as well.
>>> 
>>> however, I didn't look for very long but I haven't seen a way to tell 
>>> ogr2ogr to read columns in a csv as the lat/lon and write those as points 
>>> to the shapefile.  I generally write a csv to postgres as a non-spatial 
>>> table and then process the lat lon columns with postgis. 
>>> 
>>>  Are there arguments for ogr2ogr that can do this?
>> 
> 
> 
> -- 
> Hugh Kelley   
> 
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] multiple csv file import

2022-11-15 Per discussione Hugh Kelley via Qgis-user
Awesome thanks very much. glad I asked, you learn something new every day.

On Tue, Nov 15, 2022 at 3:19 PM David Strip 
wrote:

> Starting with v2.1, ogr2ogr supports args X_POSSIBLE_NAMES,
> Y_POSSIBLE_NAMES which are strings with allowed wildcards (eg, Lon* ), or
> you can use field_1, field_2, etc to explicitly give the position of
> lat/lon.
> It's explained on the driver page.
>   This StackExchange
> post shows csv to shapefile
> conversion and included Windows command line syntax for looping over files
> in a directory.
>
> On 11/15/2022 12:58 PM, Hugh Kelley wrote:
>
> David, this was my first thought when i saw this question as well.
>
> however, I didn't look for very long but I haven't seen a way to tell
> ogr2ogr to read columns in a csv as the lat/lon and write those as points
> to the shapefile.  I generally write a csv to postgres as a non-spatial
> table and then process the lat lon columns with postgis.
>
>  Are there arguments for ogr2ogr that can do this?
>
>
>

-- 
Hugh Kelley
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] multiple csv file import

2022-11-15 Per discussione David Strip via Qgis-user

  
  
Starting with v2.1, ogr2ogr supports
  args X_POSSIBLE_NAMES, Y_POSSIBLE_NAMES which are strings with
  allowed wildcards (eg, Lon* ), or you can use field_1, field_2,
  etc to explicitly give the position of lat/lon.
  It's explained on the driver page. 
  This StackExchange
  post shows csv to shapefile conversion and included Windows
  command line syntax for looping over files in a directory.
  
  On 11/15/2022 12:58 PM, Hugh Kelley wrote:


  
David, this was my first thought when i saw this question
  as well.


however, I didn't look for very long but I haven't seen a
  way to tell ogr2ogr to read columns in a csv as the lat/lon
  and write those as points to the shapefile.  I generally write
  a csv to postgres as a non-spatial table and then process the
  lat lon columns with postgis. 



 Are there arguments for ogr2ogr that can do this?
  


  

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] multiple csv file import

2022-11-15 Per discussione Even Rouault via Qgis-user
See the X_POSSIBLE_NAMES and Y_POSSIBLE_NAMES open options of the CSV 
driver mentioned at https://gdal.org/drivers/vector/csv.html#open-options


and the last example of https://gdal.org/drivers/vector/csv.html#examples

Even

Le 15/11/2022 à 20:58, Hugh Kelley via Qgis-user a écrit :

David, this was my first thought when i saw this question as well.

however, I didn't look for very long but I haven't seen a way to tell 
ogr2ogr to read columns in a csv as the lat/lon and write those as 
points to the shapefile.  I generally write a csv to postgres as a 
non-spatial table and then process the lat lon columns with postgis.


 Are there arguments for ogr2ogr that can do this?

On Tue, Nov 15, 2022 at 12:30 PM David Strip via Qgis-user 
 wrote:


You might consider ogr2ogr as an alternative approach. You can run
this from the command line allowing you to use shell scripts to
iterate through all your .csv files. There are also python
bindings for ogr2ogr if you're more comfortable with python than
shell scripts.

On 11/15/2022 9:59 AM, Salvatore Mellino via Qgis-user wrote:

Hello,

thank you for your answer. I have many csv (about 100), so I need
an automatic procedure. Maybe a python script...

Il 15/11/2022 16:55, Nicolas Cadieux ha scritto:

Hi,

Yes, you can do that very easily using QGIS.  Layer/add
layer/add delimited text layer.  Then just export the layer in
the format of your choice. You may need to convert the
coordinates in decimal degrees (ex 75 05 30.4 ->
75.0917800 ).

You can do this in Excel using =(A6)+(B6/60)+(C6/3600)+(D6/3600)
A= Deg, B= Min, C=Sec, D= Decimal Sec.  Then export to csv.

Nicolas


On 2022-11-15 10:08 a.m., Salvatore Mellino via Qgis-user wrote:

Hello,

I would like to know if it is possible to import multiple csv
files contained in a folder and to convert them in shapefiles
(1 for each csv). All csv files are structured as "lat long
value" separate by space and without any header line.

Thank you for your help! Regards,

Salvatore




___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user



--
Hugh Kelley


___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info:https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe:https://lists.osgeo.org/mailman/listinfo/qgis-user


--
http://www.spatialys.com
My software is free, but my time generally not.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] multiple csv file import

2022-11-15 Per discussione Mike Hyslop via Qgis-user
This has been covered in StackExchange:
https://gis.stackexchange.com/questions/276590/bulk-csv-to-shapefile-using-ogr2ogr

Determine the correct ogr2ogr syntax for processing one of your .csv files.
If on Windows, issue the command *ls *.csv > files.txt*This will 'list'
all of your csv files but will save them to a text file named *files.txt*.
You can then use Excel to clone your correct command syntax while changing
the input (drawn from files.txt) and output filenames (these can also be
taken from the input filenames). Save the excel sheet as a text file and
feed it to ogr2ogr - it will process each line sequentially until all files
have been converted.

Best,
Mike

On Tue, Nov 15, 2022 at 2:58 PM Hugh Kelley via Qgis-user <
qgis-user@lists.osgeo.org> wrote:

> David, this was my first thought when i saw this question as well.
>
> however, I didn't look for very long but I haven't seen a way to tell
> ogr2ogr to read columns in a csv as the lat/lon and write those as points
> to the shapefile.  I generally write a csv to postgres as a non-spatial
> table and then process the lat lon columns with postgis.
>
>  Are there arguments for ogr2ogr that can do this?
>
> On Tue, Nov 15, 2022 at 12:30 PM David Strip via Qgis-user <
> qgis-user@lists.osgeo.org> wrote:
>
>> You might consider ogr2ogr as an alternative approach. You can run this
>> from the command line allowing you to use shell scripts to iterate through
>> all your .csv files. There are also python bindings for ogr2ogr if you're
>> more comfortable with python than shell scripts.
>>
>> On 11/15/2022 9:59 AM, Salvatore Mellino via Qgis-user wrote:
>>
>> Hello,
>>
>> thank you for your answer. I have many csv (about 100), so I need an
>> automatic procedure. Maybe a python script...
>>
>> Il 15/11/2022 16:55, Nicolas Cadieux ha scritto:
>>
>> Hi,
>>
>> Yes, you can do that very easily using QGIS.  Layer/add layer/add
>> delimited text layer.  Then just export the layer in the format of your
>> choice. You may need to convert the coordinates in decimal degrees (ex 75
>> 05 30.4 -> 75.0917800 ).
>>
>> You can do this in Excel using =(A6)+(B6/60)+(C6/3600)+(D6/3600) A= Deg,
>> B= Min, C=Sec, D= Decimal Sec.  Then export to csv.
>>
>> Nicolas
>>
>>
>> On 2022-11-15 10:08 a.m., Salvatore Mellino via Qgis-user wrote:
>>
>> Hello,
>>
>> I would like to know if it is possible to import multiple csv files
>> contained in a folder and to convert them in shapefiles (1 for each csv).
>> All csv files are structured as "lat long value" separate by space and
>> without any header line.
>>
>> Thank you for your help! Regards,
>>
>> Salvatore
>>
>>
>>
>> ___
>> Qgis-user mailing list
>> Qgis-user@lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>
>
> --
> Hugh Kelley
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] multiple csv file import

2022-11-15 Per discussione Hugh Kelley via Qgis-user
David, this was my first thought when i saw this question as well.

however, I didn't look for very long but I haven't seen a way to tell
ogr2ogr to read columns in a csv as the lat/lon and write those as points
to the shapefile.  I generally write a csv to postgres as a non-spatial
table and then process the lat lon columns with postgis.

 Are there arguments for ogr2ogr that can do this?

On Tue, Nov 15, 2022 at 12:30 PM David Strip via Qgis-user <
qgis-user@lists.osgeo.org> wrote:

> You might consider ogr2ogr as an alternative approach. You can run this
> from the command line allowing you to use shell scripts to iterate through
> all your .csv files. There are also python bindings for ogr2ogr if you're
> more comfortable with python than shell scripts.
>
> On 11/15/2022 9:59 AM, Salvatore Mellino via Qgis-user wrote:
>
> Hello,
>
> thank you for your answer. I have many csv (about 100), so I need an
> automatic procedure. Maybe a python script...
>
> Il 15/11/2022 16:55, Nicolas Cadieux ha scritto:
>
> Hi,
>
> Yes, you can do that very easily using QGIS.  Layer/add layer/add
> delimited text layer.  Then just export the layer in the format of your
> choice. You may need to convert the coordinates in decimal degrees (ex 75
> 05 30.4 -> 75.0917800 ).
>
> You can do this in Excel using =(A6)+(B6/60)+(C6/3600)+(D6/3600) A= Deg,
> B= Min, C=Sec, D= Decimal Sec.  Then export to csv.
>
> Nicolas
>
>
> On 2022-11-15 10:08 a.m., Salvatore Mellino via Qgis-user wrote:
>
> Hello,
>
> I would like to know if it is possible to import multiple csv files
> contained in a folder and to convert them in shapefiles (1 for each csv).
> All csv files are structured as "lat long value" separate by space and
> without any header line.
>
> Thank you for your help! Regards,
>
> Salvatore
>
>
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>


-- 
Hugh Kelley
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


[QGIS-it-user] QGIS senza GIS

2022-11-15 Per discussione Amedeo Fadini
Ciao a tutti
finché lo ripeteva Stefano Campus ho sempre  ritenuto sempre una boiata
l'idea di usare QGIS per dati e reportistica senza componente spaziale.

Oggi però ho cambiato idea.

Ho rimesso le mani per l'ennesima volta in un gestionale in access che ho
fatto per stampare le mie fatture nel 2005... solo che poi l'ho venduto a
un (1) cliente ed è ancora là che gira.

Per cui mi chiedevo da dove bisognerebbe incominciare  per compilare QGIS
solo con le librerie necessarie  per gestire un paio di sorgenti dati
tabellari (postgres, squlte, csv..) e caricare form personalizzati in QT
per l'inserimento, layout di stampa e report.

Lo scopo è avere un sw leggero e portable senza dover installare tutto QGIS.

Qualche idea? Link?

amefad


@skampus   ti devo un paio di birre per la pubblica
ammenda
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


Re: [Qgis-user] multiple csv file import

2022-11-15 Per discussione Salvatore Mellino via Qgis-user
Hello, 
thank you for your suggestion. I am not comfortable with python, but I know 
that is possible to use a script in qgis. Is there any script capable to do my 
issue? 

> Il giorno 15 nov 2022, alle ore 18:29, David Strip 
>  ha scritto:
> 
>  You might consider ogr2ogr as an alternative approach. You can run this 
> from the command line allowing you to use shell scripts to iterate through 
> all your .csv files. There are also python bindings for ogr2ogr if you're 
> more comfortable with python than shell scripts.
> 
>> On 11/15/2022 9:59 AM, Salvatore Mellino via Qgis-user wrote:
>> Hello, 
>> 
>> thank you for your answer. I have many csv (about 100), so I need an 
>> automatic procedure. Maybe a python script... 
>> 
>> Il 15/11/2022 16:55, Nicolas Cadieux ha scritto: 
>>> Hi, 
>>> 
>>> Yes, you can do that very easily using QGIS.  Layer/add layer/add delimited 
>>> text layer.  Then just export the layer in the format of your choice. You 
>>> may need to convert the coordinates in decimal degrees (ex 75 05 30.4 -> 
>>> 75.0917800 ). 
>>> 
>>> You can do this in Excel using =(A6)+(B6/60)+(C6/3600)+(D6/3600) A= Deg, B= 
>>> Min, C=Sec, D= Decimal Sec.  Then export to csv. 
>>> 
>>> Nicolas 
>>> 
>>> 
 On 2022-11-15 10:08 a.m., Salvatore Mellino via Qgis-user wrote: 
 Hello, 
 
 I would like to know if it is possible to import multiple csv files 
 contained in a folder and to convert them in shapefiles (1 for each csv). 
 All csv files are structured as "lat long value" separate by space and 
 without any header line. 
 
 Thank you for your help! Regards, 
 
 Salvatore 
 
> 
> 

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] multiple csv file import

2022-11-15 Per discussione David Strip via Qgis-user

  
  
You might consider ogr2ogr as an alternative approach. You can run
this from the command line allowing you to use shell scripts to
iterate through all your .csv files. There are also python bindings
for ogr2ogr if you're more comfortable with python than shell
scripts.

On 11/15/2022 9:59 AM, Salvatore Mellino via Qgis-user wrote:
Hello,
  
  
  thank you for your answer. I have many csv (about 100), so I need
  an automatic procedure. Maybe a python script...
  
  
  Il 15/11/2022 16:55, Nicolas Cadieux ha scritto:
  
  Hi,


Yes, you can do that very easily using QGIS.  Layer/add
layer/add delimited text layer.  Then just export the layer in
the format of your choice. You may need to convert the
coordinates in decimal degrees (ex 75 05 30.4 ->
75.0917800 ).


You can do this in Excel using =(A6)+(B6/60)+(C6/3600)+(D6/3600)
A= Deg, B= Min, C=Sec, D= Decimal Sec.  Then export to csv.


Nicolas



On 2022-11-15 10:08 a.m., Salvatore Mellino via Qgis-user wrote:

Hello,
  
  
  I would like to know if it is possible to import multiple csv
  files contained in a folder and to convert them in shapefiles
  (1 for each csv). All csv files are structured as "lat long
  value" separate by space and without any header line.
  
  
  Thank you for your help! Regards,
  
  
  Salvatore
  
  

  



  

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] multiple csv file import

2022-11-15 Per discussione Salvatore Mellino via Qgis-user

Hello,

thank you for your answer. I have many csv (about 100), so I need an 
automatic procedure. Maybe a python script...


Il 15/11/2022 16:55, Nicolas Cadieux ha scritto:

Hi,

Yes, you can do that very easily using QGIS.  Layer/add layer/add 
delimited text layer.  Then just export the layer in the format of 
your choice. You may need to convert the coordinates in decimal 
degrees (ex 75 05 30.4 -> 75.0917800 ).


You can do this in Excel using =(A6)+(B6/60)+(C6/3600)+(D6/3600) A= 
Deg, B= Min, C=Sec, D= Decimal Sec.  Then export to csv.


Nicolas


On 2022-11-15 10:08 a.m., Salvatore Mellino via Qgis-user wrote:

Hello,

I would like to know if it is possible to import multiple csv files 
contained in a folder and to convert them in shapefiles (1 for each 
csv). All csv files are structured as "lat long value" separate by 
space and without any header line.


Thank you for your help! Regards,

Salvatore


--
Salvatore Mellino
Dottore di Ricerca/Ph.D.

Prisma s.r.l. - Progettazione e Realizzazione Impianti e Servizi di 
Monitoraggio Ambientale
Via Monsignor Bonaventura Gargiulo, 13 - 80065 S.Agnello (NA)
Tel./Fax: +39 081 8072476
salvatore.mell...@prismambiente.it
www.prismambiente.it

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] multiple csv file import

2022-11-15 Per discussione Nicolas Cadieux via Qgis-user

Hi,

Yes, you can do that very easily using QGIS.  Layer/add layer/add 
delimited text layer.  Then just export the layer in the format of your 
choice. You may need to convert the coordinates in decimal degrees (ex 
75 05 30.4 -> 75.0917800 ).


You can do this in Excel using =(A6)+(B6/60)+(C6/3600)+(D6/3600) A= Deg, 
B= Min, C=Sec, D= Decimal Sec.  Then export to csv.


Nicolas


On 2022-11-15 10:08 a.m., Salvatore Mellino via Qgis-user wrote:

Hello,

I would like to know if it is possible to import multiple csv files 
contained in a folder and to convert them in shapefiles (1 for each 
csv). All csv files are structured as "lat long value" separate by 
space and without any header line.


Thank you for your help! Regards,

Salvatore


--
Nicolas Cadieux
https://gitlab.com/njacadieux

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] multiple csv file import

2022-11-15 Per discussione Salvatore Mellino via Qgis-user

Hello,

I would like to know if it is possible to import multiple csv files 
contained in a folder and to convert them in shapefiles (1 for each 
csv). All csv files are structured as "lat long value" separate by space 
and without any header line.


Thank you for your help! Regards,

Salvatore

--
Salvatore Mellino
Dottore di Ricerca/Ph.D.

Prisma s.r.l. - Progettazione e Realizzazione Impianti e Servizi di 
Monitoraggio Ambientale
Via Monsignor Bonaventura Gargiulo, 13 - 80065 S.Agnello (NA)
Tel./Fax: +39 081 8072476
salvatore.mell...@prismambiente.it
www.prismambiente.it

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] project browser very, very slow

2022-11-15 Per discussione Micha Silver via Qgis-user

  
  
I recall
  that on a networked Windows machine it helped tremendously to
  "Hide from Browser" all those network shares that are not
  relevant to QGIS. There's a "Hide" option when you "right
  click" on any folder in the browser pane. Maybe that will
  help?
 

On 14/11/2022 19:29, Thomas Struller
  via Qgis-user wrote:


  Hallo Nicolas,

thank you for your fast answer... opend Qgis 3.22 ltr. This works much faster, don't know why. Our IT-staff says they could find nothing... Will try your proposals and report :) on thursday...


Mit freundlichen Grüßen


Thomas Struller
Diplom Geologe (Univ.), BDG, V18

Sachverständiger nach BBodSchG §18,
SG1 Historische Recherche
SG2 Pfad Boden – Gewässer
Akademischer Geoinformatiker
Privater Sachverständiger der Wasserwirtschaft

Tel:  +49 911 12076 111
Mobil:+49 170 33 20 494
Mail: thomas.strul...@lga-geo.de


LGA Institut für Umweltgeologie und Altlasten GmbH
Christian-Hessel-Straße 1
90427 Nürnberg
i...@lga-geo.de
www.LGA-geo.de



Von: Nicolas Cadieux 
Gesendet: Montag, 14. November 2022 18:02
An: Thomas Struller
Cc: qgis-user@lists.osgeo.org
Betreff: Re: [Qgis-user] project browser very, very slow

Hi,

I would start by creating a new user profile the. Restart QGIS using that profile.  Then, I would look at the network server.   Look at the latency to access this server?  What is the speed for the data transfers?  Try copying the file locally and test for speed.  Then, wms services could be very slow.  I would remove those from the projects and test.

Nicolas Cadieux
https://gitlab.com/njacadieux

Le 14 nov. 2022 à 09:15, Thomas Struller via Qgis-user  a écrit :

 Hallo dear list,

I use Qgis 3.28 latest Version on Win 11; Lenovo L14 Gen 1, 32 GB memory, AMD Ryzen 7 PRO 4750U with Radeon Graphics, 1700 MHz, 8 Kern(e), 16 logische(r) Prozessor(en)

Using the browser-panel and opening the project directory needs realy long time. Not only a few seconds. Then opening a gpkg needs the same time. In fact Qgis browser ist very, very slow on every action I do. Its no fun to use Qgis.

All data (gpkg, shp-file, raster data etc.) for my project is located in one directory on a network drive  (win2016 file-server I guess).

In my project-file there are also links to some wms sercives.

What do I have to do, to accelerate the access to the project directory on Qgis 3.28?

Kind regards
Thomas

Mit freundlichen Grüßen


Thomas Struller
Diplom Geologe (Univ.), BDG, V18

Sachverständiger nach BBodSchG §18,
SG1 Historische Recherche
SG2 Pfad Boden – Gewässer
Akademischer Geoinformatiker
Privater Sachverständiger der Wasserwirtschaft

Tel:  +49 911 12076 111
Mobil:+49 170 33 20 494
Mail: thomas.strul...@lga-geo.de


LGA Institut für Umweltgeologie und Altlasten GmbH
Christian-Hessel-Straße 1
90427 Nürnberg
i...@lga-geo.de
www.LGA-geo.de
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


-- 
Micha Silver
Ben Gurion Univ.
Sde Boker, Remote Sensing Lab
cell: +972-523-665918
  

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] Graphical Modeler to add same datasource multiple times with different styles

2022-11-15 Per discussione Seggie, Graeme via Qgis-user
PUBLIC

Hello,

I am trying to use the graphical modeller to do something which seems simple 
but will help users set up a map quickly based on refreshed data and existing 
styles. Basically, add the same geopackage source to map and style using the 
algorithm 'Load layer into project' then style with algorithm 'Set style of 
vector layer' several times using different qml files. Even with multiple pairs 
of this setup, every successive added layer overwrites in the table of contents 
the same, single layer as the ID of the layer seems to be retained from first 
use of  'Load layer into project' and is therefore use for each new style 
rather than a new, separate layer.

I tried to get round this by keeping simple and running the pair of steps as a 
batch call of process with different style each time, same result. Then tried 
calling the running a parent model, calling other models doing the work, but I 
still end up with a single layer on the map, the last one styled. Am I missing 
something to refresh the layer added ID so that each one is unique and styled 
separately?

Regards,

Graeme Seggie



PUBLIC
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user