Perforce JViews Maps Code Example: Using Coordinate Systems
Description
Perforce JViews Maps : How to convert coordinates using coordinate systems and transformations
How to Run the Code Example as an Application
This code example can
be run as an application.
The installation directory contains
an executable JAR file,
srs.jar
,
that allows you to execute the code example with a double click from a
file browser. Note that if you are using Internet Explorer, you can
open the installation directory
and execute the JAR file from the browser. This
technique may not work in other Web browsers.
Alternatively, you
can run the code example application from the command line.
First check that the Ant utility is properly configured. If not, see the
instructions on how to configure Ant for Perforce JViews.
Then, go to the installation directory
of the code example and type:
ant run
Topics Covered
- Converting coordinates
Detailed Description
Perforce JViews Maps : This sample illustrates how to convert coordinates using coordinate systems and transformations
It does not show any user interface, but only displays console messages.
Installation Directory
The Using Coordinate Systems code example is installed here.
Classes Involved
- ilog.views.maps.IlvAngularUnit
- ilog.views.maps.IlvCoordinate
- ilog.views.maps.IlvLinearUnit
- ilog.views.maps.IlvUnit
- ilog.views.maps.projection.IlvEllipsoid
- ilog.views.maps.projection.IlvHorizontalShiftDatum
- ilog.views.maps.projection.IlvLambertAzimuthalEqualAreaProjection
- ilog.views.maps.projection.IlvMercatorProjection
- ilog.views.maps.projection.IlvProjection
- ilog.views.maps.projection.IlvProjectionUtil
- ilog.views.maps.srs.coordsys.IlvCoordinateSystem
- ilog.views.maps.srs.coordsys.IlvGeographicCoordinateSystem
- ilog.views.maps.srs.coordsys.IlvMeridian
- ilog.views.maps.srs.coordsys.IlvProjectedCoordinateSystem
- ilog.views.maps.srs.coordtrans.IlvCoordinateTransformation
- ilog.views.maps.srs.coordtrans.IlvCoordinateTransformationException