From: Rini A. (JIRA) <ji...@co...> - 2010-07-08 09:23:42
|
[ http://jira.codehaus.org/browse/GEOT-2709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rini Angreani reopened GEOT-2709: --------------------------------- Sorry, has to reopen. Spoke to client, and he confirmed that only srsDimension is required, which makes life a lot easier. > srsDimension, axisLabels and uomLabels aren't encoded for SRS information > ------------------------------------------------------------------------- > > Key: GEOT-2709 > URL: http://jira.codehaus.org/browse/GEOT-2709 > Project: GeoTools > Issue Type: Sub-task > Components: ext xml-xsd > Affects Versions: 2.6-M2 > Reporter: Rini Angreani > Assignee: Justin Deoliveira > Priority: Minor > Fix For: 2.6.5 > > Attachments: GML3EncodingUtils.patch > > > Only srsName is encoded at the moment, for srsDimension, axisLabels and uomLabels, users have to explicitly map them as client property in app-schema mapping file. This is bad, as they could be inaccurate and inconsistent. > http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19136_Schemas//geometryBasic0d1d.xsd > <attributeGroup name="SRSReferenceGroup"> > <annotation> > <documentation> > The attribute group SRSReferenceGroup is an optional reference to the CRS used by this geometry, with optional additional information to simplify the processing of the coordinates when a more complete definition of the CRS is not needed. > In general the attribute srsName points to a CRS instance of gml:AbstractCoordinateReferenceSystem. For well-known references it is not required that the CRS description exists at the location the URI points to. > If no srsName attribute is given, the CRS shall be specified as part of the larger context this geometry element is part of. > </documentation> > </annotation> > <attribute name="srsName" type="anyURI"/> > <attribute name="srsDimension" type="positiveInteger"/> > <attributeGroup ref="gml:SRSInformationGroup"/> > </attributeGroup> > <attributeGroup name="SRSInformationGroup"> > <annotation> > <documentation> > The attributes uomLabels and axisLabels, defined in the SRSInformationGroup attribute group, are optional additional and redundant information for a CRS to simplify the processing of the coordinate values when a more complete definition of the CRS is not needed. This information shall be the same as included in the complete definition of the CRS, referenced by the srsName attribute. When the srsName attribute is included, either both or neither of the axisLabels and uomLabels attributes shall be included. When the srsName attribute is omitted, both of these attributes shall be omitted. > The attribute axisLabels is an ordered list of labels for all the axes of this CRS. The gml:axisAbbrev value should be used for these axis labels, after spaces and forbidden characters are removed. When the srsName attribute is included, this attribute is optional. When the srsName attribute is omitted, this attribute shall also be omitted. > The attribute uomLabels is an ordered list of unit of measure (uom) labels for all the axes of this CRS. The value of the string in the gml:catalogSymbol should be used for this uom labels, after spaces and forbidden characters are removed. When the axisLabels attribute is included, this attribute shall also be included. When the axisLabels attribute is omitted, this attribute shall also be omitted. > </documentation> > </annotation> > <attribute name="axisLabels" type="gml:NCNameList"/> > <attribute name="uomLabels" type="gml:NCNameList"/> > </attributeGroup> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |