Extract by mask

2064
7
08-10-2021 01:44 AM
A_n_d_r_e_a
New Contributor III

Dear Community,

i have got a little problem with the "Extract by Mask" toolset.

I`ve got a multidimensional raster layer and I want to cut it by a country border mask.

But I am using the time slider and after extracting it, there is no time field in the properties after cutting it. So i can't use the time slider and the animation after that.

Why is it like that?

 

Thanks in advance!

Greetings,

Andrea

0 Kudos
7 Replies
DanPatterson
MVP Esteemed Contributor

I think the clue lies in.... Extract by Mask (Spatial Analyst)—ArcGIS Pro | Documentation

  • The default output format is a geodatabase raster.
  • Additional attributes from the input raster, if any, will be carried over as-is to the output raster attribute table. Depending on the property being recorded, some of the attribute values may need to be recalculated.

What is the output format? and is the time field calculated?

There are also several Related questions to the right of your question post... maybe one of those is related to yours

Try *.tif as an output file type.

 


... sort of retired...
0 Kudos
A_n_d_r_e_a
New Contributor III

Hey Dan,

thanks for your answer.

I just uploaded a pic, but there is no option to choose some data formate. Just extract it by a border mask.

 

Greetings,

Andrea

0 Kudos
DanPatterson
MVP Esteemed Contributor

Andrea.

Your raster mask name.... What is it?, I hope it isn't an esri grid.  It seems to begin with an _ and contains too many characters and contains punctuation ( aka ( ) )  

You should be using *.tif files and saving to a folder, you have to add *.tif ( my_mask.tif ) to get a tif, if you specify a folder location without an extension you get an esri raster/grid.  If you specify a geodatabase you get a gdb raster... *.tif works and is recommended as the "preferred" raster format (can't find the help link right now)


... sort of retired...
0 Kudos
A_n_d_r_e_a
New Contributor III

There is no abbreviation behind the raster name. But in the properties you can see it is an AFR. Whatever that is supposed to mean. 🙂 I already searched for a converting tool for that into a .tif formate, but haven`t found it yet.

Maybe you know more...

Thanks in advance!

0 Kudos
DanPatterson
MVP Esteemed Contributor

Copy Raster .... save to a folder with a *.tif extension


... sort of retired...
0 Kudos
YuWang1
Esri Contributor

Hello Andrea. My name is Yu Wang, a Product Engineer from Spatial Analyst team. As you mentioned in your thread, you are using a multidimensional raster layer, however, “Extract by Mask” tool does not support multidimensional input. When you have a multidimensional raster data as input, only the first slice will be processed. The proper tool is to use the Subset Multidimensional Raster tool and set the extent using your mask data. Here are two pictures showing the process:

YuWang1_0-1629413570488.png

Please let me know if you have any questions.

0 Kudos
A_n_d_r_e_a
New Contributor III

Hello YuWang,

thanks for your informative response!

I just tried it, but if I use a polygon Layer as a Country border it is not working.

The extent stays the same like the raster extent.

 

Thanks in advance!

 

Greetings,

Andrea

 

0 Kudos