WMS print

Is possible set size of tile WMS in print? For displaying XWMS on monitor I can do settings <service><maxwidth><maxheight> but this parameter does not have influence to print. Is any solution? I try optimise print.

Thank you

Mila

Parents
  • Hi Mila,

    What do you mean by "I try optimise print"?

    Are you trying to optimise the speed or the quality of the print?

    Thanks,

    Mathieu



  • Hi Mathieu,

    I try optimise print speed but quality is also important. Is any way to set tile size?

  • Hi Mila,

    For the quality you might want to get a look at this thread : communities.bentley.com/.../197355.aspx.

    As for the speed the <maxwidth> <maxheight> that you are mentioning are parameters that let the application knows the maximum number of pixels per request for a giving WMS server. That doesn't necessarily means that the maximum number of pixels will be request by the MicroStation. Also note that changing this parameter without knowing the the maximum number of pixels the WMS server can handle may result in display problems.

    The reason why changing this parameter doesn't influence the print in the same way as the display is that during a print operation the print engine might decide to request the tiles differently to the raster engine then the display engine does. For example during an unrasterized print the tiles requested, usually of a size less than the maximum number of pixels supported by the WMS server, might not be in an order that allows the WMS request engine to merge tile together to minimize the number of query sent to the WMS server. During a rasterized print more information is available so some tile merging can occur.

    So to improve the speed you could try to do a rasterized print.

    Also the DPI of a print media is usually much larger then the DPI of your computer screen. So it is probably advisable to decrease the raster quality during a print feature a WMS as explained in the thread above.

    HTH,

    Mathieu



Reply
  • Hi Mila,

    For the quality you might want to get a look at this thread : communities.bentley.com/.../197355.aspx.

    As for the speed the <maxwidth> <maxheight> that you are mentioning are parameters that let the application knows the maximum number of pixels per request for a giving WMS server. That doesn't necessarily means that the maximum number of pixels will be request by the MicroStation. Also note that changing this parameter without knowing the the maximum number of pixels the WMS server can handle may result in display problems.

    The reason why changing this parameter doesn't influence the print in the same way as the display is that during a print operation the print engine might decide to request the tiles differently to the raster engine then the display engine does. For example during an unrasterized print the tiles requested, usually of a size less than the maximum number of pixels supported by the WMS server, might not be in an order that allows the WMS request engine to merge tile together to minimize the number of query sent to the WMS server. During a rasterized print more information is available so some tile merging can occur.

    So to improve the speed you could try to do a rasterized print.

    Also the DPI of a print media is usually much larger then the DPI of your computer screen. So it is probably advisable to decrease the raster quality during a print feature a WMS as explained in the thread above.

    HTH,

    Mathieu



Children
No Data