[MapServer-users] symbol minsize/maxsize in mapServer 8

Jörg Thomsen (WhereGroup) joerg.thomsen at wheregroup.com
Wed Oct 11 08:06:38 PDT 2023


Hello,

I am curious about min- an maxsize in MS 8.

I found in the docs:
> MAXSIZE [double]
> Removed in version 8.0.

And I know don't now how to determine the maxsize of a point Symbol.

maxsize still works, but not as expected. There is no error-message and 
the maxsize auf the point-symbol is set, but when I zoom in more than 
the scale of SYMBOLSCALEDENOM the outline of the symbol ist getting and 
bigger.

Here are two layers I tested with and you can test the WMS with
https://schulung.foss.academy/cgi-bin/mapserv?map=minmaxsize&mode=browse&template=openlayers&layer=all
(you have to zoom in to see what happens)

    LAYER
       NAME 'point'
       TYPE POINT
       DATA 'pois_p.shp'

       METADATA
         'ows_title' 'Points'
       END

       SYMBOLSCALEDENOM 100000
       CLASS
         NAME 'points'
         STYLE
           SYMBOL 'circle'
           SIZE 20
           COLOR 218 247 195
           OUTLINECOLOR 250 250 0
         END
       END
     END

     LAYER
       NAME 'pointmaxsize'
       TYPE POINT
       DATA 'pois_p.shp'

       METADATA
         'ows_title' 'Pointsmaxsize'
       END

       SYMBOLSCALEDENOM 100000
       CLASS
         NAME 'points'
         STYLE
           SYMBOL 'circle'
           SIZE 20
           MAXSIZE 30
           COLOR 100 100 250
           OUTLINECOLOR 0 0 250
         END
       END
     END

-- 
Viele Grüße,
Jörg Thomsen
---------------------------------------------
Aufwind durch Wissen!
Web-Seminare und Online-Schulungen
bei der www.foss-academy.com
---------------------------------------------


Jörg Thomsen
WhereGroup GmbH
Bundesallee 23
10717 Berlin
Germany

Tel: +49 (0)30 / 5130 278 74
Fax: +49 (0)30 / 5130 278 11	

joerg.thomsen at wheregroup.com
www.wheregroup.com

Geschäftsführer:
Olaf Knopp, Peter Stamm
Amtsgericht Bonn, HRB 9885

-------------------------------
Folgen Sie der WhereGroup auf twitter: http://twitter.com/WhereGroup_com


More information about the MapServer-users mailing list