Perforce JViews Maps Sample: Reading More Formats with FME
Description
This sample shows how to read data using the FME bridge.
How to Use the Sample
-
Use of this example requires the installation of Safe Software FME Objects on your machine.
For more information on FME, refer to http://www.safe.com. - You can download an evaluation version in five easy steps at http://www.safe.com/evaluation/index.php.
-
Once you have installed the FME objects, you must copy the
fmeobjects.jar
file in the FME installation into<JVIEWS_INSTALL_DIR>/jviews-maps900/lib/external/fmeobjects-9.0.jar
to be able to run the demonstration. - This example reuses Map Builder code, but replaces the JViews import features by an FME bridge.
How to Run the Sample as an Application
This sample can
be run as an application.
The installation directory contains
an executable JAR file,
jviews-fmedemo.jar
,
that allows you to execute the sample 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 sample 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 sample and type:
ant run
Topics Covered
- Using FME
Detailed Description
This sample shows how to read data using FME Objects, Safe Software's embeddable version of their Feature Manipulation Engine(r). It has been built based on the Map Builder. Use of this example requires the installation of the Safe Software FME Objects on your machine.
Note: This data source is available on the installation DVD for JViews Maps. For more information see The Maps Data Disk in Programming with JViews Maps.
Installation Directory
The Reading More Formats with FME sample is installed here.
Classes Involved
- ilog.views.maps.IlvCoordinate
- ilog.views.maps.IlvDefaultFeatureRenderer
- ilog.views.maps.IlvFeatureAttributeProperty
- ilog.views.maps.IlvFeatureRenderer
- ilog.views.maps.IlvMapFeature
- ilog.views.maps.IlvMapGeometry
- ilog.views.maps.IlvMapUtil
- ilog.views.maps.IlvMapReusableFeatureIterator
- ilog.views.maps.beans.IlvExceptionMessage
- ilog.views.maps.format.IlvFeatureClassInformation
- ilog.views.maps.format.IlvGeometryClassFilter
- ilog.views.maps.format.IlvDefaultTilableDataSource
- ilog.views.maps.srs.coordsys.IlvCoordinateSystem
- ilog.views.maps.srs.coordsys.IlvGeographicCoordinateSystem
- ilog.views.maps.tiling.IlvMapRegionOfInterestIterator
Source Files
- FMEDemo
- fme/FMELoadAction
- fme/FMEKMLLoadAction
- fme/FMESDTSLoadAction
- fme/FMEShapeLoadAction
- ilog/views/maps/format/fme/FMEDataset
- ilog/views/maps/format/fme/IlvFMEDataSource
- ilog/views/maps/format/fme/IlvFMEReader