shapefile.add(shape) to an esri shp file
mike.talbutt at DOTTEDEYES.COM
Thu Oct 12 05:03:03 EDT 2006
I have been trying to modify Paolo Corti's c# tutorial on adding points to a
shp file, using jama mapscript.
String shapeFullPath = map.shapepath + "\\" +
activeLayer + ".shp";
shapefileObj shapefile = new shapefileObj(shapeFullPath,-2);
lineObj line = new lineObj();
shapeObj shape = new shapeObj((int)MS_SHAPE_TYPE.MS_SHAPE_POINT);
//add shape to shapefile
I am trying to use the shapefile.add(shape) code however cannot add a
feature to my layer.
Can anyone tell me if this fuctionality has ever been implemented in java
and perhaps show me some code on how to do this ?
View this message in context: http://www.nabble.com/shapefile.add%28shape%29-to-an-esri-shp-file-tf2429025.html#a6772561
Sent from the Mapserver - Dev mailing list archive at Nabble.com.
More information about the mapserver-dev