Depending on the path used for encoding geometry the srsName can be stored/retrieved from the geometry userData. There is also a CRS utility method responsible for generating a srsName from a coordinate reference system; while I don't mind us providing a hint to control the technique used to generate a srsName as andrea indicates we need to support a number of different formats ... because the OGC is having too much fun changing the standard each time :-)
Using a url for the srsName did not make any sense to me? You must mean a uri ... Jody On 19/06/2010, at 9:01 AM, Bastian Schäffer wrote: > List, > > during the latest OGC OWS-7 testbed, we encountered some issues with the > GML3 srsName encoding: > > A generated FeatureCollection, where the featureType's SRS is correctly > set to a representation of EPSG:4326, the result looks like: > > <gml:Envelope srsName="http://www.opengis.net/gml/srs/epsg.xml#4326"> > > By looking at the OGC practice as defined in the OGC policy directives, > in particular > > http://portal.opengeospatial.org/files/?artifact_id=37802 > > the correct URI would be urn:ogc:def:crs:EPSG::4326. > The equivalently correct URL would be > http://www.opengis.net/def/crs/EPSG/0/4326. > > This differes from http://www.opengis.net/gml/srs/epsg.xml#4326 > > Is it possible to set the value for srsName manually? Or fix the code > for future version? > > Regards, > Bastian Schäffer > > P.S. > During the last OGC TC meeting held this week, it was decided that the > OGC will mainly use URLs instead of URIs as identifiers. > > -- > Bastian Schäffer > Institute for Geoinformatics (IfGI), University of Muenster, Germany > Weseler Str. 253, 48151 Muenster > Fon: +49 (0)251 - 83-30046 Fax: +49 (0)251 - 83-39763 > email: [email protected] > IfGI-site: http://ifgi.uni-muenster.de > > > > > ------------------------------------------------------------------------------ > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > _______________________________________________ > Geotools-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geotools-devel ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
