[MapServer-users] Mapserver 8 rc1
Steve Lime
sdlime at gmail.com
Thu Aug 25 14:54:02 PDT 2022
Thanks for checking! Looks like there might be an issue with
the msPostGISReplaceBoxToken() rewrite in C++ in mappostgis.cpp.
On Thu, Aug 25, 2022 at 4:20 PM Scott <public at postholer.com> wrote:
> ms_error log is telling me it's unable to build the SQL query. There are
> no errors in the postgresql log.
>
> Even if I comment the line out I get an error, such as:
> --where st_intersects(geom, !BOX!)
> or:
> /* !BOX! */
>
> If it exists any where in the DATA block, it fails.
>
> Here's the ms error log:
>
> [Thu Aug 25 13:46:55 2022].451955 msPostGISBuildSQL(): General error
> message. Failed to build SQL 'where'.
> [Thu Aug 25 13:46:55 2022].451980 msPostGISLayerWhichShapes(): Query
> error. Failed to build query SQL.
> [Thu Aug 25 13:46:55 2022].452010 msDrawMap(): Image handling error.
> Failed to draw layer named 'wptByTrailType'.
>
> On 8/25/22 13:03, Steve Lime wrote:
> > Hmmm... Wasn't an intentional omission. If you have logging turned on
> > and can see the resulting SQL, does the !BOX! get replaced but just
> > incorrectly or is the !BOX! still in the SQL.
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20220825/7934d610/attachment.htm>
More information about the MapServer-users
mailing list