Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 2.1
-
Fix Version/s: None
-
Component/s: geometry
-
Labels:None
-
Environment:all
Description
The class javadoc for PointArray current states:
The PointArray interface outlines a means of efficiently storing large numbers of usually homogeneous Position positions; i.e. all having the same CoordinateReferenceSystem coordinate reference system.
--emphasis added
I would like to change that language to require the structure to have a homogenous set of CRS's either explicitly or, for situations where the DirectPosition set does not have an actual reference to the CRS, implicitly. There are alternative data structures such as the generic List<Position>, which a user could leverage to store and exchange mixed bags of Positions. PointArray, as defined in GeoAPI, potentially has its own information, i.e. a CRS, so the interface only makes sense with reference to a homogenous set of Positions.
Issue Links
- is depended upon by
-
GEO-1
Finish the creation of Java interfaces for geometries
-
Actually this is required by the new ISO 19107 draft (2008). Quoting 6.2.2.1.c at page 26: "All locations in a list or array shall use the same GM_CoordinateSystem".