Re: [mapserver-users] LAYER LABEL ANGLE Calculation Problem

2008-12-27 Thread thomas bonfort
you can let postgres calculate the angle for you: DATA "geom FROM (select geom, toid, orientation/10-90 as orientation from cartographictext) as foo USING UNIQUE toid" and then use angle [orientation] in your label regards, thomas On Fri, Dec 26, 2008 at 18:36, Donald Kerr wrote: > I am looki

[mapserver-users] LAYER LABEL ANGLE Calculation Problem

2008-12-27 Thread Donald Kerr
I am looking for some help if possible. I am putting labels on a map and the angle is stored in database field called "orientation". Orientation is in 10ths of degrees so I need to divide by 10 to get degrees. I also need to offset by 90 degrees as the number starts at east, not north. Ideally I w

[mapserver-users] RE: Display of polygon in map

2008-12-27 Thread Paul Alarcon
Hello friend maybe i know whats the problem did you check if you newgeo column is registered on the geometry_column table, because mapserver look for the field of geometry there and then make the graphic I hope yopu could solveypour problem with this Happy Holidays Date: Fri, 26 Dec 2008 1