Andrea Aime ha scritto: > 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
Btw, found the way MapGuide and DeeGree handle this too (just param names, hard to find descriptions): http://trac.osgeo.org/mapguide/wiki/HttpApi/RenderingService#SetDisplayDpi1.0 http://download.deegree.org/deegree2.1/api/org/deegree/ogcwebservices/wmps/configuration/PrintMapParam.html#getTargetResolution%28%29 (just trying to confirm I'm not going mad with my initial suggestion, apparently what the user asked is commonly implemented in other software too). 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
