I think there is an update schema method; please try it out and write a wiki page so the rest of us can understand how to use it ;-) Worst case you can copy the contents from one shapefile to a new shapefile with an extra column. Jody > hello, everyone > > i have some shapefiles with its siblings .shx, .dbf and .prj, can i > use geotool to add a field to these files? > for example, the shapefile's dbf have three attributes like > Population, name and type, I want to add a customed attribute "weight" > to it. > > I have check out SHPLIB which is c library, but it can't change the > fields after you create the shapefile. it only can add fields when you > create a new shapefile, but cannot modify an existed one. > > anyone knows ? thanks! > > -- > Wir müssen wissen,Wir werden wissen > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > ------------------------------------------------------------------------ > > _______________________________________________ > Geotools-gt2-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users >
------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
