Thanks Jody,
Did a little testing in uDig today and found a small bug. The resulting
reshaped FeatureCollection consisted of the reshaped features and values
however the schema contained the PropertyDescriptor from the original
FeatureCollection and not the new reshaped FeatureCollection. I have not had a
chance to dig into the code to find out what is going on but will provide a
test case that shows the problem.
Really like this process, easy to use and provides a great result.
Cheers,
--
Levi Putna
www.ozblog.com.au
On Wednesday, 29 February 2012 at 5:50 PM, Jody Garnett wrote:
> For your amusement may be suitable for use form GeoServer.
>
> Expected use:
>
> // name=expr one per line
> String definition =
> "the_geom=centriod( the_geom )\n"+
> "name=name\n" +
> "display_name=Concatenate( name, other_name )";
>
> // reshape into a new feature collection
> SimpleFeatureCollection modified = new ReShape().execute( featureCollection,
> definition );
>
> You should be able to reproduce some of the other processes; such as simplify
> using a couple of lines.
>
> Levi (CCed) is going to pitch in with a test case over the next couple of
> days; and migrate uDig over to use this implementation.
>
> (Thanks Levi good luck!)
>
> Jody
>
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
GeoTools-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel