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

Lime, Steve D (DNR) Steve.Lime at state.mn.us
Tue Nov 23 17:46:21 EST 2010


I may need to learn more about how OGR works... That said, I didn't think we changed anything there from 5.4 => 5.6.  So, for OGR (like shapefiles) the global index and relative query index are one and the same, and in that case if a non -1 tile index were encountered it would be treated as, well, a tile index (assuming the layer was using tiles). A driver has the ability to decide how it sets the shape/tile indexes and how it interprets them when asked for a feature.

Steve

From: Yewondwossen Assefa [mailto:yassefa at dmsolutions.ca]
Sent: Tuesday, November 23, 2010 4:23 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

So ogr  layers would use return (after a query) shape->index as the global/unique index and shape->tileindex as a tileindex? Or would they stay as It is in 5.6 (use the shape->index as the relative index from the query)?

On 23/11/2010 4:43 PM, Lime, Steve D (DNR) wrote:
Drivers that support tile indexes would continue to work "as-is". Those drivers aren't database driven so they, like shapefiles, would continue to use shape and tile indexes to retrieve records for presentation. The only way adding an additional index would make sense to me is if we relied on a result set object and passed it to getShape() or getFeature() in mapscript.

Steve

From: Yewondwossen Assefa [mailto:yassefa at dmsolutions.ca]
Sent: Tuesday, November 23, 2010 2:28 PM
To: Lime, Steve D (DNR)
Cc: mapserver-dev at lists.osgeo.org<mailto:mapserver-dev at lists.osgeo.org>
Subject: Re: [mapserver-dev] RFC 65 - Single pass query handling for 6.0

Hi Steve,

Regarding the use of tileindex as the shape index relative to a query: would this work when users define TILEINDEX in their map file (I think that is what its is used for?) Would it be better to have an additional new field?

I really think that additional MapScript save/load queries a la pre-5.6 are a welcome changes.

regards,

On 22/11/2010 12:42 PM, Lime, Steve D (DNR) wrote:
Hi all: I jotted down some thoughts on changes I'd like to see made for 6.0 that address shortcomings to the 5.6 single pass query
handling.  I'm looking to simplify...  We have to do something for this release on the topic. I don't think the proposed changes will
take much effort.

  http://mapserver.org/development/rfc/ms-rfc-65.html

Steve





_______________________________________________

mapserver-dev mailing list

mapserver-dev at lists.osgeo.org<mailto:mapserver-dev at lists.osgeo.org>

http://lists.osgeo.org/mailman/listinfo/mapserver-dev





--

----------------------------------------------------------------

Assefa Yewondwossen

Software Analyst



Email: yassefa at dmsolutions.ca<mailto:yassefa at dmsolutions.ca>

http://www.dmsolutions.ca/



Phone: (613) 565-5056 (ext 14)

Fax:   (613) 565-0925

----------------------------------------------------------------






--

----------------------------------------------------------------

Assefa Yewondwossen

Software Analyst



Email: yassefa at dmsolutions.ca<mailto:yassefa at dmsolutions.ca>

http://www.dmsolutions.ca/



Phone: (613) 565-5056 (ext 14)

Fax:   (613) 565-0925

----------------------------------------------------------------


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20101123/1ceb43ff/attachment.html


More information about the mapserver-dev mailing list