Hi,

I do not feel that your use case is very common. Perhaps instead of modifying 
Mapserver you could think if you could do it mainly on the database side. For 
example, draw all the polygons without labels and use some clever SQL for 
creating another layer from the features which you would like to see labeled 
above it.

-Jukka Rahkonen-
________________________________________
Anzel, Phil wrote:


> Hi, All,

> How can I label only the largest displayed areas within an extent? For 
> example, if I'm labeling states of the United States and my extent covers a 
> small region around the Maine, New Hampshire and Massachusetts junction, I 
> only want a single label for each state, chosen by the largest displayed area 
> (within the current map extent) in each state.

> I'm using spatial data stored in Microsoft's SQL Server 2008.

> I've created an enhancement request ticket (#4173: Define a current layer 
> extent's WKT string for use in Data statement) as one possible approach, but 
> this approach requires a change to MapServer.

> Is there a better way?

Thanks.

- Phil Anzel
  Vistronix Inc for USDA/NRCS/ITC

This electronic message contains information generated by the USDA solely for 
the intended recipients.  Any unauthorized interception of this message or the 
use or disclosure of the information it contains may violate the law and 
subject the violator to civil or criminal penalties.  If you believe you have 
received this message in error, please notify the sender and delete the email 
immediately.


_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to