POST
|
I have a raster with 5 distinct values (1-5).I use a map algebra Operator to execute different expretions and then i use a raster Renderer to give the integer values of the raster colors. When i execute this exprestionToCalculate="con( [fhi] == 1, 1, con( [fhi] > 2, 2))"; the output raster has 2 values 1,2 and -here is the strange - when i run this exprestionToCalculate="con( [fhi] == 1, 1, con( [fhi] == 2, 2, con( [fhi] > 3, 3)))"; the raster has 3 values 1,3 and 2.00000001. I have tried all the compinations and when i have more the 2 con on the save exprestion only the first and the last con return real integer, the other return a number close to an integer (3.00000001, 4.00000001). After i execute the Operator i first save the raster in GRID format and then i make a layer from it useing a raster renderer.
... View more
05-07-2012
03:40 PM
|
0
|
0
|
312
|
POST
|
Hi I am a new developer and i start by running some examples from the ArcObject Java SDK. I try to run the How to create a raster dataset example using the Eclispe as IDE and i have the flowing error AutomationException: 0x80041017 - Failed to create raster dataset in '"esriDataSourcesRaster.RasterWorkspace"' at com.esri.arcgis.interop.NativeObjRef.nativeVtblInvokeNative(Native Method) at com.esri.arcgis.interop.NativeObjRef.a(Unknown Source) at com.esri.arcgis.interop.NativeObjRef.a(Unknown Source) at com.esri.arcgis.interop.Dispatch.vtblInvoke(Unknown Source) at com.esri.arcgis.geodatabase.IRasterWorkspace2Proxy.createRasterDataset(Unknown Source) at arcgissamples.raster.BuildPyramids.createRasterDataset(testCreaRaster.java:103) at arcgissamples.raster.BuildPyramids.main(testCreaRaster.java:74) at arcgissamples.loadsample.Main.main(Main.java:26) I have search the net but i cannot find any answer.
... View more
04-29-2011
02:18 PM
|
0
|
1
|
847
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|