-
-
Notifications
You must be signed in to change notification settings - Fork 416
Closed
Labels
Description
Describe the bug
Reprojecting vector or raster map in Data tab causes a error/warning message in the console. The reprojection succeeds, so this is mostly an annoyance.
TypeError
:
Validate() takes 1 positional argument but 2 were given
See full console output below.
Vector:
TypeError
:
Validate() takes 1 positional argument but 2 were given
(Tue Jan 26 08:56:57 2021)
v.proj dbase=/Volumes/grassdata location=nc_spm_08 mapset=user1 input=railroads_copy output=railroads_copy smax=10000
Input CRS definition converted from '+proj=lcc +lat_1=36.16666666666666 +lat_2=34.33333333333334 +lat_0=33.75 +lon_0=-79 +x_0=609601.22 +y_0=0 +no_defs +a=6378137 +rf=298.257222101 +towgs84=0.000,0.000,0.000 +type=crs ' to '+proj=lcc +lat_0=33.75 +lon_0=-79 +lat_1=36.1666666666667 +lat_2=34.3333333333333 +x_0=609601.22 +y_0=0 +ellps=GRS80 +units=m +no_defs +type=crs'
Output CRS definition converted from '+proj=utm +no_defs +zone=17 +a=6378137 +rf=298.257223563 +towgs84=0.000,0.000,0.000 +type=crs ' to '+proj=utm +zone=17 +ellps=WGS84 +units=m +no_defs +type=crs'
Reprojecting primitives ...
Building topology for vector map <railroads_copy@PERMANENT>...
Registering primitives...
GRASS_INFO_PROGRESS: 10000
(Tue Jan 26 08:57:01 2021) Command finished (4 sec)
Raster:
r.proj dbase=/Volumes/grassdata location=nc_spm_08 mapset=user1 input=testelev output=testelev method=bilinear
TypeError
:
Validate() takes 1 positional argument but 2 were given
Input CRS definition converted from '+proj=lcc +lat_1=36.16666666666666 +lat_2=34.33333333333334 +lat_0=33.75 +lon_0=-79 +x_0=609601.22 +y_0=0 +no_defs +a=6378137 +rf=298.257222101 +towgs84=0.000,0.000,0.000 +type=crs ' to '+proj=lcc +lat_0=33.75 +lon_0=-79 +lat_1=36.1666666666667 +lat_2=34.3333333333333 +x_0=609601.22 +y_0=0 +ellps=GRS80 +units=m +no_defs +type=crs'
Output CRS definition converted from '+proj=utm +no_defs +zone=17 +a=6378137 +rf=298.257223563 +towgs84=0.000,0.000,0.000 +type=crs ' to '+proj=utm +zone=17 +ellps=WGS84 +units=m +no_defs +type=crs'
Input:
Cols: 500 (original: 500)
Rows: 450 (original: 450)
North: 228500.000000 (original: 228500.000000)
South: 215000.000000 (original: 215000.000000)
West: 630000.000000 (original: 630000.000000)
East: 645000.000000 (original: 645000.000000)
EW-res: 30.000000
NS-res: 30.000000
Output:
Cols: 499 (original: 500)
Rows: 451 (original: 452)
North: 3965422.819731 (original: 3965453.436973)
South: 3951614.443223 (original: 3951614.443223)
West: 701104.243097 (original: 701073.625855)
East: 716382.247259 (original: 716382.247259)
EW-res: 30.617243
NS-res: 30.617243
Allocating memory and reading input raster map...
Projecting...
r.proj complete.
To Reproduce
Steps to reproduce the behavior:
- Contextual (right button) click in Data Tab on map to project
- Select 'Copy'
- Contextual click>'Paste' in destination location
- See error...
Expected behavior
There should not be any error/warning message.
System description:
- GRASS GIS version: current master
version=7.9.dev
date=2021
revision=6de182bb9
build_date=2021-01-26
build_platform=x86_64-apple-darwin19.6.0
build_off_t_size=8
libgis_revision=82e334827
libgis_date=2021-01-26T07:35:54+00:00
proj=7.2.1
gdal=3.2.1
geos=3.9.0
sqlite=3.34.1
Python 3.9.1 (v3.9.1:1e5d33e9b9, Dec 7 2020, 12:10:52)
[Clang 6.0 (clang-600.0.57)]
4.1.1 osx-cocoa (phoenix) wxWidgets 3.1.5
Reactions are currently unavailable