Changes between Version 27 and Version 28 of MapGuideRfc51
- Timestamp:
- 11/14/08 13:18:23 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MapGuideRfc51
v27 v28 152 152 }}} 153 153 154 First we check to see if the RasterGridSize needs to be overridden. i.e., IsRasterGridSize less than 25% of the height/width of the image?155 Then we check to see if the RasterGridSize is at least the minimum. i.e., IsRasterGridSize greater than 10?156 Then we check to see if the RasterGridSize is less than the height/width of the image.154 First we check to see if the !RasterGridSize needs to be overridden. i.e., Is !RasterGridSize less than 25% of the height/width of the image? 155 Then we check to see if the !RasterGridSize is at least the minimum. i.e., Is !RasterGridSize greater than 10? 156 Then we check to see if the !RasterGridSize is less than the height/width of the image. 157 157 158 158 The following examples will help illustrate how the three settings interact with each other. 159 159 160 160 All examples use the following (default) values: 161 RasterGridSize = 100162 MinimumRasterGridSize = 10163 RasterGridSizeOverrideRatio = 0.25161 !RasterGridSize = 100 162 !MinimumRasterGridSize = 10 163 !RasterGridSizeOverrideRatio = 0.25 164 164 165 165 Example 1: 166 If you have a request that re-projects a 100x150 image, the RasterGridSize would get reduced to 25 pixels.166 If you have a request that re-projects a 100x150 image, the !RasterGridSize would get reduced to 25 pixels. 167 167 168 168 Example 2: 169 If you have a request that re-projects a 30x30 image, the RasterGridSize would get reduced to 10 pixels.169 If you have a request that re-projects a 30x30 image, the !RasterGridSize would get reduced to 10 pixels. 170 170 171 171 Example 3: 172 If you have a request that re-projects a 600x600 image, the RasterGridSize stays at 100 pixels.172 If you have a request that re-projects a 600x600 image, the !RasterGridSize stays at 100 pixels. 173 173 174 174 Example 4: 175 If you have a request that re-projects a 5x5 image, the RasterGridSize would get reduced to 5 pixels.175 If you have a request that re-projects a 5x5 image, the !RasterGridSize would get reduced to 5 pixels. 176 176