Select to view content in your preferred language

ArcGIS Pro 3.1.5: How to insert "cell size" as a constant in the "times" tool in model builder?

156
3
3 weeks ago
JamalNUMAN
Legendary Contributor

ArcGIS Pro 3.1.5: How to insert "cell size" as a constant in the "times" tool in model builder?

I am unable to figure out how to insert "cell size" as a constant in the "times" tool within model builder.

 

Clip_1234.jpgClip_1231.jpgClip_1232.jpgClip_1233.jpg

----------------------------------------
Jamal Numan
Geomolg Geoportal for Spatial Information
Ramallah, West Bank, Palestine
0 Kudos
3 Replies
RichardHowe
Occasional Contributor III

I can replicate the same issue.

It's not ideal but as workaround could you add the "Create constant raster tool", use the raster properties as the cell value and then feed the output raster from that into the tool as "raster 2"

JamalNUMAN
Legendary Contributor

Thank you, Richard Howe, for your help.
I noticed that the "Create Constant Raster" tool requires manually inputting the cell size. I'm not sure why it doesn't automatically take the value from the input layer, meaning we have to set it manually again.

 

Clip_1235.jpg

----------------------------------------
Jamal Numan
Geomolg Geoportal for Spatial Information
Ramallah, West Bank, Palestine
0 Kudos
RichardHowe
Occasional Contributor III

@JamalNUMAN  Yes it still needs that as a parameter, but it will accept a raster properties derived cell size as an input (unlike the Times tool).