-
-
Notifications
You must be signed in to change notification settings - Fork 375
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Searchmap CGI option busted from 6.2 onward... #5157
Comments
Looks like the option and associated computations are fine, so the issue is in the template code - specifically related to msTransformShapeToPixelRound(). Turns out that a small change in that function to fix a loop counter exposed bad logic in the shpxy tag processing for points - the conversion from map to image coordinates was occurring twice - whoops. |
sdlime
added a commit
that referenced
this issue
Sep 1, 2015
…oordinates with the shpxy tag was happening twice.
sdlime
added a commit
that referenced
this issue
Sep 1, 2015
…oordinates with the shpxy tag was happening twice.
sdlime
added a commit
that referenced
this issue
Sep 1, 2015
…oordinates with the shpxy tag was happening twice.
Fixed in 6.4, 7.0 and master. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Searchmap is an option that uses the map extent of the map that would be created given an extent and size for search purposes. It's useful for creating imagemaps from query output where you need to match the imagemap to a MapServer generated image. Looks like it broke between the 6.0 and 6.2 releases which tells you how much it's used - I may be the only one. I'd propose fixing in 6.4 and 7.0.
Steve
The text was updated successfully, but these errors were encountered: