Re: [QGIS-it-user] Plugin Cxf_in errore login database

2023-07-26 Thread Andrea Giudiceandrea via QGIS-it-user

Il 26/07/2023 22:37, Amedeo Fadini ha scritto:
L'associazione Gfoss.it aps  sicuramente è disponibile per il servizio 
di hosting su un server proprio,
servirebbe capire se Saccon è disponibile a trasferire il db.. qualcuno 
di voi ha provato a contattarlo?


Penso che sarebbe utile se tale database fosse reso pubblico e 
documentato, eventualmente distribuito direttamente con il plugin senza 
necessità che il plugin debba connettersi con un server esterno.


A presto.

Andrea
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


Re: [Qgis-user] Converting csv to shapefile issues

2023-07-26 Thread Frank Broniewski via QGIS-User
HI Jamie,

I do not know, what SH Lat/Long and BH Lat/Long are, but you can open your CSV 
with Calc or Excel, do your data manipulation there and then add the CSV to 
QGIS. During the import you can specify your Lat/Long columns, and once you 
have your points visible on the map, you should be able to export to Shapefile 
as well.
Just be aware that Shapefile has several limitations on length of column names, 
column content and so forth. You might be better of to use Geopackage, which is 
a more modern file format for geodata.

HTH,
Frank

Von: QGIS-User  Im Auftrag von Jamie Gould 
via QGIS-User
Gesendet: Mittwoch, 26. Juli 2023 21:28
An: qgis-user@lists.osgeo.org
Betreff: [Qgis-user] Converting csv to shapefile issues

Good afternoon,

I'm currently using geoSCOUT at the company I'm working at.  One cannot export 
out any attributes with a layer or shapefile out of geoSCOUT and you cannot 
view an attribute table within geoSCOUT either.  There are a couple of tasks 
I'd like to do that it would be beneficial to have those attributes.  So, I 
have exported out a UWI list and imported into an analytics program we 
subscribe to called EVA, from here I can export out a csv of the UWI plus data. 
 I have brought this csv into QGIS and want to convert it to a shapefile.  The 
csv does not export out of EVA with Lat and Long columns, but does give SH Lat, 
SH Long, BH Lat, and BH Long.

I thought perhaps I could add a column to the csv file within QGIS and 
calculate a lat/long column, but the Toggle Editing Mode Button is greyed out.  
So, then I thought maybe I could create one shapefile with the SH data, and 
another with the BH data, then merge the two shapefiles and perform a points to 
path if necessary.  When I right click on the csv file to export as an ESRI 
shapefile, the export fails, and I get the below message.
[cid:image001.png@01D9C05A.D5B3F2B0]

Does anyone have any other ideas of how I could go about this?

Thank you in advance,

Jamie Gould, C. Tech
___
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] Clipping ecw to mask not working

2023-07-26 Thread Michael Dufty via QGIS-User
To respond to Kirk and Andrea’s comments.
Yes it works fine on geotiff, including geotiff created be exporting the ecw 
using qgis.  Not always a desirable workaround when dealing with very big ecws.
It is on Windows 10.
GDAL 3.7.1-1 from OSGEO installer
The ecw displays fine in QGIS.  Output layer is set to Byte to match the source
Would be good to know if it works for anyone else.

I thought I would try with a QGIS/GDAL generated ecw  to see if that helps, but 
don’t seem to be able to generate an ecw either.
If I use the export layer command to generate one it says it ran successfully 
but no file is generated.
If I use translate(convert format) it does give error messages as below.  Not 
sure if it is the same issue.
Is GDAL now using the newer ecw sdk that doesn’t support unlicensed writing?  
Might need to go back to Manifold for these things.

