|
POST
|
What is the Type for this field? Is it String, Short, Long, Float, Double? it is double.
... View more
05-26-2011
01:35 PM
|
0
|
0
|
2567
|
|
POST
|
convert the tif to an ESRI grid using the IPRIM field but using which tool can i convert the TIF to ESRI GIRID?
... View more
05-26-2011
01:33 PM
|
0
|
0
|
3986
|
|
POST
|
It depends on what you want to do with the raster. You could just create a new raster where the field you want is the "Value" field and then just use that raster as a "zone". Or you could just change the symbology so that it represents the field you want. Another method would be to covert your raster to a polygon based on the field you want, then use the dissolve and convert back to a raster. As far as I know there is no "raster dissolve" tool. You could also use some sort of conditional statement as well if you want to dive into that. Thank you for the answer Kyle. please, have a look on the attached image that shows that i cant convert the raster to polygons according the Iprime field that contain real numbers what I'm looking for is to have a raster that has only the values: 0.2, 0.4, 0.6, 0.8 and 1. (out of the given raster) then this raster (Iprime) is intended to be combined with another raster (CtachType) that has the values: a, b, c and d. then a field is added to the combined raster and its values are calculated according to the following if statement: ------------------------------------------------------------------------------------------ if [CtachType] = "a" then Select Case [Iprime] Case .2 OP= 0 Case .4 OP= 0 Case .6 OP= 0 Case .8 OP= 0 Case 1 OP= 0 end select else if [CtachType] = "b" then Select Case [Iprime] Case .2 OP= .2 Case .4 OP= .4 Case .6 OP= .6 Case .8 OP= .8 Case 1 OP= 1 end select else if [CtachType] = "c" then Select Case [Iprime] Case .2 OP= .4 Case .4 OP= .6 Case .6 OP= .8 Case .8 OP= 1 Case 1 OP= 1 end select else if [CtachType] = "d" then Select Case [Iprime] Case .2 OP= .6 Case .4 OP= .8 Case .6 OP= 1 Case .8 OP= 1 Case 1 OP= 1 end select end if end if end if end if ----------------------------------------------------------------------------- this is why i need the resulted raster to have only the values 0.2, 0.4, 0.6, 0.8 and 1. but how can i do that? regards Jamal
... View more
05-26-2011
11:49 AM
|
0
|
0
|
3986
|
|
POST
|
sorry for the mistake in the title of this post. it should be: why the "Raster to polygon" tool takes only the fields that contain integer numbers? Does the tool "Raster to polygon" take only the fields that contain only integer number? please, see the attached image that shows my question why the "Raster to polygon" tool takes only the fields that contain real numbers? what i should do if i have a field that contain Real number? what's wrong with the real numbers??? than you regards Jamal
... View more
05-26-2011
11:31 AM
|
0
|
9
|
2872
|
|
POST
|
what is the "Dissolve" tool for rasters? please, see the attached image that shows my question I'm trying to dissolve the cell of the raster based on the Iprime field, but couldn't fine an equivalent tool. I tried to use the "reclassify" tool but resulted raster was meaningless! thank you regards Jamal
... View more
05-26-2011
10:29 AM
|
0
|
14
|
6991
|
|
POST
|
use "combine" to produce the unique conditions if you don't want to do the nested "con" statements, then query for your cases. It is all documented in the help files Thank you Patterson. i used the combine tool then i added a new field at which i applied the if statement. it did work ---------------------------------------------------------------------------------------------------- if [LANDUSE] = 1 then if [HYDRCOND] = 1 then Select Case [SLOPE] Case 1 oo = .6 Case 2 oo =.4 Case 3 oo =.2 Case Else oo =0 End Select else if [HYDRCOND] = 2 then Select Case [SLOPE] Case 1 oo = .8 Case 2 oo =.4 Case 3 oo =.2 Case Else oo =0 End Select end if end if else if [LANDUSE] = 2 then if [HYDRCOND] = 1 then Select Case [SLOPE] Case 1 oo = .8 Case 2 oo =.6 Case 3 oo =.4 Case Else oo =0 End Select else if [HYDRCOND] = 2 then Select Case [SLOPE] Case 1 oo = 1 Case 2 oo =.6 Case 3 oo =.4 Case Else oo =0 End Select end if end if end if end if --------------------------------------------------------------------------------------------------------- Regards Jamal
... View more
05-26-2011
09:32 AM
|
0
|
0
|
1224
|
|
POST
|
Con http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//009z00000005000000.htm Thank you for the answer Patterson. i couldn't manage how to use the "Con" tool to fit my case! (attached). the help doesn't show what I'm looking for...! Could you please elaborate more how can i use this tool? how can i use it to apply the first condition? --------------------------------------------------------------------------------------------- if [Type] = "Forest" and [FlowType] = "TYPE D" and [Slope] = 1 then op = .8 --------------------------------------------------------------------------------------------- regards Jamal
... View more
05-25-2011
02:58 PM
|
0
|
0
|
1224
|
|
POST
|
(again): How to construct this IF Statement to obtain the value of the cell from 3 rasters? please, see the attached image that shows my question explanation: the value of the cell in the result raster (donated by op) is obtained by the following if statement ---------------------------------------------------------------- if [Type] = "Forest" and [FlowType] = "TYPE D" and [Slope] = 1 then op = .8 if [Type] = "Forest" and [FlowType] = "TYPE D" and [Slope] = 2 then op = .6 if [Type] = "Forest" and [FlowType] = "TYPE D" and [Slope] = 3 then op = .4 if [Type] = "Forest" and [FlowType] = "TYPE E" and [Slope] = 1 then op = 1 if [Type] = "Forest" and [FlowType] = "TYPE E" and [Slope] = 2 then op = .6 if [Type] = "Forest" and [FlowType] = "TYPE E" and [Slope] = 3 then op = .4 if [Type] = "FieldCrop-Shrub" and [FlowType] = "TYPE D" and [Slope] = 1 then op = .6 if [Type] = "FieldCrop-Shrub" and [FlowType] = "TYPE D" and [Slope] = 2 then op = .4 if [Type] = "FieldCrop-Shrub" and [FlowType] = "TYPE D" and [Slope] = 3 then op = .2 if [Type] = "FieldCrop-Shrub" and [FlowType] = "TYPE E" and [Slope] = 1 then op = .8 if [Type] = "FieldCrop-Shrub" and [FlowType] = "TYPE E" and [Slope] = 2 then op = .4 if [Type] = "FieldCrop-Shrub" and [FlowType] = "TYPE E" and [Slope] = 3 then op = .2 -------------------------------------------------------------------------------------------------------------- how can i obtained this value given the 3 rasters and all the combinations above? how to construct such if statement to deal with these raster? is there any tool in ArcGIS to perform this? thank you regards Jamal
... View more
05-25-2011
12:20 PM
|
0
|
4
|
1504
|
|
POST
|
How to multiply two layers according specific fields? please, see the attached image that shows my question explanation: I've two rasters shown in the attachment, i need to multiply them based on the R_factor field in the first raster and the A_Factor field in the second raster. how can i perform this multiplication based on these two fields? thank you regards Jamal
... View more
05-25-2011
12:30 AM
|
0
|
2
|
1064
|