Andrea Aime ha scritto:
> That is problematic as they just know what the target printing dpi is.
> I'm also asking the MapServer folks about what they do (e.g., if there
> is a WMS parameter to do that, if they have, I'd prefer to just
> align with theirs).
> In the mapfile they basically specify two dpis:
> 
> MAP
>    ...
>    RESOLUTION 300
>    DEFRESOLUTION 72
>    SIZE 1667 1667
>    ...
> END
> 
> See "usage example" at
> http://mapserver.org/development/rfc/ms-rfc-55.html

Oh btw, no matter what I have to pass the target dpi into the
renderer to make sure the scale factor does not change, for
printouts you want the image and symbols to be larger but the
scale must be the same as on the screen, otherwise you end up
seeing different symbology if you have scale dependent rules.

So it's a matter of deciding wheter a second parameter is
needed or not. WMS wise I'd say not, it would get quite confusing,
so if I can't call it DPI I guess I'll have to compute the
renderer DPI internally based on the OGC default DPI and
the correction factor.

Cheers
Andrea



-- 
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to