QGIS version: 3.32.1-Lima
QGIS code revision: 4a078ecf63
Qt version: 5.15.3
Python version: 3.9.5
GDAL version: 3.7.1
GEOS version: 3.12.0-CAPI-1.18.0
PROJ version: Rel. 9.2.1, June 1st, 2023
PDAL version: 2.5.5 (git-version: a7569c)
Algorithm started at: 2023-07-27T12:43:23
Algorithm 'Translate (convert format)' starting…
Input parameters:
{ 'COPY_SUBDATASETS' : False, 'DATA_TYPE' : 0, 'EXTRA' : '', 'INPUT' : 
'W:/Catalyst/GIS Common/Spatial Data/Aerial Imagery/croptest.tif', 'NODATA' : 
None, 'OPTIONS' : '', 'OUTPUT' : 'W:/Catalyst/GIS Common/Spatial Data/Aerial 
Imagery/croptest.ecw', 'TARGET_CRS' : None }

GDAL command:
gdal_translate -of ECW "W:\\Catalyst\\GIS Common\\Spatial Data\\Aerial 
Imagery\\croptest.tif" "W:/Catalyst/GIS Common/Spatial Data/Aerial 
Imagery/croptest.ecw"
GDAL command output:
ERROR 1: None of ECW_ENCODE_KEY and ECW_ENCODE_COMPANY were provided.
Both are required.
Process returned error code 1
Execution completed in 0.10 seconds
Results:
{'OUTPUT': 'W:/Catalyst/GIS Common/Spatial Data/Aerial Imagery/croptest.ecw'}

Loading resulting layers
The following layers were not correctly generated.
• W:/Catalyst/GIS Common/Spatial Data/Aerial Imagery/croptest.ecw
You can check the 'Log Messages Panel' in QGIS main window to find more 
information about the execution of the algorithm.




Michael Dufty


From: QGIS-User  On Behalf Of Kirk Schmidt 
via QGIS-User
Sent: Thursday, July 27, 2023 12:00 AM
To: qgis-user@lists.osgeo.org
Subject: Re: [Qgis-user] Clipping ecw to mask not working


Hi Michael:

Enhance Compression Wavelet (ECW) is a proprietary compression format.  I would 
try exporting your image as a geotiff to see if it is being read correctly and 
does not have internal write protection on it.

Kirk Schmidt
On 7/26/2023 2:02 AM, Michael Dufty via QGIS-User wrote:
I'm having issues trying to clip ecw images to a mask layer.
Using raster-extraction-clip raster to mask layer.
Default parameters.
The tool runs extremely quickly (successfullyin 0.12 seconds), but produces a 
raster entirely black (0,0,0 for all pixels).  With the correct extent of the 
mask layer.
If I tick the box to create an alpha output band it produces an entirely 
transparent result.

Source and mask layers both in EPSG 28350

Anyone else having this issue?  I cannot see any bug reports.
Tried in 328.8, 3.28.9, 3.32.0 and 3.32.1 with same result.

Seems to work fine if input raster is a tif.




___

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

--

Kirk Schmidt, MScF, BScF, RPF

General Manager

Nortek Resource Solutions Inc.

26 Church Road

Sutherlands River, NS

B0K 1W0

Tel (902) 922.3607

Email: k...@nortekresources.com

Web: www.nortekresources.com
___
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] Dot Density Symbology

2023-07-26 Thread Shinoto, PD Dr. Maria via QGIS-User
Hi,

I have a similar research problem, and the dots seem to be a wonderful solution.

So, this email does not give any assistance re the original question, just an 
answer to the question below:

Am 2023/07/27 um 03:45 schrieb chris hermansen via QGIS-User 
:

Here's (apologies for the closed source link) an example of the type of 
map/symbology I'm trying to 
describe.https://www.arcgis.com/apps/mapviewer/index.html?webmap=30d2e10d4d694b3eb4dc4d2e58dbb5a5

Thanks for any suggestions!

What about just shading the polygons using a gray scale?

Given that your polygons should generate a uniform density of dots within the 
area they bound, I don't see value in generating the dots for symbology.

The polygon area may vary, as it does in my research (distribution of burials 
in administrative areas). Therefore, a small area always looks underrepresented 
as compared to a larger area, and vice versa. I have large administrative areas 
with low densitiy, but they look well populated even with a very light shade of 
grey.

So I would like to try to find a solution to Chris' problem since the 
representation with dots is closer to reality than colouring areas. I will 
report when I found a solution for my use case -- though this may be autumn...

Maria
___
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] Problem saving project to geopkg

2023-07-26 Thread David Strip via QGIS-User

  
  
On 7/25/2023 11:55 PM, Michael Dufty
  wrote:


  The
  error message includes MedicalDebt.mldata as a project name. 
  I believe this is the file the memorylayer saver plugin
  creates to save the temporary layers to.   Have you tried it
  with that plugin disabled?  
   
  I'm
  really dependent on the memory layer saver plugin, and have
  abandoned investigation of saving files to geopackage because
  memorylayer saver does not seem to support it.


the problem appears not to be the presence of the memory layer
plug-in specifically, but the combination of the plug-in and a
memory layer in the project. If I have a memory layer open in the
project when I try to save to a geopkg, I get the error. If I remove
the memory layers (or save them to the geopkg and replace the memory
layers with the saved layers), then the problem disappears. 
  

___
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-it-user] Plugin Cxf_in errore login database

2023-07-26 Thread Amedeo Fadini
La colletta già c'era: nella ultima scheda del plugin se non erro c'è il
pulsante di paypal.
Quando l'ho usato io Saccon mi ha confermato che ero il quarto in dieci
anni.

L'associazione Gfoss.it aps  sicuramente è disponibile per il servizio di
hosting su un server proprio,
servirebbe capire se Saccon è disponibile a trasferire il db.. qualcuno di
voi ha provato a contattarlo?

Amedeo


Il giorno mer 26 lug 2023 alle ore 20:35 Paolo Cavallini via QGIS-it-user <
qgis-it-user@lists.osgeo.org> ha scritto:

