Raster reprojection – Pitney Bowes MapXtreme User Manual

Page 423

Advertising
background image

Chapter 23: Workspace Manager

Layer Control

MapXtreme v7.1

430

Developer Guide

Coordinate System

The Coordinate System tab indicates the coordinate system of the map, and enables you to change
the coordinate system.

To do this:

1. Click the Coordinate System button to display the Choose Coordinate System dialog box.

2. Select a coordinate system from the list, and click OK.

Extents

In the map, the Extents tab shows the extents of the current map view. Click the View Entire Map
button to see all of the map.

Raster Reprojection

The Raster Reprojection tab enables you to specify reprojection settings for raster and vector layers
in your map.

You can control the reprojection of both raster and vector layers. When you add either a raster or
vector layer to a map, the new layer can be reprojected into the current map window projection.

When you change the projection of a map window that contains a combination of vector and raster
layers, all the layers, both raster and vector, can be reprojected to the new map window projection.

These settings also exposed in the MapXtreme API. See the RasterReprojection and
RasterReprojectionResampling properties in the MapInfo.Mapping.FeatureViewer class in the
Developer Reference for more information.

Use the Raster Reprojection check box to turn Raster Reprojection on or off. Select the check box to
turn it on; clear it to turn it off. Raster reprojection is off by default, which means that reprojection is
not performed when a raster layer is added to a map.

Use the Reprojection Method settings to specify how raster reprojection is performed. Choose one
of the following:

Optimized–Raster reprojection for an image is determined by the look of the destination
rectangle after transformation into the source image space. If the destination rectangle looks like
a "rigorous" rectangle, that is, two sides of the rectangle are parallel to the x-axis and two sides
are parallel to the y-axis, then the standard Windows functions stretch the source image in both
directions. If the image fails the rectangle text, the reprojection is performed using the specified
resampling method.

Advertising