Ticket #3000 (assigned defect)
Issue using msdrawQueryLayer for GEOMTRANSFORM (patch for mapdraw.c)
|Reported by:||djay||Owned by:||tbonfort|
|Component:||MapServer C Library||Version:||5.4|
When I used line layer using the new GEOMTRANSFORM option I saw that when querying I get strange result drawed as presented here. As you could see the style which use the GEOMTRANSFORM option (end and start in this case) was not take in account. So I've red the mapdraw.c file to see that only the last style was hilighted (if needed) and as the geomtransform was not take in account then the symbol was displayed all along the line (as shown in the outputed image before).
One solution to get at least the line highlighted I only have to put the first style at the end, but I ws still unable to highlight the transformed geometry which didn't seems to be a solution from my point of view.
So, I've made a small patch to be able to first highlight not only one style for a layer but all styles and to display the transformed geometry properly. This way I've solved the issue when querying a line layer but now I have to take care about the querying of point layers.
Hope to be able to provide a beter patch soon to be able to use this color scheme for all styles only in the case of a line layer.
Hope I didn't do something wrong.