[mapserver-users] Scaling and sizeunits not matching up for hi-rez output.

Basques, Bob (CI-StPaul) bob.basques at ci.stpaul.mn.us
Thu Feb 2 14:15:38 PST 2017


All,

I just ran into an interesting problem.  I’m trying to output a large image (18000x12600 @ 300DPI or 42inX60in)

I’m scaling all the layers with SIZEUNITS set to FEET and have some line widths set at hundreds of feet for the width.  It looks like there is a max size (pixels) that mapserver won’t draw a width past, but it looks like it’s variable, based on the size of the output image.  The bigger the image out, the smaller the limit.

The line I’m measuring in the outputs is set to “WIDTH 300” in the mapfile.


BBOX=543000,132000,599500,177000  (units = feet)
56500 x 45000 (map units of feet.)

Output sizes:

24000x16400 = ~32 pixels (Should be about 80)

18000x12600 = ~35 pixels (should be about 60 I think)

12000x8400 = ~32 pixels (Should be about 40)

6000x4200 = ~20 pixels

3000x2100 = ~10 pixels

I think it’s being capped at 200 map units.  I may have run into this same item a couple of year back when working on making some large labels with MapServer.

Anyone with any immediate thoughts?

bobb



"I've had a wonderful time, but this wasn't it."
- Groucho Marx



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20170202/3c1e4fc1/attachment.htm>


More information about the MapServer-users mailing list