Select to view content in your preferred language

transplant a mountain (raster) elsewhere

1081
5
01-15-2013 04:32 AM
bartwillemse
Emerging Contributor
hi,
I'm trying to transplant a mountain elevation GRID from one country to another. Anyone got an idea how to do this?
Grtz
Bart
0 Kudos
5 Replies
MelitaKennedy
Esri Notable Contributor
Do you mean you want to change the data's coordinate system so that the data is a different location? Ex. Move a raster that represents London, England and have it show up on the Rhine instead? If so, you could georeference the raster again. Or if it's in a projected coordinate system like UTM, redefine the coordinate system to a different UTM zone, or otherwise modify the projection parameters of the existing PCS definition.

Melita
0 Kudos
bartwillemse
Emerging Contributor
hi Melita,
Thx for the advise. I'm going to try to georeference the area. I'll keep you updated on the progress.
Grtz Bart
0 Kudos
bartwillemse
Emerging Contributor
Georeferencing does not work. Either the data vanishes or the data stays on its orginal location. Any other idea's?
0 Kudos
TOMKONG
Deactivated User
Georeferencing does not work. Either the data vanishes or the data stays on its orginal location. Any other idea's?


After you export it as Tif (or remove its spatial reference file), then you can georeference it to new location.
Or you can:
1.Convert your raster data to point feature class
2.Open point class attribute table, add X & Y fields and calculate their geometry to get X & Y for each point;
3.Just get one point spot X1&Y1 in the original map, and one new spot X 2& Y2 you want to place to; then get (x2-x1) & (y2-y1), write down both value;
4.Go to point class attribute table, create two fields NewX and NewY, then using field caculation to get NewX= X + (X2-X1) from 3 and NewY.
5.Export point class' table as one standalone table, then bring it to Map and display it by using NewX & NewY coordinates, export it as one feature class.
6.Convert this new point feature class to raster - your target.
0 Kudos
MichaelStjernholm
Regular Contributor
I've used shift_management function : e.g.

    arcpy.Shift_management ("clipRaster.tif", outRaster,dX, dY)

That will move you mountain raster any number of X and Y units you want 🙂
Michael
0 Kudos