> suvvia, una colletta?
> GFOSS.it?
>
> On 7/26/23 19:42, Federico Cortese wrote:
> > Ciao Ludovico,
> > come ci siamo già detti in privato, pare ormai che il prezioso server
> > per la georeferenziazione dei fogli catastali di Fabio Saccon sia
> > stato spento.
> > Era un problema annunciato già nel 2019, quando lo stesso Saccon aveva
> > evidenziato il costo del mantenimento del server.
> > Peccato non aver trovato in questo periodo delle soluzioni per
> > supportare questo importante lavoro.
> > Speriamo che l'Agenzia delle Entrate ci stupisca prima o poi col
> > rilascio di un WFS per la mappa catastale, per quanto sarà difficile
> > senza prima un cambio normativo delle tariffe di consultazione.
> > Saluti,
> > Federico Cortese
> >
> > On Tue, Jul 18, 2023 at 5:32 PM Ludovico Frate 
> wrote:
> >>
> >> Ciao a tutti,
> >> quando provo a loggarmi al database per la georeferenziazione ottengo
> il seguente errore:
> >>
> >> ---
> >> 2023-07-18T17:30:14 WARNINGTraceback (most recent call last):
> >>File
> "C:\Users/Pc/AppData/Roaming/QGIS/QGIS3\profiles\Ludovico_GIS/python/plugins\Cxf_in\catdialog.py",
> line 330, in connectgeodb
> >>with contextlib.closing(urllib.request.urlopen(req,
> context=ssl._create_unverified_context())) as x:
> >>File "C:\OSGeo4W\apps\Python39\lib\urllib\request.py",
> line 214, in urlopen
> >>return opener.open(url, data, timeout)
> >>File "C:\OSGeo4W\apps\Python39\lib\urllib\request.py",
> line 523, in open
> >>response = meth(req, response)
> >>File "C:\OSGeo4W\apps\Python39\lib\urllib\request.py",
> line 632, in http_response
> >>response = self.parent.error(
> >>File "C:\OSGeo4W\apps\Python39\lib\urllib\request.py",
> line 561, in error
> >>return self._call_chain(*args)
> >>File "C:\OSGeo4W\apps\Python39\lib\urllib\request.py",
> line 494, in _call_chain
> >>result = func(*args)
> >>File "C:\OSGeo4W\apps\Python39\lib\urllib\request.py",
> line 641, in http_error_default
> >>raise HTTPError(req.full_url, code, msg, hdrs, fp)
> >>   urllib.error.HTTPError: HTTP Error 500: Internal Server
> Error
> >>
> >>   During handling of the above exception, another exception
> occurred:
> >>
> >>   Traceback (most recent call last):
> >>File
> "C:\Users/Pc/AppData/Roaming/QGIS/QGIS3\profiles\Ludovico_GIS/python/plugins\Cxf_in\catdialog.py",
> line 335, in connectgeodb
> >>except urllib.URLError as err:
> >>   AttributeError: module 'urllib' has no attribute
> 'URLError'
> >> ---
> >>
> >> Anche il login da browser sembra impossibile. Qualcuno potrebbe
> confermare?
> >>
> >> Saluti
> >> ___
> >> QGIS-it-user mailing list
> >> QGIS-it-user@lists.osgeo.org
> >> https://lists.osgeo.org/mailman/listinfo/qgis-it-user
> > ___
> > QGIS-it-user mailing list
> > QGIS-it-user@lists.osgeo.org
> > https://lists.osgeo.org/mailman/listinfo/qgis-it-user
>
> --
> Paolo Cavallini
> www.faunalia.eu
> Training, support, development on QGIS, PostGIS and more
> ___
> QGIS-it-user mailing list
> QGIS-it-user@lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/qgis-it-user
>
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


[Qgis-user] Converting csv to shapefile issues

2023-07-26 Thread Jamie Gould via QGIS-User
Good afternoon,

I'm currently using geoSCOUT at the company I'm working at.  One cannot export 
out any attributes with a layer or shapefile out of geoSCOUT and you cannot 
view an attribute table within geoSCOUT either.  There are a couple of tasks 
I'd like to do that it would be beneficial to have those attributes.  So, I 
have exported out a UWI list and imported into an analytics program we 
subscribe to called EVA, from here I can export out a csv of the UWI plus data. 
 I have brought this csv into QGIS and want to convert it to a shapefile.  The 
csv does not export out of EVA with Lat and Long columns, but does give SH Lat, 
SH Long, BH Lat, and BH Long.

I thought perhaps I could add a column to the csv file within QGIS and 
calculate a lat/long column, but the Toggle Editing Mode Button is greyed out.  
So, then I thought maybe I could create one shapefile with the SH data, and 
another with the BH data, then merge the two shapefiles and perform a points to 
path if necessary.  When I right click on the csv file to export as an ESRI 
shapefile, the export fails, and I get the below message.
[cid:image001.png@01D9BFB1.F647D680]

Does anyone have any other ideas of how I could go about this?

Thank you in advance,

Jamie Gould, C. Tech
___
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-it-user] Plugin Cxf_in errore login database

2023-07-26 Thread Totò Fiandaca
Concordo con Paolo e partecipo pure io alla colletta.

saluti

[image: Mailtrack]

Sender
notified by
Mailtrack

26/07/23,
21:27:10

Il giorno mer 26 lug 2023 alle ore 20:35 Paolo Cavallini via QGIS-it-user <
qgis-it-user@lists.osgeo.org> ha scritto:

> suvvia, una colletta?
> GFOSS.it?
>
> On 7/26/23 19:42, Federico Cortese wrote:
> > Ciao Ludovico,
> > come ci siamo già detti in privato, pare ormai che il prezioso server
> > per la georeferenziazione dei fogli catastali di Fabio Saccon sia
> > stato spento.
> > Era un problema annunciato già nel 2019, quando lo stesso Saccon aveva
> > evidenziato il costo del mantenimento del server.
> > Peccato non aver trovato in questo periodo delle soluzioni per
> > supportare questo importante lavoro.
> > Speriamo che l'Agenzia delle Entrate ci stupisca prima o poi col
> > rilascio di un WFS per la mappa catastale, per quanto sarà difficile
> > senza prima un cambio normativo delle tariffe di consultazione.
> > Saluti,
> > Federico Cortese
> >
> > On Tue, Jul 18, 2023 at 5:32 PM Ludovico Frate 
> wrote:
> >>
> >> Ciao a tutti,
> >> quando provo a loggarmi al database per la georeferenziazione ottengo
> il seguente errore:
> >>
> >> ---
> >> 2023-07-18T17:30:14 WARNINGTraceback (most recent call last):
> >>File
> "C:\Users/Pc/AppData/Roaming/QGIS/QGIS3\profiles\Ludovico_GIS/python/plugins\Cxf_in\catdialog.py",
> line 330, in connectgeodb
> >>with contextlib.closing(urllib.request.urlopen(req,
> context=ssl._create_unverified_context())) as x:
> >>File "C:\OSGeo4W\apps\Python39\lib\urllib\request.py",
> line 214, in urlopen
> >>return opener.open(url, data, timeout)
> >>File "C:\OSGeo4W\apps\Python39\lib\urllib\request.py",
> line 523, in open
> >>response = meth(req, response)
> >>File "C:\OSGeo4W\apps\Python39\lib\urllib\request.py",
> line 632, in http_response
> >>response = self.parent.error(
> >>File "C:\OSGeo4W\apps\Python39\lib\urllib\request.py",
> line 561, in error
> >>return self._call_chain(*args)
> >>File "C:\OSGeo4W\apps\Python39\lib\urllib\request.py",
> line 494, in _call_chain
> >>result = func(*args)
> >>File "C:\OSGeo4W\apps\Python39\lib\urllib\request.py",
> line 641, in http_error_default
> >>raise HTTPError(req.full_url, code, msg, hdrs, fp)
> >>   urllib.error.HTTPError: HTTP Error 500: Internal Server
> Error
> >>
> >>   During handling of the above exception, another exception
> occurred:
> >>
> >>   Traceback (most recent call last):
> >>File
> "C:\Users/Pc/AppData/Roaming/QGIS/QGIS3\profiles\Ludovico_GIS/python/plugins\Cxf_in\catdialog.py",
> line 335, in connectgeodb
> >>except urllib.URLError as err:
> >>   AttributeError: module 'urllib' has no attribute
> 'URLError'
> >> ---
> >>
> >> Anche il login da browser sembra impossibile. Qualcuno potrebbe
> confermare?
> >>
> >> Saluti
> >> ___
> >> QGIS-it-user mailing list
> >> QGIS-it-user@lists.osgeo.org
> >> https://lists.osgeo.org/mailman/listinfo/qgis-it-user
> > ___
> > QGIS-it-user mailing list
> > QGIS-it-user@lists.osgeo.org
> > https://lists.osgeo.org/mailman/listinfo/qgis-it-user
>
> --
> Paolo Cavallini
> www.faunalia.eu
> Training, support, development on QGIS, PostGIS and more
> ___
> QGIS-it-user mailing list
> QGIS-it-user@lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/qgis-it-user
>


-- 
*Ing. Salvatore Fiandaca*
*mobile*.:+39 327.493.8955
*m*: *pigrecoinfin...@gmail.com *
*C.F*.: FNDSVT71E29Z103G
*P.IVA*: 06597870820
*membro QGIS Italia - http://qgis.it/ *
*socio GFOSS.it - *http://gfoss.it/
*member OSGeo* - *https://www.osgeo.org/member/fiandaca/*

*blog:*
* https://pigrecoinfinito.com/  FB: Co-admin
- https://www.facebook.com/qgis.it/ **
 *
*TW:  **https://twitter.com/totofiandaca
*

43°51'0.54"N  10°34'27.62"E - EPSG:4326

“Se la conoscenza deve essere aperta a tutti,
perchè mai limitarne l’accesso?”
R. Stallman

Questo documento, allegati inclusi, contiene informazioni di proprietà di
FIANDACA SALVATORE e deve essere utilizzato esclusivamente dal destinatario
in relazione alle finalità per le quali è stato ricevuto. E' vietata
qualsiasi forma di riproduzione o divulgazione senza l'esplicito consenso
di 

Re: [Qgis-user] Dot Density Symbology

2023-07-26 Thread chris hermansen via QGIS-User
Hugh and list,

On Wed, Jul 26, 2023, 10:24 Hugh Kelley via QGIS-User <
qgis-user@lists.osgeo.org> wrote:

> Hi all,
>
> I've been producing dot density maps for demographics work by using
> postgis to assign points randomly within a polygon with the number of
> points determined by, for example, the total number of a population
> sub-group residing in that polygon.
>
> I"m wondering if there might be a way to do this directly from the
> polygons in QGIS with symbology.
>
> I've looked through the resource sharing plugin without luck. I dont'
> think the geometry generator can handle such a task but maybe there's a
> way?
>
> Here's (apologies for the closed source link) an example of the type of
> map/symbology I'm trying to describe.
> https://www.arcgis.com/apps/mapviewer/index.html?webmap=30d2e10d4d694b3eb4dc4d2e58dbb5a5
>
> Thanks for any suggestions!
>

What about just shading the polygons using a gray scale?

Given that your polygons should generate a uniform density of dots within
the area they bound, I don't see value in generating the dots for symbology.

Chris

>
___
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-it-user] Plugin Cxf_in errore login database

2023-07-26 Thread Paolo Cavallini via QGIS-it-user

suvvia, una colletta?
GFOSS.it?

On 7/26/23 19:42, Federico Cortese wrote:

Ciao Ludovico,
come ci siamo già detti in privato, pare ormai che il prezioso server
per la georeferenziazione dei fogli catastali di Fabio Saccon sia
stato spento.
Era un problema annunciato già nel 2019, quando lo stesso Saccon aveva
evidenziato il costo del mantenimento del server.
Peccato non aver trovato in questo periodo delle soluzioni per
supportare questo importante lavoro.
Speriamo che l'Agenzia delle Entrate ci stupisca prima o poi col
rilascio di un WFS per la mappa catastale, per quanto sarà difficile
senza prima un cambio normativo delle tariffe di consultazione.
Saluti,
Federico Cortese

On Tue, Jul 18, 2023 at 5:32 PM Ludovico Frate  wrote:


Ciao a tutti,
quando provo a loggarmi al database per la georeferenziazione ottengo il 
seguente errore:

---
2023-07-18T17:30:14 WARNINGTraceback (most recent call last):
   File 
"C:\Users/Pc/AppData/Roaming/QGIS/QGIS3\profiles\Ludovico_GIS/python/plugins\Cxf_in\catdialog.py",
 line 330, in connectgeodb
   with contextlib.closing(urllib.request.urlopen(req, 
context=ssl._create_unverified_context())) as x:
   File "C:\OSGeo4W\apps\Python39\lib\urllib\request.py", line 214, 
in urlopen
   return opener.open(url, data, timeout)
   File "C:\OSGeo4W\apps\Python39\lib\urllib\request.py", line 523, 
in open
   response = meth(req, response)
   File "C:\OSGeo4W\apps\Python39\lib\urllib\request.py", line 632, 
in http_response
   response = self.parent.error(
   File "C:\OSGeo4W\apps\Python39\lib\urllib\request.py", line 561, 
in error
   return self._call_chain(*args)
   File "C:\OSGeo4W\apps\Python39\lib\urllib\request.py", line 494, 
in _call_chain
   result = func(*args)
   File "C:\OSGeo4W\apps\Python39\lib\urllib\request.py", line 641, 
in http_error_default
   raise HTTPError(req.full_url, code, msg, hdrs, fp)
  urllib.error.HTTPError: HTTP Error 500: Internal Server Error

  During handling of the above exception, another exception 
occurred:

  Traceback (most recent call last):
   File 
"C:\Users/Pc/AppData/Roaming/QGIS/QGIS3\profiles\Ludovico_GIS/python/plugins\Cxf_in\catdialog.py",
 line 335, in connectgeodb
   except urllib.URLError as err:
  AttributeError: module 'urllib' has no attribute 'URLError'
---

Anche il login da browser sembra impossibile. Qualcuno potrebbe confermare?

Saluti
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user

___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


--
Paolo Cavallini
www.faunalia.eu
Training, support, development on QGIS, PostGIS and more
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


Re: [QGIS-it-user] Plugin Cxf_in errore login database

2023-07-26 Thread Federico Cortese
Ciao Ludovico,
come ci siamo già detti in privato, pare ormai che il prezioso server
per la georeferenziazione dei fogli catastali di Fabio Saccon sia
stato spento.
Era un problema annunciato già nel 2019, quando lo stesso Saccon aveva
evidenziato il costo del mantenimento del server.
Peccato non aver trovato in questo periodo delle soluzioni per
supportare questo importante lavoro.
Speriamo che l'Agenzia delle Entrate ci stupisca prima o poi col
rilascio di un WFS per la mappa catastale, per quanto sarà difficile
senza prima un cambio normativo delle tariffe di consultazione.
Saluti,
Federico Cortese

On Tue, Jul 18, 2023 at 5:32 PM Ludovico Frate  wrote:
>
> Ciao a tutti,
> quando provo a loggarmi al database per la georeferenziazione ottengo il 
> seguente errore:
>
> ---
> 2023-07-18T17:30:14 WARNINGTraceback (most recent call last):
>   File 
> "C:\Users/Pc/AppData/Roaming/QGIS/QGIS3\profiles\Ludovico_GIS/python/plugins\Cxf_in\catdialog.py",
>  line 330, in connectgeodb
>   with contextlib.closing(urllib.request.urlopen(req, 
> context=ssl._create_unverified_context())) as x:
>   File "C:\OSGeo4W\apps\Python39\lib\urllib\request.py", line 
> 214, in urlopen
>   return opener.open(url, data, timeout)
>   File "C:\OSGeo4W\apps\Python39\lib\urllib\request.py", line 
> 523, in open
>   response = meth(req, response)
>   File "C:\OSGeo4W\apps\Python39\lib\urllib\request.py", line 
> 632, in http_response
>   response = self.parent.error(
>   File "C:\OSGeo4W\apps\Python39\lib\urllib\request.py", line 
> 561, in error
>   return self._call_chain(*args)
>   File "C:\OSGeo4W\apps\Python39\lib\urllib\request.py", line 
> 494, in _call_chain
>   result = func(*args)
>   File "C:\OSGeo4W\apps\Python39\lib\urllib\request.py", line 
> 641, in http_error_default
>   raise HTTPError(req.full_url, code, msg, hdrs, fp)
>  urllib.error.HTTPError: HTTP Error 500: Internal Server Error
>
>  During handling of the above exception, another exception 
> occurred:
>
>  Traceback (most recent call last):
>   File 
> "C:\Users/Pc/AppData/Roaming/QGIS/QGIS3\profiles\Ludovico_GIS/python/plugins\Cxf_in\catdialog.py",
>  line 335, in connectgeodb
>   except urllib.URLError as err:
>  AttributeError: module 'urllib' has no attribute 'URLError'
> ---
>
> Anche il login da browser sembra impossibile. Qualcuno potrebbe confermare?
>
> Saluti
> ___
> QGIS-it-user mailing list
> QGIS-it-user@lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/qgis-it-user
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


[Qgis-user] Dot Density Symbology

2023-07-26 Thread Hugh Kelley via QGIS-User
Hi all,

I've been producing dot density maps for demographics work by using postgis
to assign points randomly within a polygon with the number of points
determined by, for example, the total number of a population sub-group
residing in that polygon.

I"m wondering if there might be a way to do this directly from the polygons
in QGIS with symbology.

I've looked through the resource sharing plugin without luck. I dont' think
the geometry generator can handle such a task but maybe there's a way?

Here's (apologies for the closed source link) an example of the type of
map/symbology I'm trying to describe.
https://www.arcgis.com/apps/mapviewer/index.html?webmap=30d2e10d4d694b3eb4dc4d2e58dbb5a5

Thanks for any suggestions!

Hugh
___
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] Clipping ecw to mask not working

2023-07-26 Thread Kirk Schmidt via QGIS-User

Hi Michael:

Enhance Compression Wavelet (ECW) is a proprietary compression format.  
I would try exporting your image as a geotiff to see if it is being read 
correctly and does not have internal write protection on it.


Kirk Schmidt

On 7/26/2023 2:02 AM, Michael Dufty via QGIS-User wrote:


I'm having issues trying to clip ecw images to a mask layer.

Using raster-extraction-clip raster to mask layer.

Default parameters.

The tool runs extremely quickly (successfullyin 0.12 seconds), but 
produces a raster entirely black (0,0,0 for all pixels).  With the 
correct extent of the mask layer.


If I tick the box to create an alpha output band it produces an 
entirely transparent result.


Source and mask layers both in EPSG 28350

Anyone else having this issue?  I cannot see any bug reports.

Tried in 328.8, 3.28.9, 3.32.0 and 3.32.1 with same result.

Seems to work fine if input raster is a tif.


___
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


--
Kirk Schmidt, MScF, BScF, RPF
General Manager
Nortek Resource Solutions Inc.
26 Church Road
Sutherlands River, NS
B0K 1W0
Tel (902) 922.3607
Email:k...@nortekresources.com
Web:www.nortekresources.com
___
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] QGIS Openday 28th July 2023

2023-07-26 Thread Amy Ternent via QGIS-User
Dear QGIS Users

On Friday, 28th July 2023 we will be holding our monthly QGIS Open Day!
What is a QGIS Open Day you may be wondering to yourself? It is an
initiative to replace the wonderful community meetups we used to hold every
six months when times were different. Like our in-person meetings, the
event is organised on the principle of self-organisation and community
participation.

*Programme*

   - Session 1: How to work with QGIS and Blender to make amazing 3D
maps, YouTube
   Link  Jitsi link
   
   - Session 2: Water quality mapping in qgis, YouTube Link
    Jitsi link
   

*Where to watch*

Please see the event wiki page at QOD-July-2023 Wiki
 for all the details of
times and links for participation.
Recordings

All the events are recorded and made available to users who couldn't make
the live events. Youtube live streams are automatically available for
catch-up viewing. Reviewing video links for individual events should work
without a hitch, but you can also catch up on recordings from the QGIS
Youtube channel:

   - https://www.youtube.com/@qgishome

Code of
Conduct

Participants are kindly reminded to please read and observe our QGIS Code
of Conduct and Diversity Statement to make these events a great experience
for everyone!

   - Code of Conduct
   

   - Diversity Statement
   


Please contact the Lead QOD Event Organiser, Amy by email a...@kartoza.com,
or via the Telegram Channel 
 username @Amz if you have any queries or need help setting up events.

We look forward to seeing you there!



-- 

Amy Ternent
GIS Technician
Visit http://kartoza.com to find out about open source:
* Desktop GIS programming services
* Geospatial web development
* GIS Training
* Consulting Services
Office: +27(0)71 225 0039
___
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] Removal of overlap geometries within the same layer - merge to largest neighbor polygon

2023-07-26 Thread Bernhard Ströbl via QGIS-User
Hi Andreas,

I would like to give some explanations on your comment concerning the eliminate 
algorithm: During development the goal was to have a method that can get rid of 
sliver polygons (I explained my workflow for detecting them in my previous 
post). The algorithm simply merges the selected polygons with their specified 
neighbours. The attribute values of the neighbour stay as they are. What would 
you expect attributewise? Furthermore no definition of the polygons to 
eliminate is defined in the code thus it is up to the user to decide which 
polygons should go, hence it works on the selection. Making a tool that merely 
eliminates all overlaps would be a different task. The eliminate tool as it is 
has a broader use range, examples: You can only eliminate certain overlaps 
while keeping others. You can use it to generalize by getting rid of polygons 
smaller than a certain size. You have landuse data that contains polygons for a 
river but you want to use lines for the river, so get rid of all river 
polygons

regards 

Bernhard

> Andreas Neumann via QGIS-User  hat am 26.07.2023 
> 14:15 CEST geschrieben:
> 
>  
> Hi,
> 
> Thank you all for your feedback!
> 
> @Nyall - the GEOS/JTS capabilities for cleaning and validating geometries
> look definitely interesting. Something for an upcoming QGIS-CH grant
> perhaps ...
> 
> @Bernhard - I also had a look at and tested the "Eliminate selected
> polygons" algorithm - but it doesn't have a way to specify attribute
> handling nor grouping - and it is also strange that I have to select the
> polygons first and cannot run the algorithm on the whole data set as is
> 
> About SAGA: I couldn't get the SAGA stuff to work anymore
> About GRASS: it could be an option, but a native solution in QGIS would be
> preferred
> 
> So in summary: there are several options around for cleaning overlaps - but
> it isn't as straight-forward and user friendly yet as it could/should be.
> 
> I haven't looked at the gaps yet ...
> 
> Thank you all and greetings,
> Andreas
> 
> 
> On Tue, 25 Jul 2023 at 13:13, Bernhard Ströbl via QGIS-User <
> qgis-user@lists.osgeo.org> wrote:
> 
> > Hi Andreas,
> >
> > the Algorithm "Eliminate selected polygons" was originally created to
> > address these questions. I usually imported the data into GRASS ran a clean
> > there and reexported the results into a non topolgical dataset. Thus
> > overlapping areas and gaps (only if closed) are identified and can be
> > eliminated using the algorithm named above (selecting only a certain
> > area-circumference relation) by merging it with the adjacent polygon with
> > the smallest/largest area or the longest common boundary.
> > For your case you could have used this algorithm after the union to
> > identify overlaps.
> > As for an algorithm that does all this in one go: You would need something
> > that detects holes between polygons without the help of a toplogical data
> > format.
> >
> > regards
> > Bernhard
> >
> > > Andreas Neumann via QGIS-User  hat am
> > 25.07.2023 12:01 CEST geschrieben:
> > >
> > >
> > > Hi,
> > >
> > > A friend of mine has a dirty input data set with lots of overlapping
> > > geometries (within the same layer) and asked me if there is a tool
> > > within QGIS to automatically remove the overlaps and assign the
> > > overlapping area to the neighbor polygon with the largest area.
> > >
> > > The solution was surprisingly hard to find, although I am pretty sure
> > > there are multiple combinations of algorithms that would solve the
> > > problem. Here is the solution I came up with:
> > > https://github.com/qgis-ch/overlap_removal/tree/main [1]- perhaps you
> > > have better ideas - more elegant solutions?
> > >
> > > Wouldn't it be great if QGIS had a processing tool to solve this overlap
> > > cleaning within the same layer "out of the box" without having to use a
> > > graphical model or a more or less complicated sequence of algorithms in
> > > the processing toolbox? Apparently, ArcGIS has such a tool ...
> > >
> > > Saga and GRASS also might have such tools - but I couldn't get the SAGA
> > > based QGIS plugin "Dissect and dissolve overlaps"
> > > (https://plugins.qgis.org/plugins/dissect_dissolve_overlaps).
> > >
> > > The same problem exists for automatically filling small gaps in the
> > > polygon data set ...
> > >
> > > Andreas
> > >
> > >
> > >
> > > Links:
> > > --
> > > [1]
> > https://github.com/qgis-ch/overlap_removal/tree/main___
> > > 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
> >
> 
> 
> -- 
> 
> --
> Andreas 

Re: [Qgis-user] Removal of overlap geometries within the same layer - merge to largest neighbor polygon

2023-07-26 Thread Andreas Neumann via QGIS-User
Hi,

Thank you all for your feedback!

@Nyall - the GEOS/JTS capabilities for cleaning and validating geometries
look definitely interesting. Something for an upcoming QGIS-CH grant
perhaps ...

@Bernhard - I also had a look at and tested the "Eliminate selected
polygons" algorithm - but it doesn't have a way to specify attribute
handling nor grouping - and it is also strange that I have to select the
polygons first and cannot run the algorithm on the whole data set as is

About SAGA: I couldn't get the SAGA stuff to work anymore
About GRASS: it could be an option, but a native solution in QGIS would be
preferred

So in summary: there are several options around for cleaning overlaps - but
it isn't as straight-forward and user friendly yet as it could/should be.

I haven't looked at the gaps yet ...

Thank you all and greetings,
Andreas


On Tue, 25 Jul 2023 at 13:13, Bernhard Ströbl via QGIS-User <
qgis-user@lists.osgeo.org> wrote:

> Hi Andreas,
>
> the Algorithm "Eliminate selected polygons" was originally created to
> address these questions. I usually imported the data into GRASS ran a clean
> there and reexported the results into a non topolgical dataset. Thus
> overlapping areas and gaps (only if closed) are identified and can be
> eliminated using the algorithm named above (selecting only a certain
> area-circumference relation) by merging it with the adjacent polygon with
> the smallest/largest area or the longest common boundary.
> For your case you could have used this algorithm after the union to
> identify overlaps.
> As for an algorithm that does all this in one go: You would need something
> that detects holes between polygons without the help of a toplogical data
> format.
>
> regards
> Bernhard
>
> > Andreas Neumann via QGIS-User  hat am
> 25.07.2023 12:01 CEST geschrieben:
> >
> >
> > Hi,
> >
> > A friend of mine has a dirty input data set with lots of overlapping
> > geometries (within the same layer) and asked me if there is a tool
> > within QGIS to automatically remove the overlaps and assign the
> > overlapping area to the neighbor polygon with the largest area.
> >
> > The solution was surprisingly hard to find, although I am pretty sure
> > there are multiple combinations of algorithms that would solve the
> > problem. Here is the solution I came up with:
> > https://github.com/qgis-ch/overlap_removal/tree/main [1]- perhaps you
> > have better ideas - more elegant solutions?
> >
> > Wouldn't it be great if QGIS had a processing tool to solve this overlap
> > cleaning within the same layer "out of the box" without having to use a
> > graphical model or a more or less complicated sequence of algorithms in
> > the processing toolbox? Apparently, ArcGIS has such a tool ...
> >
> > Saga and GRASS also might have such tools - but I couldn't get the SAGA
> > based QGIS plugin "Dissect and dissolve overlaps"
> > (https://plugins.qgis.org/plugins/dissect_dissolve_overlaps).
> >
> > The same problem exists for automatically filling small gaps in the
> > polygon data set ...
> >
> > Andreas
> >
> >
> >
> > Links:
> > --
> > [1]
> https://github.com/qgis-ch/overlap_removal/tree/main___
> > 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
>


-- 

--
Andreas Neumann
QGIS.ORG board member (treasurer)
___
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] Clipping ecw to mask not working

2023-07-26 Thread Andrea Giudiceandrea via QGIS-User

Michael Dufty MDufty at mbsenvironmental.com.au
Tue Jul 25 22:02:06 PDT 2023



I'm having issues trying to clip ecw images to a mask layer.


Hi Michael,
what is the Operating System you are running QGIS on? Can you display 
the ECW layer in QGIS? Which is the format of the output raster layer 
set in the processing algorithm? What is the full execution log of the 
processing algorithm? What is the GDAL library version used by QGIS on 
your system? Does the GDAL library support the ECW format in your system?


The "Clip raster by mask layer" processing algorithm is actually 
executed by the gdalwarp utility of the GDAL/OGR library.


Have you tried to directly execute the gdalwarp command (as generated by 
the processing algorithm) in the shell of your system?


Best regards.

Andrea
___
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-it-user] R e QGIS

