Tagged Questions
1
vote
1answer
55 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
57 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
55 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
105 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 = ...
0
votes
0answers
112 views
Problem building raster attribute table in ArcObjects
We are converting some polygon features to raster using ESRI.ArcGIS.GeoAnalyst.IConversionOp. The conversion is based on an integer field and the output raster is being correctly produced with integer ...
3
votes
2answers
122 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
582 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
142 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
119 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
287 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
99 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 ...
1
vote
0answers
193 views
how to buffer a raster cell using Visual Basic ArcObjects in ArcMap
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
47 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 ...
1
vote
0answers
153 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
1k 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
103 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
192 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
218 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
474 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
698 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
107 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
757 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
172 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
722 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 ...
4
votes
2answers
2k 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
1answer
202 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, ...