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

Brett Walker

________________________________________
From: [email protected] [[email protected]] On 
Behalf Of srikanthsidduri [[email protected]]
Sent: Wednesday, 26 December 2012 5:25 PM
To: [email protected]
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
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to