[gdal-dev] EXCEPTION HAS BEEN THROWN BY TARGET OF INVOCATION

Brett Walker brett.walker at geometryit.com
Wed Dec 26 00:11:36 PST 2012


Sounds like you have run out of memory or disk space but you have probably investigated this possibility

Brett Walker

________________________________________
From: gdal-dev-bounces at lists.osgeo.org [gdal-dev-bounces at lists.osgeo.org] On Behalf Of srikanthsidduri [srikanth.sidduri at iictechnologies.com]
Sent: Wednesday, 26 December 2012 5:25 PM
To: gdal-dev at lists.osgeo.org
Subject: [gdal-dev] EXCEPTION HAS BEEN THROWN BY TARGET OF INVOCATION

Hi,

While loading the map for a big ENC datasets, I am getting this exception,

"EXCEPTION HAS BEEN THROWN BY TARGET OF INVOCATION".

And the the inner message for this is,

"Not enough storage is available to process this command".

And my code to loading the map is,

DotSpatial.Topology.Coordinate c = null;
DotSpatial.Data.IFeature currentFeature=null;
DotSpatial.Topology.Point p=null;
 c = new
DotSpatial.Topology.Coordinate(Convert.ToDouble(arrCoordinatesX[k]),
Convert.ToDouble(arrCoordinatesY[k]));
 p = new DotSpatial.Topology.Point(c);
currentFeature = fs.AddFeature(p);

pointLayer = (DotSpatial.Controls.MapPointLayer)mgr.Layers.Add(fs);  <------
Here  I am getting Exception..



Thanks & Regards
Srikanth Rao Sidduri



--
View this message in context: http://osgeo-org.1560.n6.nabble.com/EXCEPTION-HAS-BEEN-THROWN-BY-TARGET-OF-INVOCATION-tp5024593.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.
_______________________________________________
gdal-dev mailing list
gdal-dev at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev


More information about the gdal-dev mailing list