wms service and printig

Hello,

please anybody know detail about this powermap SS1 behaviour?

i have wms map attached as raster, it has two layers: general map for large scale (view range) and detail map for detail (small scale view fe. 100x100m). It works good for viewing maps are chnged correctly while zoom in/zoom out .

Now , when i  see a large map (my view range is 10x10km),  i place fence from view and i would like to print it using pdf microstation driver. It looks fine, in the print preview i can see general map raster as i can  in my view. But when i do print funcion, after pdf is created ...  in pdf file i can see detail map,  it means  i can see different map because in print preview was large map.

in the pdf i can see small shapes (tiling), and maybe from this little range a print tool decides to use small map insted of large one .

Is there any setting to print wms raster layer in the same way as int print preview is? Or is this beaviour a bug?

Thanks very much for any hint or idea

Jan

Parents
  • I believe the issue is related with the resolution used when printing the WMS not being the same as the resolution of the data visualized on the screen. What you may want to try is in the “Print” dialog under the “Settings” menu, select “Raster Options”. One of the option is: “Quality Factor”. Reducing this number will have impact and might lead you to match printing and display resolutions and therefore the output.

    Regards,

    Carlos



Reply
  • I believe the issue is related with the resolution used when printing the WMS not being the same as the resolution of the data visualized on the screen. What you may want to try is in the “Print” dialog under the “Settings” menu, select “Raster Options”. One of the option is: “Quality Factor”. Reducing this number will have impact and might lead you to match printing and display resolutions and therefore the output.

    Regards,

    Carlos



Children
  • Carlos, thanks for quick help. Reducing coeficinet to 25  => 150dpi helps. If you seaid it is related with monitor resolution, is it possible to appear same problem on fe. customer PC with different monitor resolution? Or what kind of resolutions must be same? thanks you very much for explain it. Jan

  • Hi Janvagner,

    When displaying an multi-resolution image in a MicroStation view Raster Manager tries to display the best resolution of the image.

    For example, if you have a multi-resolution image with the two following resolutions :

    resolution 1 : 512 by 512 pixels

    resolution 2 : 256 by 256 pixels

    and the image occupies an area on your screen of 200 by 200 screen pixels. In that case Raster Manager will display resolution 2 because its resolution is greater then the resolution of the image displayed on the screen.

    Let's further assume that you have a 14 inches wide screen with a screen resolution of 1600 pixels wide (i.e. : 1600 / 14 ~= 114 DPI) and you decide to print to a 14 inches wide paper at a 600 DPI.

    Then when the image is printed the area occupied by the image on the print sheet is not 200 by 200 pixels, but approximately 1052 by 1052 pixels or dots (i.e. : Print DPI / Screen DPI * screen pixel size or 600 / 114 * 200).

    So for the print operation Raster Manager will select resolution 1 instead of resolution 2, the number of pixels

    or dots (i.e. 1052 X 1052) that can be used to represent the image on the paper is much higher then the number of pixels available for image when displayed on the screen (200 x 200).

    If resolution 1 and resolution 2 represent the same picture the user will only see more details of the picture on the sheet of paper.

    The problem with WMS is that the picture or map for resolution 1 and its not necessarily the same as the picture or map for resolution 2.

    This is why you are seeing a difference.

    HTH,

    Mathieu



  • Hi Mathieu,

    thanks for explainig it, it hepls.

    I thing, one another thing is important. It seems like microstation does tiling befre ask WMS for data. In your example: if range on my screen is 200x200px is send request for example for 4 squares and for printing it request for example 12 smaller squares on same area - because there is largest resolution. Now - WMS tells: ok, the sqare is smaller -  i will send you more detail map.

    I can reduce raster quality for printing, and this causes that the request sqare has same size as my previous view reqest - same map is returned.  

    Do you agree?

    I'm afraid, there is no tiling/tile size settings in Power map. What do you thing?

    thank you once more

    Jan

  • Ah, if I understand correctly you're saying that the WMS server has multiple different "layers" that automatically turn on or off depending on the scale at which you are fetching data. Yes, some servers will do that. It's unfortunate since you are actually specifying which layers you want in the WMS request.

    I'm afraid you are right, I don't think there are any such settings client side. Lowering the resolution of the raster at print should have the effect you want.

       Martin

      

  • Hi Jan,

    If you check in the Rasterized checkbox the print engine create print raster tiles representing the data to print and send those raster tiles to the printer. Only if you modify the driver resolution (Driver Printer Configuration dialog->Base Properties->Advanced->Driver Resolution) the number of print raster tiles differ, modifying the raster quality does not affect the number of raster tiles.

    If you leave the Rasterized checkbox uncheck the print engine doesn't create print raster tiles but send the vector and raster data directly to the printer.

    So the Rasterized option doesn't have an impact on the quality of the raster data printed. Only the DPI of the print output medium (i.e. : sheet of paper, .pdf specified by the Driver Printer Configuration dialog->Base Properties->Advanced->Driver Resolution option) or the Raser Quality Factor is influencing the DPI of the raster data printed.

    My advice is that you use solely the Raster Quality Factor available on the Print - Raster Options dialog to specify the correct DPI of the raster without diminishing the quality of the vector data to be printed, if any.

    You don't need a tiling size setting. You just need to compute the DPI of your computer screen and tune the Quality factor in order to match the Raster resolution (dpi) information displayed on the Print - Raster Options dialog with the DPI of your computer screen.

    HTH,

    Mathieu