I have been using GeoTools to handle our GIS data and am trying to
implement writing SimpleFeatureCollections out to various file formats.
Right now I am trying to get GML 3.2 done but am struggling with it.

The following code snippet from GeoTools documentation doesn't seem to
apply.

GML encode = new GML(Version.GML3);encode.setNamespace("geotools",
"http://geotools.org";);encode.encode(out, featureCollection);

Did the GML utility class get removed or moved? Is there a better way to
encode a SimpleFeatureCollection to GML?


Thank You,
Josh Parker
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to