Select to view content in your preferred language

GDAL Plugin Debugging

1023
1
Jump to solution
02-21-2012 10:37 AM
SebastianWalter
New Contributor
Dear Forum,

I wrote a GDAL plugin for a special raster dataset I want to use. The gdal*.exe tools work fine on the data, and after registering the plugin in ArcMap, the data is shown in ArcCatalog. But when I want to add the dataset to the view in ArcMap, an error message says: "Invalid raster dataset. Failed to create raster layer."

I carefully followed the guide in this download: http://resources.arcgis.com/gallery/file/image-management/details?entryID=457D0F2B-1422-2418-7F4B-51...

Does anybody know a way to debug this?

Thanks a lot in advance for any help!
Regards, Sebastian
0 Kudos
1 Solution

Accepted Solutions
SebastianWalter
New Contributor
Although I did not find a solution to the GDAL plugin debugging, I got my GDAL driver working with my dataset. The CPL_DLL directive was missing before the GDALRegister_ method. This difference to the GDAL standalone driver is not mentioned in the ArcGIS plugin documentation (see above link), but is clearly visible in the provided example.

View solution in original post

0 Kudos
1 Reply
SebastianWalter
New Contributor
Although I did not find a solution to the GDAL plugin debugging, I got my GDAL driver working with my dataset. The CPL_DLL directive was missing before the GDALRegister_ method. This difference to the GDAL standalone driver is not mentioned in the ArcGIS plugin documentation (see above link), but is clearly visible in the provided example.
0 Kudos