-
-
Notifications
You must be signed in to change notification settings - Fork 364
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
QueryByPoint Issues on 6.4.2 #5120
Comments
|
So an update after some more testing. While adding the explicit: seems to improve things, I am still getting getting occasional hanging (it is not actually hanging but returning millions of lines of NoData value. If I increase So as Thomas mention it is likely a result of the number of raster pixels under the screen pixel. Since I am doing a query to a GTiff, it seems that their should be no zoom scale applied, the resolution should be that of the georeferenced raster, the x-y of the query should find the neared pixel if it is over the raster and return no result if it is not over the raster in question. The problem with this is the fact that this is a big change in behavior from 6.2 to 6.4 where 6.2 would return: and now 6.4 returns about 1 million by default according to: I have found that adding the following PROCESSING directive at least provides a way to limit the number of results, but at the default scale if there are millions of pixels at a coordinate which is returned. How are NoData values treated? are they ignored? If the x-y of the query resolves to NoData then it should respond the same way as if the x-y was not over the raster. The actual underlying raster is defined in my case like: |
|
Steve L noted that setting |
|
I just submitted a similar issue (#5173) |
|
Closing without trying to re-produce. I am sure that tolerance works as expected for some users with maxscaledenom. Refresh the ticket with a re-producible test case for MS 7.x or 8.x if needed. |
|
Closing without trying to re-produce. Refresh the ticket with a re-producible test case for MS 7.x or 8.x if needed. |
Extracted from thread on mapserver-users:
According to the docs, the defaults are:
and with:
How is zoom calculated?
Did this behavior change from 6.2.1 to 6.4.1? because it is not noted in the MIGRATION-GUIDE if it did. On 6.2.1 I get the following result:
which returns very quickly.
I rsynced the data and the mapfile for Ubuntu 12.04 to 14.04 and installed the mapserver package. Everything else appears to be working without a problem except this issue.
SOLVED:
I explicitly added:
to my LAYER definition and now it works.
So it looks like maybe the defaults are not getting initialized.
The text was updated successfully, but these errors were encountered: