On Thu, Mar 11, 2010 at 12:57 PM, Jorge Bachler Olmos <[email protected]> wrote: > Hi, > > Has anyone written a routine to split a shapefile based in some attribute ? > What I want to accomplish is the behavior described here > http://www.umesc.usgs.gov/management/dss/split_by_attribute_tool.html > > Any hints of which classes to look in geotools 2 ?
ShapefileDataStore and Filters - The demos should show you how to read and write a shapefile (http://www.geotools.org/quickstart.html) and queryLab (http://www.geotools.org/examples/querylab.html) gives an introduction to filtering your file. Ian -- Ian Turton ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
