[Mapserver-users] Draw only Labeled features

ANDREW WOOLEY AWOOLEY at mountainland.org
Thu Apr 15 12:48:13 EDT 2004


Thanks for the response. I actually use this on some of my layers right
now, but how would I also draw the feature if the label gets placed, but
not draw the feature if the label does not get placed.

Andrew

>>> Stephen Woodbridge <woodbri at swoodbridge.com> 4/15/2004 9:49:40 AM
>>>
For the layer definition set
   TYPE ANNOTATION
and this should do it.

-Steve W.

ANDREW WOOLEY wrote:

> Folks,
> 
> I hope that I can express my question concisely. 
> 
> I am wondering if there is any way that I can have my map draw
features
> only if they are labeled. I often use the GNIS and would like to
only
> draw features if they are labeled.  It looks weird to have a point
> without a label and is sometimes confusing. I have tried to figure
out
> how to manage the data properly, but the GNIS layer is sometimes not
the
> most important layer in the current extent and sometimes it is. It
> depends on the other layers so I haven't figured out how to do this
> using good data organization. I am imaging using the same rules for
> labeling and if the feature doesn't get a label, then don't draw the
> point. Can I somehow use MAXFEATURES to get what I want? 
> 
> If anyone has any advice, I would appreciate it.  I use
PHP/MapScript
> (the latest version) and am not afraid of a little PHP programming,
if
> this is the best way to do it.
> 
> Thanks for your help.
> 
> Andrew Wooley
> GIS Coordinator
> Mountainland Association of Governments
> 586 E 800 N
> Orem, UT 84097
> ph: 801.229.3844
> email: awooley at mountainland.org 
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu 
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users 
> 

_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu 
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users



More information about the mapserver-users mailing list