Release 2.0 of GeoAPI contained the interfaces developed by the GeoAPI project and accepted
by the Open Geospatial Consortium with the final draft of the implementation specification
GO-1 Application Objects and therefore considered by the GeoAPI project as one
of its official releases.
This release came in two flavors:
geoapi.jar required a Java environment J2SE 1.4 or higher
geoapi-tiger.jar requires a Java environment Java 5 or higher.
Collection, except in the very few places where ISO 19115 defines explicitly the collection type.
SingleCRSinterface. This change reflect a part of ISO 19111 which was omitted in previous release.
AffineCS. This reflect a change in OGC Topic 2 voted in July 16, 2004.
TimeCS. This reflect a change in OGC Topic 2 voted in July 16, 2004.
IdentifiedObject. This reflect a change in OGC Topic 2 voted in July 16, 2004.
AffineCS. This change is required for type safety and was forgotten in previous release.
UserDefinedCScreation. This part was forgotten in previous release.
org.opengis.referencing.qualitypackage. This package is now replaced by
org.opengis.metadata.quality. This reflect a change in OGC Topic 2 voted in July 16, 2004.
ParameterDescriptor. This is because many users expect a parameter to contains a value. The
ParameterDescriptorname make it clearer that this interface contains metadata about parameter, not the actual parameter value. It also consistent with usage in other Java libraries like citeJava Advanced Imaging/cite.
OperationMethod, changed the
GeneralParameterDescriptorreturn type to
ParameterDescriptorGroup. Generally speaking, this change was applied for most processing methods in GeoAPI returning parameters. This is a slight departure from specifications, which usually returns a sequence of parameter rather than a group.
ParameterDescriptor. This change make the convenience method more... convenient.
ParameterValue. This change make the convenience method more... convenient. Also renamed the method as
parameter, which avoid strange expression like
getValue("some_name").setValue(someValue). The idiom is now
Localeargument, removed this argument and replaced the
Stringreturn type by
InternationalString. This change was done for consistency with the metadata package.
valueFile()method, replaced the
URLreturn type by
Pointinterfaces instead of an union of them. The union type do no exists in Java and this change lead to a more object oriented approach. This change was done after a comment on the GeoAPI mailing list.
Envelopeinterface, added convenience methods
GenericCurve, renamed the
forConstructiveParamrespectively. The former names was misleading since those methods do not return a constructive parameter; they expect it as argument instead.
Complex, renamed the
getSuperComplexes. The former was a typo.
getDimensionNames), replaced the
Stringreturns type by
InternationalString. This change is required for localization support and was forgotten in previous release.
Coverageinterface, changed the return type from
floatfor the method
evaluate(DirectPosition, float). Previous return type was wrong.
getSource(int)methods into a single
Operation, changed the
GeneralParameterValue, return type to
ParameterValueGroup. Generally speaking, this change was applied for most processing methods in GeoAPI returning parameters. This is a slight departure from specifications, which usually returns a sequence of parameter values.
GridAnalysis, renamed the
analyze. The former was a typo.