TransWikia.com

Extent projection problems with v.distance to raster

Geographic Information Systems Asked by MJM on July 9, 2021

I get the following error in my graphical modeler run log when trying to convert a point shapefile to a raster after running v.distance:

Running Convert distance to nearest populated location to raster
[33/55] Input Parameters: { GRASS_MIN_AREA_PARAMETER: 0.0001,
GRASS_RASTER_FORMAT_META: ”, GRASS_RASTER_FORMAT_OPT: ”,
GRASS_REGION_CELLSIZE_PARAMETER: 25, GRASS_REGION_PARAMETER:
‘Polygon?crs=EPSG:3400&field=id:integer(0,0)&uid={4e16a4ae-b3c2-4bb3-9063-0d09941d7c24}’,
GRASS_SNAP_TOLERANCE_PARAMETER: -1, attribute_column: ‘pop_dist’,
input: ”, label_column: ”, memory: 300, output:
‘C:/Users/Matthew/AppData/Local/Temp/processing_BydqZs/e147c79588ec4a2a8f29fc503b4ee010/output.rst’,
rgb_column: ”, type: [0], use: 0, value: 1, where: ” } g.proj -c
wkt="C:/Users/Matthew/AppData/Local/Temp/processing_BydqZs/61af0e012cd44100989ce13a41fb96bf/crs.prj"
v.in.ogr min_area=0.0001 snap=-1.0 input="."
output="vector_60a2a4d19760b74" –overwrite -o g.region
n=6030132.95375129 s=5997800.71795292 e=403880.634734779
w=334624.120789471 res=25.0 v.to.rast input=vector_60a2a4d19760b74
type="point" use="attr" attribute_column=pop_dist value=1 memory=300
output=outputf4ea9887c5014359b5ec095716b3300e –overwrite g.region
raster=outputf4ea9887c5014359b5ec095716b3300e r.out.gdal -t -m
input="outputf4ea9887c5014359b5ec095716b3300e"
output="C:UsersMatthewAppDataLocalTempprocessing_BydqZse147c79588ec4a2a8f29fc503b4ee010output.rst"
format="RST" –overwrite Starting GRASS GIS… WARNING: Concurrent
mapset locking is not supported on Windows Cleaning up temporary
files… Executing
<C:UsersMatthewAppDataLocalTempprocessing_BydqZsgrassdatagrass_batch_job.cmd>
… C:UsersMatthewDocuments>chcp 1252 1>NUL
C:UsersMatthewDocuments>g.proj -c
wkt="C:/Users/Matthew/AppData/Local/Temp/processing_BydqZs/61af0e012cd44100989ce13a41fb96bf/crs.prj"
Projection information updated C:UsersMatthewDocuments>v.in.ogr
min_area=0.0001 snap=-1.0 input="." output="vector_60a2a4d19760b74"
–overwrite -o WARNING: Projection of layer is different from projection of layer <break_location> ERROR: Detected different
projections of input layers. Input layers must be imported separately.
C:UsersMatthewDocuments>g.region n=6030132.95375129
s=5997800.71795292 e=403880.634734779 w=334624.120789471 res=25.0
C:UsersMatthewDocuments>v.to.rast input=vector_60a2a4d19760b74
type="point" use="attr" attribute_column=pop_dist value=1 memory=300
output=outputf4ea9887c5014359b5ec095716b3300e –overwrite ERROR:
Vector map <vector_60a2a4d19760b74> not found

This operation is being performed in the graphical modeler, and it doesn’t have a problem with this extent layer anywhere else and the results are a-ok.

I have added a define projection and reproject layer operations to the extent layer operation, but the same error comes up.

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP