[Qgis-user] v3.40.6-Bratislava - Clip Raster by Mask Layer

Tom Haws tom.haws at gmail.com
Thu May 8 13:00:29 PDT 2025


Greetings.
I am a novice trying to Clip Raster by Mask Layer as shown at this Youtube
video <https://youtu.be/he75e2BW_mo?si=s3sTV22RFOm-fJYt&t=885>. But when I
click Run, I get this message. Can you help me resolve it? (This is not
something I have ever done before. I am learning.) See more details below.

GDAL command:
gdalwarp -overwrite -s_srs EPSG:2903 -t_srs EPSG:2903 -of GTiff -cutline
C:/Dropbox/M25020-Tampico/2-Work/GIS/AOI.shp -cl AOI -crop_to_cutline
C:/Dropbox/M25020-Tampico/2-Work/GIS/USGS_OPR_NM_MRCOG_2018.tif
C:/Users/tomha/AppData/Local/Temp/processing_pKKecn/9e1cd4a6e5ed488a96d96ddcc61eda62/OUTPUT.tif
GDAL command output:
ERROR 1: PROJ: proj_create_from_database: C:\OSGeo4W\share\proj\proj.db
contains DATABASE.LAYOUT.VERSION.MINOR = 2 whereas a number >= 4 is
expected. It comes from another PROJ installation.
ERROR 1: Invalid SRS for -s_srs
Usage: gdalwarp [--help] [--long-usage] [--help-general]
[--quiet] [-overwrite] [-of <output_format>] [-co <NAME>=<VALUE>]...
[-s_srs <srs_def>]
[-t_srs <srs_def>]
[[-srcalpha]|[-nosrcalpha]]
[-dstalpha] [-tr <xres> <yres>|square] [-ts <width> <height>] [-te <xmin>
<ymin> <xmax> <ymax>]
[-te_srs <srs_def>] [-r
near|bilinear|cubic|cubicspline|lanczos|average|rms|mode|min|max|med|q1|q3|sum]

[-ot Byte|Int8|[U]Int{16|32|64}|CInt{16|32}|[C]Float{32|64}]
<src_dataset_name>... <dst_dataset_name>

# VERSION
QGIS version
3.40.6-Bratislava
QGIS code revision
5d7f6a3e26

Libraries
Qt version
5.15.13
Python version
3.12.10
GDAL version
3.10.3
PROJ version
9.6.0 (Compiled)
9.5.0 (Running)
EPSG Registry database version
()
GEOS version
3.13.1-CAPI-1.19.2
SQLite version
3.46.1
PDAL version
2.8.3
PostgreSQL client version
unknown
SpatiaLite version
5.1.0
QWT version
6.3.0
QScintilla2 version
2.14.1
OS version
Windows 10 Version 2009

Active Python plugins
db_manager
0.1.20
grassprovider
2.12.99
MetaSearch
0.3.6
processing
2.12.99
--
Tom Haws 480-201-5476 (founder of NPS <http://npsge.org/> 480-389-4583)
I am looking to join financial and intellectual forces with like minds and
hearts to buy (or build) and hold apartment complexes in perpetual
trusts. Let's
talk.
I am transitioning away from this personal address (to
NPSGlobalinc at gmail.com) for engineering.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20250508/dd4a91b9/attachment.htm>


More information about the QGIS-User mailing list