Hi Jesse, Jesse Eichar wrote: > Hi, > > I am encoding some geometries. However I have a specific requirement. > I need to add a ID to each Polygon and Multisurface that is encoded. Is > there a way to do this? There is but it is hacky. Basically if you store a Map in the geometry user data, and that map has a value keyed by "gml:id", then the encoder will output an ID.
See GML3EncodingUtils.getID(Geometry) for details. > > Also currently points for the polygon are being encoded as a > gml:posList. Is there a way to control it so it encodes as > gml:coordinates? This is not a requirement just nice. gml:coordinates is deprecated in GML3 hence the use of posList. It would not be too much work to add an option to switch between the two. > > Jesse > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your > production scanning environment may not be a perfect world - but thanks to > Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 > Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. http://p.sf.net/sfu/kodak-com > > > ------------------------------------------------------------------------ > > _______________________________________________ > Geotools-gt2-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users -- Justin Deoliveira OpenGeo - http://opengeo.org Enterprise support for open source geospatial. ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
