Minfeaturesize??

Steve Lime steve.lime at DNR.STATE.MN.US
Tue May 10 13:00:01 EDT 2005


Note that you can use the sortshp utility in MapServer to order
features
by size assuming you have an attribute that stores area. This is a bit
more
high performance than the MINFEATURESIZE approach since not all
features
need be processed. I do like the idea though and would like to get in
place
by the 4.6 release...

Steve

>>> Stephen Woodbridge <woodbri at SWOODBRIDGE.COM> 5/7/2005 1:30:55 PM
>>>
Ok, I have opened an enhancement request to add this to mapserver.

http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=1340

Thanks,
   -Steve


Sean Gillies wrote:
> Steve,
>
> Yeah, it's for labels only.  You'll need an area attribute.  In
several
> apps I've sorted water bodies, parks, etc by area and then use the
> maxfeatures directive to render just the first N (ie largest)
features
> within a map view.  Works great.  If you have a RDBMS backend, you
can
> have it order and limit for you.
>
> cheers,
> Sean
>
> On May 7, 2005, at 10:34 AM, Stephen Woodbridge wrote:
>
>> I still haven't not figure out a way to solve this issue. What are
>> other
>> people doing about this?
>>
>> -Steve
>>
>> Stephen Woodbridge wrote:
>>
>>> Hi all,
>>>
>>> I thought there was a way to suppress features from being drawn
with
>>> MINFEATURESIZE, but it only seems to work for labels. Am I missing
>>> something?
>>>
>>> I have a layer with water polygons and they are getting displayed
as
>>> single pixels and I would like to suppress them. Is there an easy
way
>>> to
>>> do this short of adding an area attribute and filtering based on
that?
>>>
>>> Thanks,
>>>   -Steve
>>>
>>
>>
> --
> Sean Gillies
> sgillies at frii dot com
> http://zcologia.com
>



More information about the mapserver-users mailing list