[Mapserver-users] Labeling polygon features 'without center'

Daniel Morissette morissette@dmsolutions.ca
Mon, 28 Jul 2003 15:01:21 -0400


Vinko Vrsalovic wrote:
> 
> 	I'm adding polygon features (through $layer->addFeature()), and
> 	I'm setting the text attribute to the feature to label it. My
> 	problem occurs when there is no part of the polygon in the
> 	center of the bounding box, say a V or C shaped polygon, the
> 	label does not appear, when there is part of the polygon in the
> 	center of the bounding box it appears alright. I've tried setting the
> 	position attribute but it has no effect on features, it seems.
> 

I'm not sure if that's what you ran into, but there was a problem with 
the label position calculation that was fixed not long ago:
  http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=356
perhaps you should try the latest 4.0 from CVS.

-- 
------------------------------------------------------------
  Daniel Morissette               morissette@dmsolutions.ca
  DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------

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