[Mapserver-users] Double labeling in querymap?

Fawcett, David David.Fawcett at state.mn.us
Tue Aug 5 14:00:18 EDT 2003


I set a MINDISTANCE of 4 and that took care of the problem.

David.

> ----------
> From: 	Steve Lime[SMTP:steve.lime at dnr.state.mn.us]
> Sent: 	Tuesday, August 05, 2003 12:26 AM
> To: 	mapserver-users at lists.gis.umn.edu; David.Fawcett at state.mn.us
> Subject: 	RE: [Mapserver-users] Double labeling in querymap?
> 
> That's cause with HILITE the layer is processed twice, once as normal
> and once with only the selected features. With SELECTED the layer is
> only processed once. The label is just getting set in the cache twice.
> One workaround would be to set a value for MINDISTANCE. In most cases
> that wouldn't affect labeling at all and should remove the second label.
> 
> Steve
> 
> Stephen Lime
> Data & Applications Manager
> 
> Minnesota DNR
> 500 Lafayette Road
> St. Paul, MN 55155
> 651-297-2937
> >>> "Fawcett, David" <David.Fawcett at state.mn.us> 08/04/03 4:33 PM >>>
> This occurs when the STYLE property of the QUERYMAP object is set to
> HILITE, but does not occurr when I change it to SELECTED.
> 
> David.
> 
> > ----------
> > From: 	Fawcett, David[SMTP:David.Fawcett at state.mn.us]
> > Sent: 	Monday, August 04, 2003 4:27 PM
> > To: 	'mapserver-users at lists.gis.umn.edu'
> > Subject: 	[Mapserver-users] Double labeling in querymap?
> > 
> > I am not sure if this is a bug or PIBCAK*
> > 
> > Version 4.0 beta2 (7/11/03)
> > 
> > When I query a point feature, the querymap puts two identical labels
> on the selected point feature, but correctly places only one label on
> the other point features on the map.  
> > 
> > The point layer only exists once in the MAP file, so I am not querying
> two overlaying instances of the same point.
> > 
> > Am I getting a cached label showing up?  I really only need to label
> each facility once.
> > 
> > Thanks, 
> > 
> > David.
> > 
> > 
> > David Fawcett
> > MN Office of Environmental Assistance
> > 
> > *Problem Is Between Chair and Keyboard
> > _______________________________________________
> > 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
> 
> _______________________________________________
> 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