[mapguide-trac] #750: TransformMesh (from Raster Re-projection)
does not get initialized properly when the RasterGridSize is set
to something really big
MapGuide Open Source
trac_mapguide at osgeo.org
Thu Nov 6 14:52:40 EST 2008
#750: TransformMesh (from Raster Re-projection) does not get initialized properly
when the RasterGridSize is set to something really big
------------------------+---------------------------------------------------
Reporter: tonyfang | Owner: tonyfang
Type: defect | Status: new
Priority: medium | Milestone:
Component: Server | Version: 2.0.1
Severity: minor | Keywords:
External_id: 1152327 |
------------------------+---------------------------------------------------
This is because of the way the TransformMesh is calculating the grid
points.
It is using a grid expansion factor of 20% of the RasterGridSize.
If 20% of the RasterGridSize is greater than the actual width/height of
the image, then the TransformMesh is calculated incorrectly.
The solution is to set the RasterGridSize to the width/height of the image
if it is greater than the width/height. TransformMesh's m_gridSize will be
split out into m_gridSizeHeight and m_gridSizeWidth as part of this
solution.
--
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/750>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals
More information about the mapguide-trac
mailing list