mapserver-postgis centroid function

Paul Ramsey pramsey at REFRACTIONS.NET
Tue Sep 20 19:31:27 EDT 2005


Matt is right, you should retrieve precisely as many columns as you  
need, no more.  A unique id, something to do labeling with, perhaps,  
something to calculate classes with, perhaps, and the geometry  
itself. That's it.
Paul

On Sep 20, 2005, at 2:44 PM, Matthew Perry wrote:

> David.
>
> On 9/20/05, David TECHER <davidtecher at yahoo.fr> wrote: I don't  
> think so!
> Since Kumar wants to use a LABELITEM on 'PPIN'
> As a consequence,  he should use '*'because PPIN
> should be a field in his table.
>
> Well * is what's causing the problems (redundant the_geom columns).  
> How about replacing * with PPIN instead.
>
> -- 
> Matt Perry
> perrygeo at gmail.com
> http://www.perrygeo.net



More information about the mapserver-users mailing list