You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sis.apache.org by "Martin Desruisseaux (Jira)" <ji...@apache.org> on 2022/05/02 17:10:00 UTC
[jira] [Updated] (SIS-339) Feature attribute should verify the CRS of geometric value
[ https://issues.apache.org/jira/browse/SIS-339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Desruisseaux updated SIS-339:
------------------------------------
Fix Version/s: 1.3
(was: 1.2)
Affects Version/s: 1.2
> Feature attribute should verify the CRS of geometric value
> ----------------------------------------------------------
>
> Key: SIS-339
> URL: https://issues.apache.org/jira/browse/SIS-339
> Project: Spatial Information Systems
> Issue Type: Improvement
> Components: Features
> Affects Versions: 0.7, 0.8, 1.0, 1.1, 1.2
> Reporter: Martin Desruisseaux
> Priority: Minor
> Fix For: 1.3
>
>
> In the {{org.apache.sis.feature}} package, a {{DefaultFeature}} can contains an attribute which itself contains a characteristic having the {{AttributeConvention.CRS_CHARACTERISTIC}} name. The value of that characteristic is the Coordinate Reference System (CRS) of the geometry that this attribute can contains. However there is currently no verification that a geometry given to that attribute has the expected CRS. We should add a verification mechanism, compatible with both JTS and ESRI API. This may require Java reflection code, since those two libraries are optional.
> One open question is where to store the CRS information in the geometry object. JTS has a SRID property, but it is only an {{int}} type. It could be decided that the integer value is the EPSG code, but this is an arbitrary (while common) decision. Alternatively we could use the JTS user object for storing the full {{CoordinateReferenceSystem}} object, but this is another arbitrary decision.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)