JViews 3.5 Maps Release Notes
This document describes the main changes that have been made to the JViews
Maps module since version 3.0.
Incompatibilities
General Changes
Library Changes
New Classes
New Renderers
New Projections
Deprecated
Demonstration Changes
Incompatibilities
To be able to handle all new geometries introduced by the Oracle Spatial object
model, the geometry and renderer packages have been modified. Some of the classes and renderers from the ilog.views.maps.geometry package are deprecated. This change in the architecture can lead to some incompatibilities: The new readers from JViews Maps 3.5 will not return the deprecated results
anymore, causing possible incompatibilities with renderers written
for geometries from JViews Maps 3.0.
General Changes
The main general changes are the following:
- Changes to the Map Builder
Access to the Oracle Spatial object model has been implemented in the Map
Builder.
- Integration of JViews Maps with Oracle Spatial object model
The classes to integrate JViews and the Oracle Spatial object-relational model
are provided in the
ilog.views.maps.format.oracle.objectmodel
package.
- Improvements to the Geometry and Rendering model
- OGDI Support
With this version, JViews Maps will no longer support the OGDI reader.
However, for users of JViews 3.0 that need the OGDI features, the compiled
classes corresponding to the former ilog.views.maps.format.ogdi package
can still be used with this release.
The Map Builder has been similarly modified.
Library Changes
New Classes
The package ilog.views.maps.geometry integrates new classes that allow you
to define areas and lines using segments:
ilog.views.maps.geometry.IlvMapCircle
ilog.views.maps.geometry.IlvMapCurve
ilog.views.maps.geometry.IlvMapArcString
ilog.views.maps.geometry.IlvMapCurveString
ilog.views.maps.geometry.IlvMapSegmentString
ilog.views.maps.geometry.IlvMapArea
ilog.views.maps.geometry.IlvMapPolygon
ilog.views.maps.geometry.IlvMapArcSegment
ilog.views.maps.geometry.IlvMapLinearSegment
ilog.views.maps.geometry.IlvMapSegmentRing
ilog.views.maps.geometry.IlvMapCircularRing
There are new geometry collection classes to represent collections
of these new geometries:
ilog.views.maps.geometry.IlvMapMultiCurve
ilog.views.maps.geometry.IlvMapMultiArea
New Renderers
The package ilog.views.maps.rendering has been modified to integrate renderers
for the new geometries. These new renderers make extensive use of rendering
styles:
ilog.views.maps.rendering.IlvDefaultAreaRenderer
To render IlvMapArea and IlvMapMultiArea.
ilog.views.maps.rendering.IlvDefaultCurveRenderer
To render IlvMapCurve and IlvMapMultiCurve.
ilog.views.maps.rendering.IlvMapRenderingStyle
ilog.views.maps.rendering.IlvMapLineRenderingStyle
ilog.views.maps.rendering.IlvMapAreaRenderingStyle
New Projections
The following projections have been added to the ilog.views.maps.projection
package:
ilog.views.maps.rendering.IlvCassiniProjection
ilog.views.maps.rendering.IlvGnomonicProjection
ilog.views.maps.rendering.IlvOrthographicProjection
Deprecated
As the new model allows a more flexible way to represent curves and areas,
the following classes from the package ilog.views.maps.geometry have been deprecated:
-
IlvMapLinearPolygon
-
IlvMapMultiLinearPolygon
-
IlvMapMultiLineString
-
IlvMapRing
These classes now have a better equivalent (namely IlvMapPolygon, IlvMapMultiArea, and IlvMapMultiCurve).
As a consequence, the following renderers have been deprecated:
-
IlvDefaultLinearPolygonRenderer
-
IlvDefaultLineStringRenderer
-
IlvDefaultMultiLinearPolygonRenderer
-
IlvDefaultMultiLineStringRenderer
These renderers are replaced by the new renderers for curves and areas.
The class IlvDefaultFeatureRenderer has been updated to use the
new renderers. It can still be used with the deprecated renderers and
geometries, though the methods related to deprecated renderers have been
deprecated also.
Demonstration Changes
The sample showing how to integrate JViews Maps with Oracle Spatial, located
in the <JViewsDir>/demos/maps/oracle directory, has been updated:
-
Integration of the Oracle Spatial object-relational model
-
Integration of attribute update capabilities in the object-relational model