<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    Hello,
    <br>
    <br>
    last december 2011 Astrid wrote a mail about the behaviour of
    RESOLUTION and DEFRESOLUTION. We tested again with MapServer <br>
    6.2 and here are the results. The size of the symbols, texts and
    lines was not like we expected. They were
    often too small.
    <br>
    <br>
    Have a look at the mail from 14. december 2011
    <big>
    </big><br>
    <a class="moz-txt-link-freetext"
href="http://lists.osgeo.org/pipermail/mapserver-users/2011-December/071077.html">http://lists.osgeo.org/pipermail/mapserver-users/2011-December/071077.html</a>
    <br>
     
    <br>
    <br>
    We tested with MAP.RESOLUTION=288&MAP.DEFRESOLUTION=72,
    SIZEUNINTS Meters, the scaled layers with SYMBOLSCALEDENOM 10000.  
    <small><br>
<a class="moz-txt-link-freetext" href="http://localhost/cgi-bin/mapserv62b1?map=/data/umn/resolution/map/resolution_test.map&MAP.RESOLUTION=288&MAP.DEFRESOLUTION=72">http://localhost/cgi-bin/mapserv62b1?map=/data/umn/resolution/map/resolution_test.map&MAP.RESOLUTION=288&MAP.DEFRESOLUTION=72</a>"&VERSION=1.1.1&REQUEST=GetMap&SERVICE=WMS&LAYERS=notscaledPoint,scaledPoint,notscaledLine,scaledLine,notscaledPolygon,scaledPolygon,Polygon_with_symbols,notscaledLabel,scaledLabel&STYLES=,,,,,,,,&SRS=EPSG:31466&BBOX=2517600,5672315,2518960,5673675&WIDTH=2000&HEIGHT=2000&FORMAT=image/png&BGCOLOR=0xffffff&TRANSPARENT=TRUE&EXCEPTIONS=application/vnd.ogc.se_xml</small><br>
    <br>
    <br>
    The behaviour of MapServer 6.0 and MapServer 6.2 is just the same.
    This time we have a demo project where we tried the different cases.
    You can download it at:
    <big>
    </big><br>
    <br>
    UMN:<br>
    <pre wrap=""><a class="moz-txt-link-freetext" href="https://svn.wheregroup.com/download/mapserver_resolution.zip">https://svn.wheregroup.com/download/mapserver_resolution.zip</a>

<big>PDF:</big>
<a class="moz-txt-link-freetext" href="https://svn.wheregroup.com/download/mapserver_resolution.zip">https://svn.wheregroup.com/download/mapserver_resolution_pdf.zip</a>
</pre>
    <br>
    <br>
    Results:
    <big>
    </big><br>
    <br>
    POINTS<br>
        * scaled or not scaled Points/Symbols: displayed correct, scaled
    and notscaled are the same in the map
    <big>
    </big><br>
    <br>
    LINES<br>
        * scaled lines: displayed correct
    <big>
    </big><br>
        * unscaled lines: too small (1:2000, 1:5000, 1:1000), correct
    (1:20000)
    <big>
    </big><br>
    <br>
    POLYGON<br>
        * scaled Polygone/Outline: displayed correct
    <big>
    </big><br>
        * not scaled Polygone/Outline: too small (1:2000), correct
    (1:5000, 1:10000,1:20000)
    <big>
    </big><br>
        * scaled or not scaled Polygone with symbols: displayed correct
    <big>
    </big><br>
    <br>
    LABEL<br>
        * scaled Label: too small
    <big>
    </big><br>
        * not scaled Label: too big (1:1000, 1:2000, 1:5000, too small
    (1:20000)
    <big>
    </big><br>
    <br>
    <br>
    <blockquote type="cite" style="color: #000000;">For us it would be
      good to get this problem solved, as at the moment we
      <br>
      generate a copy of the mapfile for the print with symbol- and
      labelsize
      <br>
      multiplyed with factor 4. It would be charming to solve the print
      with one
      <br>
      mapfile. We could do testing and maybe I could look for sponsoring
      too.
      <br>
    </blockquote>
    <br>
    <br>
    Is there someone else interested to solve this? Is there a ticket
    already?<big>
    </big><br>
    <br>
    Thekla<br>
    <br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 14.12.2011 17:44, Astrid Emde wrote:<br>
    </div>
    <blockquote
cite="mid:4e2df992bb8902871d2f3b7357e5a51e.squirrel@troubadix.wheregroup.com"
      type="cite">
      <pre wrap="">Hello,

we tried the parameter MAP.RESOLUTION AND MAP.DEFRESOLUTION with
MapServer 6.0.1 and made the following observations.

We tested with RESOLUTION=288&MAP.DEFRESOLUTION=72

The size of the symbols and textes was not like we expected. They were
often too small.

We tested with and without the parameter SYMBOLSCALEDENOM

1.) without SYMBOLSCALEDENOM (none scaled, fix size) ok are:

    * lines (not scaled) are dispayed correct (ok)
    * outlines (not scaled) of polygones are dispayed correct (ok).
    * symbols (not scaled) are displayed correct (ok).
    * textes (not scaled) are displayed correct (ok).We tested not scaled
