Skip to content
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

Issue: NDV Pixels in Change Map Generated by MOLUSCE Under area_changes > Create_change_map #66

Open
Prateekbhatt789 opened this issue Nov 28, 2024 · 5 comments

Comments

@Prateekbhatt789
Copy link

Hello,

I am experiencing an issue while using the MOLUSCE plugin in QGIS, specifically when generating a change map using the Create_change_map function under the area_changes module.

The input rasters I am working with include:

2017_builtup
2020_builtup
DEM
Distance from road
Distance from waterbodies
When I attempt to generate the change map, the output raster contains several NDV (No Data Value) pixels, even though I have pixel values for all of these input rasters. These NDV pixels are affecting the analysis, and I am unable to correctly handle them in the generated change map.

Here are the steps I followed:

I used a vector layer representing the boundary of 2017 (AOI_boundary) to clip the DEM raster only.
I reprojected the DEM raster and the vector boundary to ensure they had matching CRS (EPSG:32644).
When running the Create_change_map function, the output raster contains NDV pixels, even though the input rasters and the factor rasters have valid data values in most areas.
I have attempted to use the Fill_no_data function, but the NDV issue persists in the change map.
I would appreciate any guidance on how to resolve this issue. It seems like the plugin might not be handling the NoData values properly when performing the change detection.

I look forward to your suggestions or any potential fixes. Thank you in advance!

Best regards,
Prateek.

change_map_issue

@RemeshevskiyValeriy
Copy link
Contributor

Hello, Prateek! Do you have the opportunity to share the dataset that you used when you encountered this issue in MOLUSCE? This would make it possible to find out the possible cause of the problem. You can try to send your dataset in this issue or to the email [email protected]

@Prateekbhatt789
Copy link
Author

Prateekbhatt789 commented Dec 3, 2024 via email

@RemeshevskiyValeriy
Copy link
Contributor

Prateek, hello again!

May I ask if you have sent your dataset to the email address specified in my previous message? If so, then, unfortunately, I did not receive your letter. If it doesn't bother you, then please try to send to this email - [email protected] . Hope that everything will work out :)

@Prateekbhatt789
Copy link
Author

Prateekbhatt789 commented Dec 9, 2024 via email

@RemeshevskiyValeriy
Copy link
Contributor

Hello, Prateek!

First of all, I apologize for keeping you waiting so long for updates about the problem you`re facing. The problem turned out to be not so innocuous.
MOLUSCE creates rasters using the GDAL library, and in cases where data blocks (in this case, raster strips) filled with zeros are contained in a row, the writing algorithm ignores these blocks by default thus interpreting them as "no data". A large number of users may have encountered this problem, so thank you for reporting this issue.
While the official version of the plugin with the bugfix has not been released, you can install MOLUSCE with problem fix from the zip archive which I attached to this message. I will be glad of any feedback.

Best wishes,
Valeriy

molusce-4.2.1.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants