[MapServer-users] symbol minsize/maxsize in mapServer 8
Jeff McKenna
jmckenna at gatewaygeomatics.com
Wed Oct 11 12:59:46 PDT 2023
I'm sorry for that docs confusion Jörg. Someone found the pull request
that I had made, for the 8.0 release, and I was shocked to see all of my
changes in the docs for that release - it goes to show the effort,
behind the scenes, not just code changes, for such releases. -jeff
--
Jeff McKenna
GatewayGeo: Developers of MS4W, & offering MapServer Consulting/Dev
co-founder of FOSS4G
http://gatewaygeo.com/
On 2023-10-11 12:06 p.m., Jörg Thomsen (WhereGroup) via MapServer-users
wrote:
> 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
>
More information about the MapServer-users
mailing list