Minfeaturesize??
Sean Gillies
sgillies at FRII.COM
Tue May 10 10:54:31 PDT 2005
Steve W,
There's a freeze on new features for 4.6.
Sean
On May 10, 2005, at 11:34 AM, Stephen Woodbridge wrote:
> Steve,
>
> That would be really great to have in 4.6. I am also thinking about
> adding an area attribute to my tiger2shape translator or a utility to
> compute the area from a shape and add it to the attributes. But I think
> having this feature makes it much friendlier for people that don't have
> the attribute column to start with to get a better looking map.
>
> Thank you for your support,
> -Steve W.
>
> Steve Lime wrote:
>> 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