texts without SYMBOLSCALEDENOM: It's displayed different weather
MINSIZE/MAXSIZE is existing or not.


2.) with SYMBOLSCALEDENOM

NOT ok:

    * Scaled symbols are displayed incorrect - too small.
    * Scaled lines are dispayed incorrect - too small.
    * scaled outlines of polygones are dispayed incorrect.
    * Scaled text are dispayed incorrect - too small.

For us it would be good to get this problem solved, as at the moment we
generate a copy of the mapfile for the print with symbol- and labelsize
multiplyed with factor 4. It would be charming to solve the print with one
mapfile. We could do testing and maybe I could look for sponsoring too.

Is there someone else interested to solve this? Is there a ticket already?

Astrid

thomas bonfort schrieb:
</pre>
      <blockquote type="cite">
        <pre wrap="">cgi controls should do the trick?

<a class="moz-txt-link-freetext" href="http://....../?SERVICE=WMS&....&MAP.RESOLUTION=144&MAP.DEFRESOLUTION=96">http://....../?SERVICE=WMS&....&MAP.RESOLUTION=144&MAP.DEFRESOLUTION=96</a>

--
thomas

On Mon, Dec 5, 2011 at 17:43, Peter Hopfgartner
<a class="moz-txt-link-rfc2396E" href="mailto:peter.hopfgartner@r3-gis.com"><peter.hopfgartner@r3-gis.com></a> wrote:
</pre>
        <blockquote type="cite">
          <pre wrap="">Basically, I am looking for a way to something analogous to
</pre>
        </blockquote>
      </blockquote>
      <pre wrap="">DEFRESOLUTION in
</pre>
      <blockquote type="cite">
        <blockquote type="cite">
          <pre wrap="">a WMS request. The standard says, that a pixel is 0.28 mm x 0.28 mm
(25.4/0.28 ~= 90.71 DPI). I could not found a way to change this in the
</pre>
        </blockquote>
      </blockquote>
      <pre wrap="">WMS
</pre>
      <blockquote type="cite">
        <blockquote type="cite">
          <pre wrap="">1.3.0 standard.
Is there a MapServer vendor parameter, similar to the one in GeoServer,
<a class="moz-txt-link-freetext" href="http://docs.geoserver.org/latest/en/user/services/wms/vendor.html#format-options">http://docs.geoserver.org/latest/en/user/services/wms/vendor.html#format-options</a>
?

Peter

--
Peter Hopfgartner R3 GIS <a class="moz-txt-link-freetext" href="http://www.r3-gis.com">http://www.r3-gis.com</a>
_______________________________________________
mapserver-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a>
</pre>
        </blockquote>
        <pre wrap="">_______________________________________________
mapserver-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a>
</pre>
      </blockquote>
      <pre wrap="">

</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 


---------------------------------

Thekla Wirkus
GIS-Consultant

---------------------------------- 
Aufwind durch Wissen!

Qualifizierte OpenSource-Schulungen
bei der <a class="moz-txt-link-abbreviated" href="http://www.foss-academy.eu">www.foss-academy.eu</a>
----------------------------------- 

WhereGroup GmbH & Co. KG
Eifelstraße 7
53119 Bonn
Germany

Fon: +49 (0)228 / 90 90 38 - 34
Fax: +49 (0)228 / 90 90 38 - 11

Email: <a class="moz-txt-link-abbreviated" href="mailto:thekla.wirkus@wheregroup.com">thekla.wirkus@wheregroup.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.wheregroup.com">www.wheregroup.com</a> 
Amtsgericht Bonn, HRA 6788
-------------------------------
Komplementärin:
WhereGroup Verwaltungs GmbH
vertreten durch:
Olaf Knopp, Peter Stamm
------------------------------- 

Folgen Sie der WhereGroup auf twitter: <a class="moz-txt-link-freetext" href="http://twitter.com/WhereGroup_com">http://twitter.com/WhereGroup_com</a>


</pre>
    <br>
    <br>
  </body>
</html>