[mapserver-users] mapserver 6.4.0 can't create geom with postgis 2.1.0?!

2013-11-08 Thread John Smith
guys,

looks like mapserver 6.4.0 can't create geom with postgis 2.1.0. can
someone confirm that before i rollback to ms 6.2.1 or before :( is there
any other solution?

just trying to connect ms 6.4.0 with pg 2.1.0 but getting the following
error:

WARNING:  ST_Force_2d signature was deprecated in 2.1.0. Please use
ST_Force2D
CONTEXT:  SQL function st_force_2d during startup

both functions exist under public  functions but ST_Force_2d creates this
error while ST_Force2D is unused. see
http://stackoverflow.com/questions/19000753/mapserver-6-2-and-deprecated-st-force-2d
https://github.com/mapserver/mapserver/pull/4803 (mappostgis.c,
mappostgis.h) and http://postgis.net/docs/ST_Force_2D.html.

thks, jzs
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] mapserver 6.4.0 can't create geom with postgis 2.1.0?!

2013-11-08 Thread Rahkonen Jukka
Hi,

It is a warning. It should mean that everything still works. Or do you mean 
that you have run the

psql -d [yourdatabase] -f legacy.sql command in your database and that you 
can do from psql

SELECT ST_Force_2d with a good result but you can't get maps out of Mapserver 
because of this error?


If that is the situation, perhaps you have not installed legacy functions into 
your production database. It is a per database thing, it is not enough that you 
find the function from the disk.




-Jukka Rahkonen-




John Smith wrote:



 guys,

 looks like mapserver 6.4.0 can't create geom with postgis 2.1.0. can someone 
 confirm that before i rollback to ms 6.2.1 or before :( is there any other 
 solution?

 just trying to connect ms 6.4.0 with pg 2.1.0 but getting the following error:

 WARNING:  ST_Force_2d signature was deprecated in 2.1.0. Please use ST_Force2D
 CONTEXT:  SQL function st_force_2d during startup

 both functions exist under public  functions but ST_Force_2d creates this 
 error while ST_Force2D is unused. see 
 http://stackoverflow.com/questions/19000753/mapserver-6-2-and-deprecated-st-force-2d
   https://github.com/mapserver/mapserver/pull/4803 (mappostgis.c, 
 mappostgis.h) and http://postgis.net/docs/ST_Force_2D.html.

thks, jzs

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users