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

2021-04-07 Thread 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 Thread 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 Thread 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


[Qgis-user] off topic Deimos 2 images

2021-04-07 Thread 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