Hi,
i am trying to run the sample mvcsample for loading raster file, which works fine with the World.tif. But when i change the .tif file i cant see it on the map. all i see is : PARAMETER IS INVALID , OBJECT REFERENCE NOT SET TO AN INSTANCE OF OBJECT.
GdiPlusRasterLayer gdiPlusImageLayer = new GdiPlusRasterLayer(Server.MapPath(@"~\App_Data\World.tif"));
so if you can please provide some details on how your mvc suite treat and load raster files and if there is any prerequisite for it.
thanks
GdiPlusRasterLayer not loading raster
Hi hekllan,
This is a very generic exception, If the sample for loading raster file works fine on your machine, I guess there is no problem with development environment, Could you try loading it with "LibraryType" property of "GeoTiffRasterLayer" as "UnmanagedLibTiff", by default, we are using "ManagedLibTiff", if still runs into exception, can you send your test tiff file to forumsupport@thinkgeo.com or contact sales@thinkgeo.com for a FTP address to upload the test data?
Thanks,
Johnny