[mapserver-dev] RFC 65 - Single pass query handling for 6.0

Lime, Steve D (DNR) Steve.Lime at state.mn.us
Mon Nov 29 22:33:14 EST 2010


Is the idea of accessing the queryObj through layer->map->query not ok? That object stores the type of query and the type is set to MS_QUERY_IS_NULL if in draw mode. 

Steve
________________________________________
From: Tamas Szekeres [szekerest at gmail.com]
Sent: Monday, November 29, 2010 1:20 PM
To: Lime, Steve D (DNR)
Cc: mapserver-dev at lists.osgeo.org
Subject: Re: [mapserver-dev] RFC 65 - Single pass query handling for 6.0

Steve,

Would it be a big effort to include that additional parameter passed to the driver (in time of the whichShapes call) to make sure about the purpose of the query? This would help the driver to decide whether a single row forward only cursor is sufficient or a block based approach should be used at the 'low level' driver when retrieving the data from the server.


Best regards,


Tamas




2010/11/29 Lime, Steve D (DNR) <Steve.Lime at state.mn.us<mailto:Steve.Lime at state.mn.us>>
FYI I updated RFC 65 with a bit more detail on implementation and impact... Again, feedback most welcome.

Steve




More information about the mapserver-dev mailing list