2
votes
1answer
84 views

Getting Uncompressed Size of Raster using ArcObjects?

How can we get the Uncompressed Size of a raster as shown in the layer properties below using ArcObjects?
1
vote
1answer
32 views

Placing a cost raster in Arcmap Table of Contents in 10.2.2

We have a set of routines that have been used for writing rasters to the ArcMap table of contents from our tools. The code that always worked is this: /// <summary> /// Used for ...
0
votes
0answers
52 views

How to get RasterToPolygon working

We have a process that is almost working except for this one call ... This is the one tool function that is requiring a FeatureClass and I found code that I thought would work. Unfortunately all I ...
0
votes
1answer
98 views

Setting a value on a raster where a polygon intersects cells

I reviewed all of the supposed 'answers' and I just do not see that they really answer my question. Mostly because the ones I'm reading are setting values either inside or outside a boundary. So let ...
3
votes
0answers
124 views

How to compute surface of raster or any point using ARCGIS?

I have a raster image whose values are a digital elevation model of terrain. I need to know the surface type (topographic characterization) of particular points along transects of this DEM. How to ...
2
votes
0answers
38 views

Is it possible to preview a raster catalogs raster field in a Windows form?

What I want to achieve: The attribute table for an ArcGIS Raster Catalog contains a raster field. When a raster field cell is clicked with the mouse, a preview window displaying the raster associated ...
0
votes
0answers
18 views

How to iterate the area of uniqueValue in raster?

Here is a figure shows the result of the classify after using "IMultivariateOp.MLClassify",but how can I iterate them? Can I iterate them directory instead of using IRasterWorkspace or ...
1
vote
1answer
78 views

How to get Name of IRaster object using ArcObjects?

I have an IRaster object as output from a function. I need to be able to get the name of that raster. Is there a way that I can do that? I know that I can't mask an IRaster as an IRasterDataset. If I ...
1
vote
2answers
22 views

working with hydrography raster the cost array ignores the end of water

We have our maps laid out using hydrography maps from NOAA. We had to run the graphics through several steps to create the water feature raster. I have a process that pulls in that raster, sets a ...
10
votes
6answers
743 views

How do I iterate through every cell in a continuous raster?

See this link for more details. The Problem: I want to loop through a continuous raster (one that has no attribute table), cell by cell, and get the value of the cell. I want to take those values ...
0
votes
0answers
121 views

How to create a raster dataset from a known decimal extent?

