Re: [mapserver-users] Problem using getShape with MsSql2008 (Mapscript C#)

2009-08-07 Thread Tamas Szekeres
Paul, There is a function (find_bounds) calculating the bounds in mapmssql2008.c which should provide correct results. Could you check whether the returned geometry is correct by dumping the point coordinates of each lines in mapscript? Best regards, Tamas 2009/8/6 Paul james

Re: [mapserver-users] Problem using getShape with MsSql2008 (Mapscript C#)

2009-08-07 Thread Paul james
The layer geometry is fine... I´m sending a shape property screenshot... Paul On Fri, Aug 7, 2009 at 5:25 AM, Tamas Szekeres szeker...@gmail.com wrote: Paul, There is a function (find_bounds) calculating the bounds in mapmssql2008.c which should provide correct results. Could you check

Re: [mapserver-users] Problem using getShape with MsSql2008 (Mapscript C#)

2009-08-07 Thread Tamas Szekeres
Another issue coul be that the layer type is not compatible with the geometry type, like the following combinations are invalid with this driver: Layer type shape geom type line point polygon point

Re: [mapserver-users] Problem using getShape with MsSql2008 (Mapscript C#)

2009-08-06 Thread Paul james
Just an update... The shape values are all there... The only thing is wrong is the bounds (-1) ... On Wed, Aug 5, 2009 at 5:44 PM, Paul james paulj...@gmail.com wrote: I´ll check... But the same layer/id worked fine using Postgis... So I should be a bug... Paul On Wed, Aug 5, 2009 at 5:38