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



  • 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

      

Reply
  • 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

      

Children
  • Hi Martin,

    Even for one layer the WMS server might have different representation of the data at different scale.

    For example if you have a layer representing the road network of a county it is quite possible that only the major highway are present at lower resolution (view of the whole county) while smaller less important roads become visible at higher resolution.

    Thanks,

    Mathieu



  • thanks to all, finally I solve this "somehow"  - explaining : my print solution is a part of mdl program for automatic printing a set of fences - using two different wms maps and i can compute raster quality factor from papersize and fencesize  ... like Martin said: "Lowering the resolution of the raster at print should have the effect you want." there is no other settings to affect this.  regards Jan