I have an input raster pInputRaster. I want to create a new raster dataset called pOutputRasterDS that is the same width, height and cellsize as my input raster dataset (I'm not worried about ...
2
votes
0answers
160 views

Can I update the service on ArcGis Server programmatically?

There is Windows Service. This service adds user raster data to the Raster Dataset in sde database. The Raster Dataset registred on the ArcGis Server. This Raster Dataset also was publishing on ...
0
votes
1answer
115 views

How to delete raster dataset from sde base programmatically

I use sde database, registered with ArcGis Server 10.1. Sde connection is direct. Database container is postgres. There is a raster dataset in this sde base. I can open this sde database ...
0
votes
1answer
172 views

How to change rasterlayer color?

I have rasterdataset in gdb. I create layer from this rasterdataset. private static void CreateLayer() { ... IRasterLayer rlMosaicDataset = new RasterLayer(); ...
0
votes
0answers
88 views

Floating Point UniqueValueRenderer

I am trying to build a unique value renderer using ArcObjects .NET. All the samples that I have seen use the attribute table to build the UniqueValueRenderer. However, my raster does not have an ...
1
vote
1answer
229 views

ESRI Raster Remap with Decimals

I have a requirement where the user would like to see the output value in a raster as a decimal. The user will input a series of ranges with a cost associated to them. For instance 0-5, 1.20 ...
1
vote
2answers
365 views

Parallel Computing and Raster Operations in ArcObjects gives cryptic error

This is a problem I have been struggling with for awhile. The code below takes 1-3 input feature layers (pFLayer) that were stored into a list called pFeatureLayerCollection, casts them into ...
2
votes
1answer
606 views

Why does copy convert my Tiff raster value range?

Recently I have worked with some raster dataset. And I found there are different kind of raster dataset. Till now I have worked with grid type raster dataset and my add-in works fine with this type. ...
1
vote
1answer
219 views

How to set min and max value for stretchType: esriRasterStretch_PercentMinimumMaximum

How can I set the min and max values for the stretch type "Percent Clip" in arcobjects? It's possible to set the Stretch type: rasterStretch.StretchType = ...
0
votes
1answer
164 views

How to get the absolute raster row / column of rastercell when using ArcObject Raster Cursor?

When using the ArcObject RasterCursor (see snippet below), how do I get the absolute row / column of the current pixel value? IRasterCursor rasterCursor = raster.CreateCursorEx(null); do { ...
2
votes
1answer
98 views

Are there any open source distribution raster merging functions within JTS or GeoTools

I'm looking for something similar to the combine function from the ISelectionSet interface from ArcObject's SDK 10 .NET framework on a more scaled down level. Ergo, I don't plan on using that ...
2
votes
1answer
178 views

ArcObject 10.1 Java : Raster Analysis

I have been working with ArcObjects Java for a short time and have not been able to find a solution to the following problems: How to get the Raster object from a IRaster reference? IRaster raster = ...
3
votes
2answers
292 views

How should I get a Raster out of ArcMap and into Google Earth (.kmz) with transparency

RasterLayerExportClass will only create a .png with a single value transparency, however there is a bug in Google earth which prevents this from working. The other export options don't support ...
1
vote
1answer
1k views

How do I add TIFF files to one layer/raster catalog?

We have several TIFF images (already tagged with position information) we want to load as a single layer into the map. It's the first time I dig into this raster/topology thing, but at least I managed ...
2
votes
1answer
273 views

How to change the raster NoData value with ArcObjects?

I am trying to change the a raster's NoData value with ArcObjects and keep coming up short. Here is the code that I thought would work: IRasterDataset _dataset = ...get the dataset... object[] ...
3
votes
0answers
190 views

How to read pixel values from an image server layer with ArcObjects?

I'm having a problem with reading pixel values from the image server layer. The image server layer class implements IRasterLayer, so when I tried to read pixel values using IRaster2 obtained through ...
2
votes
1answer
568 views

How to change Datasource of a Raster in sde using ArcObjects?

I'm building a C# application that lets the user change their DataSources of all the layers in their MXD. I have it working on FeatureLayers and LYR files but I'm stuck on how to change Raster layers ...
1
vote
1answer
131 views

ESRI ISurface.GetElevation is extremely slow compared to GlobalMapper

I'm using ISurface.GetElevation on a Raster to get the elevation for a specific lat/lon. I have to do this for a huge set of datapoints. Currently i'm testing with a dataset of 10.000 items which ...
2
votes
0answers
237 views

how to buffer a raster cell using Visual Basic ArcObjects in ArcMap [closed]

I am new in visual basic, I have a question about creating a buffer zone based on a raster layer. I have a raster layer named "Value_Raster", I have a textbox in the userform, I also create a tool ...
1
vote
0answers
58 views

Guide for esriRasterOpCode

I'm building dynamic cartographic symbols to display inside ArcMap, but they are displaying "wrong". Is there a guide somewhere that will show what raster op code does? I mean, not only show, but ...
2
votes
0answers
206 views

ArcObjects .NET 9.3 upgrade to 10 breaks IRasterDataset.Copy(…) code

I have to upgrade an application from ArcObjects 9.3 (C# .NET) to 10. Unfortunately, there seems to be some incompatibility regarding the IRasterDataset.Copy method. The following code worked fine in ...
13
votes
5answers
2k views

Is Hillshade option in ArcMap rubbish or is it me?

Here is a pretty pic of the raster I am using - with no effects applied - just the color ramp and historgram adjusted to show out all the relief - all be it in a very 2D way! I have a raster layer ...
2
votes
0answers
105 views

How can I identify the pixel with the maximum value in a grid? [duplicate]

Possible Duplicate: How to find the locations of the highest values in a raster? How can I identify the pixel with the maximum value in a grid and get its coordinates? Any VBA code please?
1
vote
1answer
340 views

How to Create and Rotate Raster Dataset using ArcObjects?

I'm following the "How to create a raster dataset" tutorial: http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#//000100000464000000 The questions are: 1) How can I create ...
2
votes
0answers
293 views

Create custom pixel block size in ArcGIS 10?

I'm using the new IRawBlocks in ArcGIS 10 from the adopted sample in ArcGIS 10 SDK help and I want to create a custom sized pixel block that feeds me a block of values column by column instead of a ...
2
votes
1answer
651 views

DTED/GeoTiff layer: Get elevation under mouse pointer

I have a simple desktop app with a map control. The map data that will be available to show will be either DTED files (Military Analyst's catalog / MADTEDLayer), or GeoTiffs (created by gdal). I want ...
2
votes
1answer
1k views

Adding fields to raster attribute table

I have a raster attribute table associated with an IMAGINE .img raster that I build and open with: IGPUtilities utils = new GPUtilities(); IRasterDatasetEdit2 raster = (IRasterDatasetEdit2) ...
1
vote
0answers
141 views

How to get SplineWithBarriers to work in C#

I have been having fits trying to get SplineWithBarriers to work but to no avail. My environment: Windows 7 64 bit Visual Studio 2010 Team Edition ArcMap Release Version 10.0 Product Version: ...
4
votes
1answer
1k views

Filtering a raster by pixel cluster size in ArcGIS?

I have a raster image representing islands in a river (see image) created using the following process: 1) Clip a water surface DEM and watershed DEM by a bounding polygon (waters' edge). 2) Subtract ...
1
vote
0answers
238 views

Assign Custom Band Combination To Image Catalogs In ArcGIS

I have an image catalog composed of 4 band rasters. I would like to use the same image catalog, and set custom renderers for a true color and false color combination and save each of those catalogs ...
3
votes
2answers
928 views

Fastest way to create an ESRI Grid and populate cell values?

In terms of processing speed what's the fastest way of creating and then adding values to a raster? The values will originally come from ASCII files which can be about 500MB in size - ideally I ...
7
votes
2answers
3k views

Modify raster layer display and symbology properties programmatically with arcpy or ArcObjects

I have over 1500 NITF files that I need to be able to modify the layer display and symbology of programmatically from within ArcMap. I need to set the properties outlined in red below: I've looked ...
2
votes
0answers
214 views

Process to gather raster cells under features

I need to gather individual raster cells underneath a feature in a featureclass as quickly as possible. It seems that most ArcObjects functions have problem with island polygons, multi-part polygons, ...