Hi there,

  ow, i did actually try that line of code before posting i even added the
file locattion of my shp file,

 File file = promptShapeFile("C:/Cavendish map/datamap_01_data.shp");
but i got the error of cannot find symbol , incompatible types ect.. hence i
decided to do something like this 

   File file = new File("C:/Cavendish map/datamap_01_data.shp");
Cheers


It sounds like you have omitted to put the promptShapeFile(args)
method in your class.

It is defined in the lower part of this code:
http://docs.codehaus.org/display/GEOTDOC/04+How+to+Read+a+Shapefile#04HowtoReadaShapefile-Application

Hope this helps

Michael

 
-- 
View this message in context: 
http://www.nabble.com/09ShapeLab-tp20543003p20551636.html
Sent from the geotools-gt2-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to