Select to view content in your preferred language

Hillshade error

3737
2
09-29-2014 12:20 PM
FerasObeidat
Deactivated User

Hello all,

I have the following error when running HillshadeCommand

Opening raster workspace C:\Program Files (x86)\ArcGIS\DeveloperKit10.2\java\samples\data\raster\dem1 and getting its dataset ...

AutomationException: 0x80041018 - Failed to open raster dataset in '"esriDataSourcesRaster.GdalRasterDataset"'

  at com.esri.arcgis.datasourcesraster.RasterWorkspace.openRasterDataset(Unknown Source)

  at HillshadeCommand_.createHillshade(HillshadeCommand_.java:205)

Should I use ArcGIS engine to run raster files or I can still use ArcGIS desktop ? if I need to use ArcGIS engine how can I install it?

The contents of raster directory on my computer is displayed in this attachment"

Thanks

Feras

0 Kudos
2 Replies
EricBader
Honored Contributor

The problem could be that the path to the dataset has a space in it. You can either change your System environment variable from "c:\Program Files(x86)\..." to "C:\Progra~2\...", or copy the workspace to a path that does not have a space in it.

Hope this helps.

0 Kudos
FerasObeidat
Deactivated User

Hi Eric,

I think the problem is that I have a problem in installing the DeveloperKit for Java, do you have the link to the proper installation? Do I need ArcEngine to have the developerKit ? This the link I used for, but this not working with HillshadeCommand ArcGIS for Developers

Thanks

Feras

0 Kudos