Opened 15 years ago

Closed 15 years ago

#3036 closed defect (duplicate)

postgis WMS-T generates invalid SQL

Reported by: akrherz Owned by: mapserver-bugs@…
Priority: normal Milestone:
Component: PostGIS Interface Version: 5.4
Severity: normal Keywords: wms-t, postgis
Cc:

Description

Something is borked with MS 5.4.0 as my WMS-T no longer works. The SQL generated ends up having something like this included in the SQL:

select 
 "datetime",
  encode(AsBinary(force_collection(force_2d("the_geom")),'NDR'),'base64') as geom,
 "oid" 
from nexrad_n0r_tindex 
where the_geom && GeomFromText('POLYGON((-87.8766277805514 13.7287070384035,-87.8766277805514 41.226006386486,-45.1532119277844 41.226006386486,-45.1532119277844 13.7287070384035,-87.8766277805514 13.7287070384035))',find_srid('','nexrad_n0r_tindex','the_geom')) 
and date_trunc('second', datetime) = '2005-08-29T13:00:00Z') 
and date_trunc('second', datetime) = '2005-08-29T13:00:00Z'

notice the extra ")" toward the end of the statement.

pramsey on IRC asked me for something to build a test case with, will effort that. thanks

Attachments (1)

files.zip (222.9 KB ) - added by akrherz 15 years ago.
Test case files

Download all attachments as: .zip

Change History (3)

by akrherz, 15 years ago

Attachment: files.zip added

Test case files

comment:1 by akrherz, 15 years ago

Still efforting figuring out the offending URL call. I was grossly incorrect stating that this was broken all of the time with MS 5.4.0 , it appears to only blow up for certain Arc* clients.

comment:2 by akrherz, 15 years ago

Resolution: duplicate
Status: newclosed

dup #2995

Note: See TracTickets for help on using tickets.