This project is read-only.

open shapfile and raster

Apr 10, 2013 at 7:08 AM
hi I'm new in programming with dotspatiol
I have som problem with some code example:
I use ,featureset fs=new featurset; but when I want to open it fs dos'n has open function
( dosent work)
and when I declare the raster I can opn it too,
raster r=new raster(); ()
actually not allowed me to give path not need any parametre
pleas help me;
Apr 10, 2013 at 4:06 PM
Apr 16, 2013 at 5:03 AM
hi anasr,

you can use this code to open both shapefile and raster data:

which map1 is the Map component you've added in the Form Design. With this code, you can open many data file including shapefile and raster.
May 6, 2013 at 8:59 AM
hi Dan actually I have visuale studio 2010 and I cant open your code pleas send me it in this version if you could thanks