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
Challenge #3 - Open source tool for GIS-based dissolve functionalities #3
Comments
We @lutraconsulting are interested in participating in the challenge and have two possible directions for solution. One could be a web application with simple UI to upload input layer, while processing happens at server and output is already stored in database, with option to export result to different format. Another one could be desktop application based on QGIS where user however needs to maintain the latest version of all layers of interest. The latter will thus involve more manual steps. Could you please add some more comments about your overall workflow (where data comes from, whether there is centralized source of 'river basin network' and what would be the final use of output layer, e.g. publishing in webmaps) so we can decide which will better fit your needs? |
Hi @varmar05 thank you for getting in touch about the project. There are two main workflows that are involved
I hope the above information helps, please let me know if you have any further questions. |
REMINDER: Deadline to register and submit your proposal is upcoming Sunday, 21 April at 23:59 GMT!Application process is a 2-step process: Applications without a submitted proposal will not be taken under consideration! |
Hallo, |
Hi @calebjuma27 , |
Challenge 3
Open source tool for GIS-based dissolve functionalities for the European Flood Awareness System (EFAS)
Software development.
Goal: To make the process of adding shapefiles from partners of EFAS more efficient
- Python
– handling geospatial vector data via osgeo/shapely modules
Challenge description
What data/system(s) should be used?
The European Flood Awareness System (EFAS) is run at ECMWF on behalf of the Copernicus Emergency Management Service. Flood forecasts are available to those hydro-meteorological/civil protection agencies who are partners, currently there are 74 EFAS partner institutions. When a new partner is added, ECMWF receives a geospatial polygon, currently in ESRI Shapefile format, which delineates their area of interest. This is intersected with a shapefile of river basins to show when flood notifications need to be sent to this new partner. Finally the new polygon is merged into a web layer which shows the partner coverage of EFAS.
What is the current problem/limitation?
The problem is that the above procedure is very manual, time consuming and is difficult to train staff members to utilise it. Each step is performed separately using a combination of QGIS and Python. The most time consuming step is the merging of the polygon into the web layer. QGIS’ dissolve function is temperamental and frequently fails. Sometimes due to the presence of geometric errors in the new polygon. The manual corrections may often take hours. Sometimes, the dissolve tool does not seamlessly combine polygon boundaries, requiring even more manual editing which can take up to a day. Even then, the dissolve tool still doesn’t always work and we resort to sending a copy to our colleagues at the Joint Research Centre who use the equivalent function in ArcGIS which works fine. ECMWF does not have ArcGIS, so we need an open source equivalent of a reliable Dissolve tool.
What could be the solution?
The solution would be a tool which takes the input partner area polygon, automatically intersects with the river basin network and then merges the polygon with the web layer.
Possible idea for the implementation:
A tool to clean the input partner polygon to remove any geometric errors e.g. using osgeo or shapely modules in Python.
Intersect the new partner polygon with a shapefile of river basins. Identify which river basins are intersected, select the EFAS computational river cells within these basins and assign the new partner ID to these cells. Again, this can be done using osgeo/shapely in Python, existing scripts at ECMWF could be recycled.
Merge the new partner polygon into the EFAS web layer which shows the spatial coverage of partners. Create a Dissolve tool which dissolves based on an attribute value. The tool will need to correct for any remaining geometric errors but also detect and correct for any gaps or overlaps which appear at boundaries. Osgeo/Shapely could again be used. The resulting data will be saved in ESRI Shapefile format.
The text was updated successfully, but these errors were encountered: