[Qgis-user] Hind the QGS path in the MAP Variable

2021-04-07 Per discussione 1520 gis
Hi Developers,

I have hit the head in a wall trying to hind the .qgs file in the MAP
variable. I want to change FROM
localhost/cgi-bin/qgis_mapserv.fcgi?map=/home/qgis/project/map.qgs
TO localhost/cgi-bin/qgis_mapserv.fcgi?map=map.qgs

Find below my unsuccessful attempt:

RewriteEngine on
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-f
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-d
RewriteRule ^cgi-bin/qgis_mapserv.fcgi\?map\=([a-zA-Z0-9_-]+)\.qgs$
cgi-bin/qgis_mapserv.fcgi?map=/home/qgis/project/$1 [NC,QSA,L]

Any help will very much appreciated

I appreciate your time in advance.

Kind regards

Julierme
___
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] Compressing rasters in geopackage?

2021-04-07 Per discussione Nicolas Cadieux
Hi,
This is from an earlier email exchange. It may help.  Look for « Geopackage 
file data loss issue » in the mailing list.

> The answer is there:
> https://gdal.org/drivers/raster/gpkg.html#tile-formats
> 
> For Byte input (that isn't recognized as to be used by the tiled
> gridded coverage data), the default tile format will use JPEG lossy
> compression for tiles with a fully opaque channel.
> 
> -co TILE_FORMAT=PNG will use lossless compression
> 
> GeoPackage raster aim was initially for visualisation purposes, hence
> this default. The more analytic side was a later addition to the
> format, and actually an extension
> 
> Even

Nicolas Cadieux
https://gitlab.com/njacadieux

> Le 6 avr. 2021 à 20:18, David Strip  a écrit :
>  Are raster layers saved to geopackage compressed? I have a geopackage with 
> two raster layers in it and they appear to be uncompressed. Both layers are 
> about 11K x 14. One is byte, the other is float32 and the geopackage is 
> around 500M, consistent with no compression. 
> I tried doing an "export" of the layer to a geopackage (as opposed to 
> dragging it into the geopackage in the file browser pane), but the only 
> available profile under Create Options is "default". Do I need to type 
> compression options explicitly?
> 
> Thanks
> David ___
> 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


[Qgis-user] WMS Image Projection

2021-04-07 Per discussione Springfield Harrison

Hello All,

Re obtaining orthophotos from a WMS server.

Locally we have orthophotos that can be brought into QGIS using the WMS 
service.  They are also viewable on the local government web map 
service.  In both cases I can compare them to the property lines which 
are from the same source.


On the government web pages (2), the orthophotos and the lot lines 
appear to coincide very well.  In QGIS, the same two layers are quite 
misaligned.


One would suspect a CRS problem but changing the CRS of the Project and 
the WMS image in QGIS has no effect.  Even followed the tutorial to no 
effect.


I'm attaching screen shots of the two results.  Ant thoughts would be 
appreciated, thank you . . . .


-
Cheers, Springfield Harrison


___
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] recuperare uno shapefile poligonale corrotto

2021-04-07 Per discussione Andrea Giudiceandrea
Alessio Degioannini wrote
> sono alle prese con uno shapefile corrotto di poligoni (circa 760 entità).

Ciao Alessio,
puoi condividere il tuo shapefile o una sua parte che contenga almeno una
feature che presenta i problemi indicati?

Magari si potrebbe fare qualche test per aiutarti a individuare il problema
e trovare una soluzione.
Potrebbe anche trattarsi di un bug in QGIS, se altri verificano la presenza
dello stesso problema.

A presto.

Andrea



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Italian-User-f5250612.html
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


[Qgis-user] off topic Deimos 2 images

2021-04-07 Per discussione carloslda256
Hello, what I have is the attachment: 

drive.google.com/file/d/1P8AM-8iYs15XwB2r16f2yu8CxsKGfeiQ/view

They tell me I should make the atmospheric correction of that data using the 
formulas that are in the previous link, but I don't understand.
Thanks
CA


[data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAQABAAACAkQBADs=3D]El
lun, 5 abr 2021 a las 8:30, Kirk Schmidt () escribió:
>  Hi Carlos:

I just looked at the technical specifications for DEIMOS-2 data and data are
available at 2 processing levels, L1B and L1C, both of which are calibrated and
radiometrically corrected. The L1C level data are orthorectified.

So your data is most likely already corrected if you purhased it from a vendor. 


Kirk Schmidt


On 4/4/2021 7:13 PM, carlos h wrote:
>  Hello, a pleasure to greet you, has someone carried out atmospheric 
> correction
of images of deimos 2?

Thanks

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



-- 
Kirk Schmidt, MScF, BScF, RPF
General Manager
Nortek Resource Solutions Inc.
RR # 1
Thorburn, NS
B0K 1W0
Tel (902) 922.3607
Email: k...@nortekresources.com [k...@nortekresources.com]
Web: www.nortekresources.com [http://www.nortekresources.com]

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org [Qgis-user@lists.osgeo.org]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
[https://lists.osgeo.org/mailman/listinfo/qgis-user]
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
[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-it-user] Importare dxf in Qgis (shape)

2021-04-07 Per discussione Dyd666
Grazie per il tempo dedicatomi. Mi metto a studiare per colmare le mie lacune
nel Gis che trovo interessantissimo.
Grazie ancora per la disponibilità.
Mauro



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Italian-User-f5250612.html
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


Re: [QGIS-it-user] Importare dxf in Qgis (shape)

2021-04-07 Per discussione Andrea Giudiceandrea
Dyd666 wrote
> Grazie molte. Sto provando a fare quello che mi hai spiegato, con grande
> difficoltà.

Ciao Mauro,
se non ci sei ancora riuscito ti consiglio di seguire per esempio le
istruzioni nel video di Salvatore Fiandaca
https://www.youtube.com/watch?v=QxWgezMnUUU che, anche se relativo a QGIS
2.18, rende l'idea generale di funzionamento.
Con le versioni più recenti di QGIS e del plugin i vari passaggi della
procedura potrebbero essere un po' differenti.

Comunque ho fatto uno screencast della procedura che ho seguito per
effettuare una trasformazione lineare uniforme (roto-traslazione e rapporto
di scala uniforme) delle geometrie contenute nel file Novara-BOB.dxf con due
coppie di punti corrispettivi presenti nei file 0.shp e Novara.kml
utilizzando il plugin Vector Bender 0.2.1 e QGIS 3.18.1 e assumendo che il
sistema di coordinate verso cui effettuare la trasformazione sia EPSG:25832
https://www.youtube.com/watch?v=Ov1oX4CnH_o

Ho salvato il risultato della trasformazione in uno shapefile che è
disponibile, zippato, all'URL
https://drive.google.com/file/d/1UiwSopNhLuzdTgeGEVV9dh6_7RAtxxq-/view?usp=sharing

Puoi seguire la stessa procedura per l'altro file DXF eventualmente
modificando in base alle tue esigenze.

A presto.

Andrea



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Italian-User-f5250612.html
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


[QGIS-it-user] recuperare uno shapefile poligonale corrotto

2021-04-07 Per discussione Alessio Degioannini

Ciao,

sono alle prese con uno shapefile corrotto di poligoni (circa 760 entità).

Premetto che uso QGis 3.16.5 sotto Windows 10 Pro 64-bit, Build 19042, 
ma il problema si presenta anche con le recenti releases 3.16.4, 3.10.x. 
e sotto Ubuntu (Qgis 3.18.1)


 * Edito il layer per un po' (aggiungo poligoni, elimino, modifico,
   taglio...), avendo preventivamente attivate le funzioni di snap al
   vertice, modifica topologica, evita sovrapposizione, aggancio
   all'intersezione, auto-aggancio.

 * Successivamente esporto (in formato shapefile o geopackage, ma non
   trovo differenze nei risultati: tra l'uno e l'altro formato ormai
   sono arrivato ad avere una trentina di versioni...).

 * Ogni volta che apro la nuova versione e ne faccio la validazione
   topologica ottengo solo un tipo di errore, quello di sovrapposizione
   (in media 170-180 errori).

 * Ho provato a correggere manualmente alcuni errori, ho salvato ed ho
   esportato, ho rifatto la validazione topologica e gli errori che
   avevo corretto a volte sono scomparsi, a volte no e, comunque, dove
   prima non risultavano errori invece ora ce ne sono, altri che prima
   comparivano ora sono scomparsi... Oltretutto, quando tento di
   correggere qualche errore, a volte magicamente compaiono nodi doppi
   che prima non risultavano. In pratica gli errori si propagano.

 * Alla fine Qgis va in crash (vd. allegato). Se lavoro sotto Ubuntu,
   Qgis dopo un po', semplicemente, si chiude senza la solita finestra
   di crash.

 * Ho provato ad utilizzare v.clean direttamente con Grass (non sotto
   Qgis): sembra che il risultato sia finalmente buono (il layer
   importato in Qgis supera indenne tutta la validazione topologica),
   ma dopo un po' sono daccapo.

 * Ho convertito i poligoni in layer multilinea e la validazione
   topologica mi ha dato centinaia di pseudonodi, oltre naturalmente a
   qualche nodo doppio.

 * Il controllo della validità, fatto sia per il layer di poligoni che
   per quello di linee, non dà errori in alcuno dei tre metodi di
   controllo.

Qualcuno saprebbe suggerirmi una procedura per provare a recuperare il 
file?


Grazie per l'attenzione e cordiali saluti.

Alessio


Crash ID: 9b235b5395dc01946b5502171c46c714aaf55ce5


Stack Trace


QgsGeometry::closestVertex qgsgeometry.cpp:388
QgsPointLocator_VisitorNearestVertex::visitData qgspointlocator.cpp:117
Index::~Index :
Index::~Index :
QgsPointLocator::nearestVertex qgspointlocator.cpp:1176
_updateBestMatch qgssnappingutils.cpp:214
QgsSnappingUtils::snapToMap qgssnappingutils.cpp:347
QgsMapMouseEvent::snapPoint qgsmapmouseevent.cpp:52
QgsMapToolAdvancedDigitizing::canvasMoveEvent 
qgsmaptooladvanceddigitizing.cpp:111
QgsMapCanvas::mouseMoveEvent qgsmapcanvas.cpp:1994
QWidget::event :
QFrame::event :
QGraphicsView::viewportEvent :
QCoreApplicationPrivate::sendThroughObjectEventFilters :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify qgsapplication.cpp:458
QCoreApplication::notifyInternal2 :
QApplicationPrivate::sendMouseEvent :
QSizePolicy::QSizePolicy :
QSizePolicy::QSizePolicy :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify qgsapplication.cpp:458
QCoreApplication::notifyInternal2 :
QGuiApplicationPrivate::processMouseEvent :
QWindowSystemInterface::sendWindowSystemEvents :
QEventDispatcherWin32::processEvents :
UserCallWinProcCheckWow :
DispatchMessageWorker :
QEventDispatcherWin32::processEvents :
qt_plugin_query_metadata :
QEventLoop::exec :
QCoreApplication::exec :
main main.cpp:1637
BaseThreadInitThunk :
RtlUserThreadStart :




QGIS Info
QGIS Version: 3.16.4-Hannover
QGIS code revision: 654e76b3cb
Compiled against Qt: 5.11.2
Running against Qt: 5.11.2
Compiled against GDAL: 3.1.4
Running against GDAL: 3.1.4



System Info
CPU Type: x86_64
Kernel Type: winnt
Kernel Version: 10.0.19042

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