Dear all
Beacuse our professor ask us to make each grid into table ( he sayed that let each grid exist number...
so i need to use raster calculator
Professor give us formula : [your dem] - [your dem] + $$rowmap * $$ncols + $$colmap
ps. My original dem is alisan20mdem
and it will into.....like this pic
(my prsfessor 's version is 9.3 and I was 10.2.2 )
so..i type formula on and got error message
At first i thought that problem is about Alisan20m1.img , so i delete it
but i found the main problem is $$rowmap !!! if i type it on , it would show error message .
but i leave the formula that[ Alisan20m1.img - Alisan20m1.img ] and the message disappeared .
what can i do ?? please teasch me....thank you very much
$$ROWMAP and $$COLMAP are not supported in the 10.x Raster Calculator. Sorry about that. There are some workarounds but they aren't pretty and involve using Python scripting - not the Raster Calculator.
Dear Curtis
I have linked that the net of your posted
I donnt know how to use the code that you shared.
I am so sorry that i am not good at reading english ..(I am taiwanese
can u tach me how to do that step by step ? plz...
I don't think there is an easy way to do this in 10.x.
I would look into the Create Fishnet tool, which will create polygons on a regular grid.
What exactly are you trying to accomplish?