[mapserver-users] Something odd with queries in 5.6.1
Daniel Morissette
dmorissette at mapgears.com
Wed Mar 10 14:54:09 PST 2010
Carlos Ruiz wrote:
> Hi all,
>
> I noticed something odd when I do a query with the new 5.6.1 version.
>
> The getFeature method seems to return a NULL value, when it was working
> good before the new version update.
>
Due to a change in the handling of queries in version 5.6, ols scripts
must be updated to use the new $layer->resultsGetShape() method instead
of $layer->GetShape() or $layer->GetFeature() to read query results.
There is a mention of this change in the migration guide, but it may not
be clear enough (contributions welcome):
http://trac.osgeo.org/mapserver/browser/branches/branch-5-6/mapserver/MIGRATION_GUIDE.TXT
Daniel
--
Daniel Morissette
http://www.mapgears.com/
More information about the MapServer-users
mailing list