[postgis-devel] Compatibility between postgis 2 & mapserver

Martin Spott Martin.Spott at mgras.net
Sat Jan 7 16:57:47 PST 2012


Andrea Peri wrote:

> But before ask to the ML of MapServer I need to know if
> the remove of geomfromtext() is wanted or not in postgis 2.0

  geomfromtext -> ST_GeomFromText  in Postgis 2.x

Everyting's in "mappostgis.c", there are just four lines to edit (at
least in MS 5.6.5) containing:

  GeomFromText -> ST_GeomFromText
  AsBinary -> ST_AsBinary
  force_collection -> ST_Force_Collection
  force_2d -> ST_Force_2D

Cheers,
	Martin.
-- 
 Unix _IS_ user friendly - it's just selective about who its friends are !
--------------------------------------------------------------------------



More information about the postgis-devel mailing list