Re: [Qgis-user] A few question

2020-07-03 Thread Martin Weis
On 02.07.20 19:22, blubee blubeeme wrote:
> I have some aerial images;

Are they georeferenced already?


> Warning 4: Failed to open /usr/share/qgis/resources/data/world_map.gpkg:
> Permission denied
> then one of the below messages for each picture that's being imported.
> proj_concatoperation_get_step_count: Object is not a ConcatenatedOperation

No issues, no need to act.

> Is this just an issue with the images or something wrong my steps to create
> orthomosaic from a series of photos.

If these are raw photos you need a bundle adjustment/SfM step to
generate an orthophoto. This cannot be done 'directly' with gdal.
There are some commercial systems and clouds, or you try ODM (Open Drone
Map).
You may also need ground control points etc.

The resulting (georeferenced) orthophoto can be handled in QGIS.

___
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] A few question

2020-07-02 Thread blubee blubeeme
I have some aerial images;
I created a new raster layer and imported the images named IMG_xxx.JPG

Watching the shell I get this output:
Warning 4: Failed to open /usr/share/qgis/resources/data/world_map.gpkg:
Permission denied.

then one of the below messages for each picture that's being imported.
proj_concatoperation_get_step_count: Object is not a ConcatenatedOperation

The files are successfully imported though.

After that I go select misc -> merge; I selected all the layers in the
input selection then run the process; here's the output log:
QGIS version: 3.10.4-A Coruña
Qt version: 5.12.8
GDAL version: 3.0.4
GEOS version: 3.8.0-CAPI-1.13.1
PROJ version: Rel. 6.3.1, February 10th, 2020
Processing algorithm…
Algorithm 'Merge' starting…
Input parameters:
{ 'DATA_TYPE' : 5, 'EXTRA' : '', 'INPUT' :
['/home/bb/Pictures/g/100MEDIA/IMG_0563.JPG','/home/bb/Pictures/IMG_0564.JPG','/home/bb/Pictures/IMG_0565.JPG','/home/bb/Pictures/IMG_0566.JPG','/home/bb/Pictures/IMG_0567.JPG','/home/bb/Pictures/IMG_0568.JPG','/home/bb/Pictures/IMG_0569.JPG','/home/bb/Pictures/IMG_0570.JPG','/home/bb/Pictures/IMG_0571.JPG','/home/bb/Pictures/IMG_0572.JPG','/home/bb/Pictures/IMG_0573.JPG','/home/bb/Pictures/IMG_0574.JPG','/home/bb/Pictures/IMG_0575.JPG','/home/bb/Pictures/IMG_0576.JPG','/home/bb/Pictures/IMG_0577.JPG','/home/bb/Pictures/IMG_0578.JPG','/home/bb/Pictures/IMG_0579.JPG','/home/bb/Pictures/IMG_0580.JPG','/home/bb/Pictures/IMG_0581.JPG','/home/bb/Pictures/IMG_0582.JPG','/home/bb/Pictures/IMG_0583.JPG','/home/bb/Pictures/IMG_0584.JPG','/home/bb/Pictures/IMG_0585.JPG','/home/bb/Pictures/IMG_0586.JPG','/home/bb/Pictures/IMG_0587.JPG','/home/bb/Pictures/IMG_0588.JPG','/home/bb/Pictures/IMG_0589.JPG','/home/bb/Pictures/IMG_0590.JPG'],
'NODATA_INPUT' : None, 'NODATA_OUTPUT' : None, 'OPTIONS' : '', 'OUTPUT' :
'TEMPORARY_OUTPUT', 'PCT' : False, 'SEPARATE' : False }

GDAL command:
gdal_merge.py -ot Float32 -of GTiff -o
/tmp/processing_1e6f694008d5443481b352b46367bb19/c6d4199e2d3c4023aaf0cef72b6d9d26/OUTPUT.tif
--optfile
/tmp/processing_1e6f694008d5443481b352b46367bb19/65b50c4c9a7044cfb210b0a46cead53c/mergeInputFiles.txt
GDAL command output:
0...10...20...30...40...50...60...70...80...90...100 - done.

Execution completed in 17.24 seconds
Results:
{'OUTPUT':
'/tmp/processing_1e6f694008d5443481b352b46367bb19/c6d4199e2d3c4023aaf0cef72b6d9d26/OUTPUT.tif'}

Loading resulting layers
Algorithm 'Merge' finished

the merged image is a .tiff file that's totally empty

running file on the tmp file:
/tmp/processing_1e6f694008d5443481b352b46367bb19/c6d4199e2d3c4023aaf0cef72b6d9d26/OUTPUT.tif:
TIFF image data, little-endian, direntries=13, height=3648, bps=170,
compression=none, PhotometricIntepretation=BlackIsZero, width=5472

output from the file command for one of the input images:
file Pictures/IMG_0586.JPG
Pictures/IMG_0586.JPG: JPEG image data, Exif standard: [TIFF image data,
little-endian, direntries=18, height=3648, bps=866, description=default,
manufacturer=Hasselblad, model=L1D-20c, orientation=upper-left,
width=5472], baseline, precision 8, 5472x3648, components 3

Is this just an issue with the images or something wrong my steps to create
orthomosaic from a series of photos.

Best
___
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