2023-07-26 Thread Andrea Giudiceandrea via QGIS-it-user

Il 26/07/2023 08:54, Federico Gianoli ha scritto:

R execution console output

[1] 
"C:/Users/giano/AppData/Roaming/QGIS/QGIS3/profiles/SGI/processing/rlibs/sf"


Linking to GEOS 3.10.2, GDAL 3.4.1, PROJ 7.2.1; sf_use_s2() is TRUE

Messaggi di avvertimento:

Traceback (most recent call last):




Non mi pare che ci siano caratteri non ASCII in nessun punto dello script.


Ciao Federico,
probabilmente non sono riuscito ancora a spiegare bene la questione.

L'errore è molto probabilmente dovuto a caratteri non ASCII presenti 
nell'output testuale di R (cioè il log di esecuzione di R), non di QGIS 
o del plugin.


Nel log del plugin è presente la linea "R execution console output". 
Dopo di essa iniziano le linee che provengono dall'output testuale di R:



[1] 
"C:/Users/giano/AppData/Roaming/QGIS/QGIS3/profiles/SGI/processing/rlibs/sf"

Linking to GEOS 3.10.2, GDAL 3.4.1, PROJ 7.2.1; sf_use_s2() is TRUE
Messaggi di avvertimento:


A questo punto il codice del plugin va in errore, cioè va in errore 
mentre sta "leggendo" le righe successive a "Messaggi di avvertimento", 
che non vengono quindi visualizzate.


Prima di tutto si può notare che nell'output testuale di R c'è del testo 
in italiano. Il plugin invece si aspetta un testo in inglese. Inoltre in 
un testo in italiano è possibile che ci siano caratteri non ASCII (come 
le vocali accentate).


Pertanto, ciò che dovresti verificare è l'eventuale presenza di 
caratteri non ASCII nell'output testuale di R e se l'errore si presenta 
anche impostando la lingua inglese per l'output testuale di R.


A presto.

Andrea
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user