Rogier Posted June 24 Posted June 24 (edited) Creating good roughness and elevation maps is important for microscale flow modelling for wind resource and siting assessment. The WAsP scripting plugin can help with this and is now available for installation via the official QGIS plugin channel. You can just go the Plugins > Manage and install plugins and search for "WAsP scripting". The plugin contains scripts for: Downloading elevation data Downloading landcover data Convert landcover polygons to roughness or landcover lines as required by WAsP Creating hand digitized landcover polygon maps Saving the elevation, roughness or landcover lines as WAsP .map/.gml files Video solutions for different work flows are available in this playlist It contains a general introduction to QGIS for WAsP applications and some more specific video tutorials on the different workflows for which the scripts can be used and some pitfalls to be aware of when using these scripts. Specific tutorials Importing an elevation map from the GWA warehousee creating a hand-digitized landcover map using google earth satellite data Import a landcover map from the CORINE database Edited June 24 by Rogier
Shehan Posted June 28 Posted June 28 Hi Rogier, Thanks a lot for making this plugin available opensource. I encountered few issue when I tried to create roughness map files for an area in Tanzania with center coordinates ( -5.12238, 33.20613). After creating the bounding box and when downloading GWA landcover polygons. I saw below error in the box. https://drive.google.com/file/d/1y4eR_VEjIznPrXyGhDuB9K_MU40Hb6L3/view?usp=sharing My main concern is not that. Main concern is that the final WAsP roughness lines .map file when loaded into Map Editor gave me below errors. https://drive.google.com/file/d/16hfQwQrHMdbsoJglKkuOfz5AteE1QZgJ/view?usp=sharing https://drive.google.com/file/d/16r0AXqQUixh-1zSoUqkqyE-9kxe4-yJa/view?usp=sharing https://drive.google.com/file/d/1wqEWg5hVdjyN1EqY4sccbIjxdM_rBUed/view?usp=sharing When I view the roughness lines map it shows vertical lines as below. https://drive.google.com/file/d/1IXe5SxdiOy55u0R64-oO0_tPfjmFq1Xq/view?usp=sharing Looking forward to get this issue sorted with your help. Best Regards Shehan
Rogier Posted June 28 Author Posted June 28 (edited) I tried to make a map for the same coordinates as you and I get more or less the same output but without errors. The spatial index warning you can ignore, this only has an impact on the speed, which is fast anyway. Can you share the intermediate layer that you get in QGIS? I.e. the "ESA-CCI landcover polygons" and "roughness lines" (right click, "Export > Save features as" and then save as .gpkg. And maybe you can also share your QGIS version (see "Help > About") and the map editor version? I am using QGIS v3.34.2. sadas.map Edited June 28 by Rogier
Shehan Posted July 2 Posted July 2 Thanks for your prompt reply and excuse me for late reply. My version of QGIS is 3.36.0-Maidenhead and MapEditor version is 12.3.1.54 Below are the intermediate files. GWA landcover polygons.gpkg https://drive.google.com/file/d/1HJxm-n90XZzQrc5isoBi6JqGX4Okn1MT/view?usp=sharing GWA landcover to roughness lines https://drive.google.com/file/d/15fzZSC96qrEP0_13W4yMDm4RdZ3IA1Oh/view?usp=sharing Best Regards Shehan
Rogier Posted July 4 Author Posted July 4 Hi Shehan, I opened your files and couldn't see anything special about them. But I am on holiday and don't have the map editor on this computer. My only recommendation is to update your map editor versio, because there was numerous problems with that version of the map editor. I can look at it when I come back from holiday or otherwise write to the wasp support (see wasp.dk) if it is a urgent issue.
Shehan Posted July 13 Posted July 13 Thanks for taking the time to check my files. As you suggested I will surely try to get a updated version of map editor and see.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now