error message when using Probe Raster tool
This message shows up when I use probe raster tool to pick a pixel in an DEM. After this message pops up, surprisingly, all other commands don't work anymore.
The DEM is in EPSG 26917, but it appears from time to time the plugin is trying to converting it to EPSG 4326 or gets confused about it with EPSG 4326, and that's when the error message pops up.
The error message is really random, which makes the plugin work at certain moment, but then stops working later, and it can then go back to work again.
Hi Yhan,
Many thanks for reporting this.
Would you be willing to share your project, so I can reproduce the error?
If you have a Mergin Maps [1] account, please share it with either
support or rpasiok user.
Thanks!
[1] merginmaps.com
On Tue, 30 Aug 2022, 05:47 yhan27, @.***> wrote:
[image: error msg_probe raster] https://user-images.githubusercontent.com/66029267/187344682-f6d3e3bc-ed7a-4dd2-b6c0-98769bad22a4.PNG
This message shows up when I use probe raster tool to pick a pixel in an DEM. After this message pops up, surprisingly, all other commands don't work anymore.
— Reply to this email directly, view it on GitHub https://github.com/lutraconsulting/serval/issues/43, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAXWPCZNZHZZUDIOF46CHH3V3V765ANCNFSM5777V3DA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
hi, I shared the file with you thru merginmaps.com - WBT BC Basins.tif. It is just a sample raster file which I used to play around with Serval. Thanks.
BTW, after the error message shows up, try to create a new empty shapefile in the same projection of the raster file. Then everything is back to normal and working again. I can not explain the reasoning, just an observation.
On Mon, Aug 29, 2022 at 11:45 PM Radek Pasiok @.***> wrote:
Hi Yhan,
Many thanks for reporting this.
Would you be willing to share your project, so I can reproduce the error?
If you have a Mergin Maps [1] account, please share it with either
supportorrpasiokuser.Thanks!
[1] merginmaps.com
On Tue, 30 Aug 2022, 05:47 yhan27, @.***> wrote:
[image: error msg_probe raster] < https://user-images.githubusercontent.com/66029267/187344682-f6d3e3bc-ed7a-4dd2-b6c0-98769bad22a4.PNG
This message shows up when I use probe raster tool to pick a pixel in an DEM. After this message pops up, surprisingly, all other commands don't work anymore.
— Reply to this email directly, view it on GitHub https://github.com/lutraconsulting/serval/issues/43, or unsubscribe < https://github.com/notifications/unsubscribe-auth/AAXWPCZNZHZZUDIOF46CHH3V3V765ANCNFSM5777V3DA
. You are receiving this because you are subscribed to this thread.Message ID: @.***>
— Reply to this email directly, view it on GitHub https://github.com/lutraconsulting/serval/issues/43#issuecomment-1231134926, or unsubscribe https://github.com/notifications/unsubscribe-auth/APXYNUYLOIHNYSLM62Q2QC3V3WGYLANCNFSM5777V3DA . You are receiving this because you authored the thread.Message ID: @.***>
-- Regards, Yingjian Han
Many thanks for sharing the project. Unfortunately, I can't see the tif raster in the project, only the Stamen background is there.
Could you please make sure your raster file is located in the Mergin Maps project folder and added to the project? You can then synchronise your project with the service. Thank you!
Kind regards,
Radek Pasiok
Ah, sorry - my bad - it is all there!
Please ignore previous message :-)
I can't reproduce it. What is your QGIS version? Also, could you let us know what was your project CRS and default transformation for the raster?

I set up the option of using CRS from first layer added so my project CRS is the same as the file CRS which is EPSG26917.
Here is how to repeat the problem: open QGIS or open a new project by clicking the blank white sheet icon, drag the tif file to Canvas, pick up the probe raster icon of Serval and click anywhere in the raster, and the error msg will appear. At this moment, not only the probe raster tool does not work, but also other Serval tools. Per my testing, to make Serval work again, after the error message pops up, close it and then add a google road map from QuickMapService plugin or try to create a new empty shapefile; now click probe raster again, or do selection/value changes, for no reason everything works!
On Tue, Aug 30, 2022 at 3:14 AM Radek Pasiok @.***> wrote:
I can't reproduce it. What is your QGIS version? Also, could you let us know what was your project CRS and default transformation for the raster?
[image: obraz] https://user-images.githubusercontent.com/3106699/187385818-9ed750f7-2952-4f79-b789-d5faeaafc61c.png
— Reply to this email directly, view it on GitHub https://github.com/lutraconsulting/serval/issues/43#issuecomment-1231315819, or unsubscribe https://github.com/notifications/unsubscribe-auth/APXYNU2TTJXFH2S3CGPAJKLV3W7IFANCNFSM5777V3DA . You are receiving this because you authored the thread.Message ID: @.***>
-- Regards, Yingjian Han