Thanks, Brent. That answers the question. Will look at using "legacy.sql" on the PostGIS side rather than reverting to an older version until such times as Mapserver/MS4W catches up.
Many thanks. Regards, Donald -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Brent Fraser Sent: 23 April 2012 21:52 To: [email protected] Subject: Re: [mapserver-users] Mapserver MS4W PostGIS 2.0.0 https://github.com/mapserver/mapserver/issues/4186 Best Regards, Brent Fraser On 4/23/2012 2:46 PM, Donald Kerr wrote: > John, > > I've just installed PostGIS 2.0.0 and I'm getting: > > ------------------------------------ > msDrawMap(): Image handling error. Failed to draw layer named 'ABC'. > msPostGISLayerWhichShapes(): Query error. Error executing query: > ERROR: function geomfromtext(unknown, integer) does not exist LINE 1: > ...as geom,"toid" from ABC where geom&& GeomFromTe... ^ HINT: No > function matches the given name and argument types. You might need to > add explicit type casts. > ------------------------------------ > > > From what I can make out, it appears that "geomfromtext" has changed > > name in > PostGIS to "ST_GeomFromText". I think "geomfromtext" is hard codeed in > MapServer version 6.0.2 (MS4W 3.0.4). > > Many thanks. > > Regards, > > Donald > > -----Original Message----- > From: John Callahan [mailto:[email protected]] > Sent: 23 April 2012 21:23 > To: Donald Kerr > Subject: Re: [mapserver-users] Mapserver MS4W PostGIS 2.0.0 > > > I've been using MS4W for a while and the latest versions seem to > support Postgis 2.0 just fine. > > > - John > > > *********************************************** > John Callahan, Research Scientist > Delaware Geological Survey, University of Delaware > URL: http://www.dgs.udel.edu > ************************************************* > > > > > On Mon, Apr 23, 2012 at 3:27 PM, Donald Kerr<[email protected]> > wrote: > > Can anyone give me an idea of timescales for the release of PostGIS > 2.0.0 support in Mapserver and then MS4W please? > > Many thanks. > > Regards, > > Donald > > _______________________________________________ > mapserver-users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > _______________________________________________ > mapserver-users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/mapserver-users > _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
