Opened 16 years ago

Closed 16 years ago

#812 closed defect (fixed)

RasterGridSize settings are not read by 'Plot as DWF' and DWF Viewer (for raster re-projection)

Reported by: tonyfang Owned by: tonyfang
Priority: medium Milestone:
Component: Rendering Service Version: 2.0.1
Severity: minor Keywords:
Cc: External ID: 1167122

Description

The RasterGridSize settings are being read in MgServerRenderingService::CreateRenderer(). This is fine for the Ajax and Fusion viewers.

But this code is not used when using 'Plot as DWF' and DWF Viewer. Their renderers are created in MgServerMappingService. Thus the default settings are always used for 'Plot as DWF' and DWF Viewer.

The solution is to move the code that reads and stores the RasterGridSize settings -- so that the settings can be used by all the different renderers.

Change History (2)

comment:1 by tonyfang, 16 years ago

Status: newassigned

comment:2 by tonyfang, 16 years ago

Resolution: fixed
Status: assignedclosed

MgServerMappingService now contains the code which reads the RasterGridSize settings and writes them into the Renderer classes which it creates.

I have essentially replicated the code from MgServerRenderingService and added it to MgServerMappingService.

After further discussion with Ken, Tom, and Chris, we will add plot-specific settings for raster re-projection. Specifically, we will add: RasterGridSizeForPlot, MinRasterGridSizeForPlot and RasterGridSizeOverrideRatioForPlot. These settings will work the same way as their non-ForPlot counterparts. They will only be used by Plot as DWF. I have added these details to an addendum in RFC 51.

http://trac.osgeo.org/mapguide/changeset/3541

Note: See TracTickets for help on using tickets.