Raster reprojection occurs when you open a registered raster image inside of a vector Map window with a different projection, or when you change the projection of a Map window. During the raster reprojection process, MapInfo Pro recalculates the pixel values of the source image to make them display correctly in the destination image. You could save this reprojection to .WOR-type workspaces and to the XML-format based MapInfo Workspace (.MWS) files used in MapXtreme.
To support this interoperability, we have created the RasterConditions XML element for raster reprojection. This element has 6 attributes, which are described below. Since not all of these attributes correlate to MapInfo Pro attributes, the missing MapInfo Pro attributes are set to the default values used in MapXtreme:
- dither - This attribute is set to halfTone (the other supported value for MapXtreme is errorDiffusion)
- trueColor - This attribute is set to true (the other supported value is false)
- optimizeRasterLayers - This attribute is set to screen (the other supported value is printer)
- optimizeVectorLayers - This attribute is set to screen (the other supported value is printer)
There are two attributes that are relevant to raster reprojection in MWS files that are initialized from a Map window and are directly translated to MapXtreme:
- rasterReprojectionResampling - This attribute can have values of cubicConvolution or nearestNeighbor.
- rasterReprojection - This attribute can have values of none, always, or optimized.
MapInfo Pro writes the RasterConditions element to the MWS workspace and defines all six attributes. This enables MapXtreme to open and display MapInfo Pro MWS files.
To save a MapInfo Workspace (.MWS) to use in MapXtreme:
When you start your next session, you can open this workspace right from the Quick Start dialog box and continue where you left off.