ilog.views.maps.export
Class IlvMapExportManager

java.lang.Object
  extended by ilog.views.maps.export.IlvMapExportManager

public class IlvMapExportManager
extends Object

Class to manage the export of a map to different output formats, such as ESRI shape for vectorial objects or Geotiff for raster objects

Since:
JViews 7.5

Nested Class Summary
static interface IlvMapExportManager.IlvMapExporter
          Interface implemented by any object capable of exporting a collection of IlvMapFeature objects.
 
Constructor Summary
IlvMapExportManager()
          Creates a new IlvMapExportManager.
 
Method Summary
 void clearExportRegion()
          Removes the region limitation for export
 void exportMapLayers(IlvMapLayer[] mapLayers)
          Export all map features of the specified map layers
 IlvMapExportManager.IlvMapExporter getRasterExporter()
          Returns IlvMapExporter used to export vectorial map features
 IlvMapExportManager.IlvMapExporter getVectorialExporter()
          Returns the IlvMapExporter used to export raster map features
 void setExportRegion(double xMin, double yMin, double xMax, double yMax)
          Limits the map export to objects intersecting the specified region
 void setRasterExporter(IlvMapExportManager.IlvMapExporter rasterExporter)
          Set the IlvMapExporter used to export raster map features
 void setVectorialExporter(IlvMapExportManager.IlvMapExporter vectorialExporter)
          Set the IlvMapExporter used to export vectorial map features
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IlvMapExportManager

public IlvMapExportManager()
Creates a new IlvMapExportManager.

Method Detail

setExportRegion

public void setExportRegion(double xMin,
                            double yMin,
                            double xMax,
                            double yMax)
Limits the map export to objects intersecting the specified region

Parameters:
xMin - minimum X coordinate of the region to export
yMin - minimum Y coordinate of the region to export
xMax - maximum X coordinate of the region to export
yMax - maximum Y coordinate of the region to export

clearExportRegion

public void clearExportRegion()
Removes the region limitation for export


exportMapLayers

public void exportMapLayers(IlvMapLayer[] mapLayers)
Export all map features of the specified map layers

Parameters:
mapLayers - maps layers to export.

setVectorialExporter

public void setVectorialExporter(IlvMapExportManager.IlvMapExporter vectorialExporter)
Set the IlvMapExporter used to export vectorial map features

Parameters:
vectorialExporter - The vectorial exporter to set.

getRasterExporter

public IlvMapExportManager.IlvMapExporter getRasterExporter()
Returns IlvMapExporter used to export vectorial map features

Returns:
Returns the rasterExporter.

setRasterExporter

public void setRasterExporter(IlvMapExportManager.IlvMapExporter rasterExporter)
Set the IlvMapExporter used to export raster map features

Parameters:
rasterExporter - The raster exporter to set.

getVectorialExporter

public IlvMapExportManager.IlvMapExporter getVectorialExporter()
Returns the IlvMapExporter used to export raster map features

Returns:
Returns the vectorialExporter.


Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.