I should say that I’m assuming you’re using version 7.0, that’s where the
filter normalization work was done so that you could execute the same filter
(item queries are just dynamic filters) against any data source.
Oh, and your last question, your URL template can use whatever protocol you
wan
You don’t need to do runtime substitution with an itemquery, MapServer will
extend the where clause automatically. You data statement just needs to look
like:
DATA "wkb_geometry from (select objectid, parcelid, wkb_geometry from
cache.rc_parcel_poly) as subquery using unique objectid srid=200