" just set your output extent and cell size (ArcToolbox environment settings or Spatial Analyst toolbar options) to match your DEM then use $$YMAP built in scalar variable in a SOMA/MOMA tool or Raster Calculator expression:
E.g. C:\workspace\latgrid = $$YMAP"
hmm, sorry, I don't understand that. Note I don't use ArcInfo or so...
yesterday i found this solution:
"1. Create two fields in the attribute table, using type Long Integer.
2. Right-click on each field and select the Field Calculator.
3. Enter the following equation:
Field1:
Int(Abs((X - ) / Z) + 1)
Field2:
Int(Abs((Y - ) / Z) + 1)
Where X and Y are the starting X/Y location of the raster, and are the X/Y location of the point, and Z is the pixel size.
For Example:
Int(Abs ((-80 - ) / .00083333333) + 1)
Int(Abs ((35 - ) / .00083333333) + 1)
Where -80 and 35 are the starting X/Y location of the raster, and are the X/Y location of the point, and .00083333333 is the pixel size. "
Find it quite complicated but would do that. unfortunately I get an error in the field calculator. Maybe you know what and stand for?
Best, Esther