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

srikanthsidduri srikanth.sidduri at iictechnologies.com
Tue Dec 25 22:25:58 PST 2012


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.


More information about the gdal-dev mailing list