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

Tom Haws tom.haws at gmail.com
Fri May 9 00:03:15 PDT 2025


Andrea,
With a clean install of 3.40.6 (Bratislava) LTS, Clip Raster by Mask Layer
seems to work. But I got the following error. Can you enlighten me? For
reference, the project, raster, and mask all have the same CRS. And my
Settings are set to use Project CRS for new layers.
GDAL command:
gdalwarp -overwrite -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_MibKvY/08ef672574f64cf482fb5c2c4ad52fb3/OUTPUT.tif
GDAL command output:
ERROR 6: Cannot find coordinate operations from `{
"$schema": "https://proj.org/schemas/v0.7/projjson.schema.json",
"type": "ProjectedCRS",
"name": "unknown",
"base_crs": {
"type": "GeographicCRS",
"name": "unknown",
"datum": {
"type": "GeodeticReferenceFrame",
"name": "D_Unknown_based_on_GRS_1980_ellipsoid",
"ellipsoid": {
"name": "GRS 1980",
"semi_major_axis": 6378137,
"inverse_flattening": 298.257222101,
"id": {
"authority": "EPSG",
"code": 7019
}
}
},
"coordinate_system": {
"subtype": "ellipsoidal",
"axis": [
{
"name": "Longitude",
"abbreviation": "lon",
"direction": "east",
"unit": {
"type": "AngularUnit",
"name": "Degree",
"conversion_factor": 0.0174532925199433
}
},
{
"name": "Latitude",
"abbreviation": "lat",
"direction": "north",
"unit": {
"type": "AngularUnit",
"name": "Degree",
"conversion_factor": 0.0174532925199433
}
}
]
}
},
"conversion": {
"name": "unnamed",
"method": {
"name": "Transverse Mercator",
"id": {
"authority": "EPSG",
"code": 9807
}
},
"parameters": [
{
"name": "Latitude of natural origin",
"value": 31,
"unit": {
"type": "AngularUnit",
"name": "Degree",
"conversion_factor": 0.0174532925199433
},
"id": {
"authority": "EPSG",
"code": 8801
}
},
{
"name": "Longitude of natural origin",
"value": -106.25,
"unit": {
"type": "AngularUnit",
"name": "Degree",
"conversion_factor": 0.0174532925199433
},
"id": {
"authority": "EPSG",
"code": 8802
}
},
{
"name": "Scale factor at natural origin",
"value": 0.9999,
"unit": "unity",
"id": {
"authority": "EPSG",
"code": 8805
}
},
{
"name": "False easting",
"value": 1640416.667,
"unit": {
"type": "LinearUnit",
"name": "US survey foot",
"conversion_factor": 0.304800609601219
},
"id": {
"authority": "EPSG",
"code": 8806
}
},
{
"name": "False northing",
"value": 0,
"unit": {
"type": "LinearUnit",
"name": "US survey foot",
"conversion_factor": 0.304800609601219
},
"id": {
"authority": "EPSG",
"code": 8807
}
}
]
},
"coordinate_system": {
"subtype": "Cartesian",
"axis": [
{
"name": "Easting",
"abbreviation": "E",
"direction": "east",
"unit": {
"type": "LinearUnit",
"name": "US survey foot",
"conversion_factor": 0.304800609601219
}
},
{
"name": "Northing",
"abbreviation": "N",
"direction": "north",
"unit": {
"type": "LinearUnit",
"name": "US survey foot",
"conversion_factor": 0.304800609601219
}
}
]
}
}' to `{
"$schema": "https://proj.org/schemas/v0.7/projjson.schema.json",
"type": "EngineeringCRS",
"name": "NAD83(HARN) / New Mexico Central (ftUS) + NAVD88 height (ftUS)",
"datum": {
"name": "Unknown engineering datum"
},
"coordinate_system": {
"subtype": "Cartesian",
"axis": [
{
"name": "Easting",
"abbreviation": "",
"direction": "east",
"unit": "metre"
},
{
"name": "Northing",
"abbreviation": "",
"direction": "north",
"unit": "metre"
}
]
}
}'
ERROR 6: Cannot find coordinate operations from `{
"$schema": "https://proj.org/schemas/v0.7/projjson.schema.json",
"type": "ProjectedCRS",
"name": "unknown",
"base_crs": {
"type": "GeographicCRS",
"name": "unknown",
"datum": {
"type": "GeodeticReferenceFrame",
"name": "D_Unknown_based_on_GRS_1980_ellipsoid",
"ellipsoid": {
"name": "GRS 1980",
"semi_major_axis": 6378137,
"inverse_flattening": 298.257222101,
"id": {
"authority": "EPSG",
"code": 7019
}
}
},
"coordinate_system": {
"subtype": "ellipsoidal",
"axis": [
{
"name": "Longitude",
"abbreviation": "lon",
"direction": "east",
"unit": {
"type": "AngularUnit",
"name": "Degree",
"conversion_factor": 0.0174532925199433
}
},
{
"name": "Latitude",
"abbreviation": "lat",
"direction": "north",
"unit": {
"type": "AngularUnit",
"name": "Degree",
"conversion_factor": 0.0174532925199433
}
}
]
}
},
"conversion": {
"name": "unnamed",
"method": {
"name": "Transverse Mercator",
"id": {
"authority": "EPSG",
"code": 9807
}
},
"parameters": [
{
"name": "Latitude of natural origin",
"value": 31,
"unit": {
"type": "AngularUnit",
"name": "Degree",
"conversion_factor": 0.0174532925199433
},
"id": {
"authority": "EPSG",
"code": 8801
}
},
{
"name": "Longitude of natural origin",
"value": -106.25,
"unit": {
"type": "AngularUnit",
"name": "Degree",
"conversion_factor": 0.0174532925199433
},
"id": {
"authority": "EPSG",
"code": 8802
}
},
{
"name": "Scale factor at natural origin",
"value": 0.9999,
"unit": "unity",
"id": {
"authority": "EPSG",
"code": 8805
}
},
{
"name": "False easting",
"value": 1640416.667,
"unit": {
"type": "LinearUnit",
"name": "US survey foot",
"conversion_factor": 0.304800609601219
},
"id": {
"authority": "EPSG",
"code": 8806
}
},
{
"name": "False northing",
"value": 0,
"unit": {
"type": "LinearUnit",
"name": "US survey foot",
"conversion_factor": 0.304800609601219
},
"id": {
"authority": "EPSG",
"code": 8807
}
}
]
},
"coordinate_system": {
"subtype": "Cartesian",
"axis": [
{
"name": "Easting",
"abbreviation": "E",
"direction": "east",
"unit": {
"type": "LinearUnit",
"name": "US survey foot",
"conversion_factor": 0.304800609601219
}
},
{
"name": "Northing",
"abbreviation": "N",
"direction": "north",
"unit": {
"type": "LinearUnit",
"name": "US survey foot",
"conversion_factor": 0.304800609601219
}
}
]
}
}' to `{
"$schema": "https://proj.org/schemas/v0.7/projjson.schema.json",
"type": "EngineeringCRS",
"name": "NAD83(HARN) / New Mexico Central (ftUS) + NAVD88 height (ftUS)",
"datum": {
"name": "Unknown engineering datum"
},
"coordinate_system": {
"subtype": "Cartesian",
"axis": [
{
"name": "Easting",
"abbreviation": "",
"direction": "east",
"unit": "metre"
},
{
"name": "Northing",
"abbreviation": "",
"direction": "north",
"unit": "metre"
}
]
}
}'
Creating output file that is 4277P x 1390L.
Processing C:/Dropbox/M25020-Tampico/2-Work/GIS/USGS_OPR_NM_MRCOG_2018.tif
[1/1] : 0...10...20...30...40...50...60...70...80...90...100 - done.
Process completed successfully
Execution completed in 0.70 seconds
Results:
  OUTPUT:
C:/Users/tomha/AppData/Local/Temp/processing_MibKvY/08ef672574f64cf482fb5c2c4ad52fb3/OUTPUT.tif

Loading resulting layers
Algorithm 'Clip raster by mask layer' finished
--
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.




On Thu, May 8, 2025 at 4:19 PM Andrea Giudiceandrea via QGIS-User <
qgis-user at lists.osgeo.org> wrote:

> > Tom Haws tom.haws at gmail.com
> > Thu May 8 13:00:29 PDT 2025
>
> > PROJ version
> > 9.6.0 (Compiled)
> > 9.5.0 (Running)
> > EPSG Registry database version
> > ()
>
> Hi Tom,
> it looks like not all the packages in your OSGeo4W installation are
> up-to-date.
>
> In particular, the PROJ library related packages are not up-to-date.
>
> Very likely the issue will not occur after updating the installed packages.
>
> Regards.
>
> Andrea
> _______________________________________________
> QGIS-User mailing list
> QGIS-User at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20250509/ca02c8e9/attachment.htm>


More information about the QGIS-User mailing list