agrenott / pyhgtmap

Generate OSM contour lines from NASA SRTM (or other digital elevation model sources) data
GNU General Public License v2.0
13 stars 3 forks source link

Fix polygons intersections issues #45

Closed agrenott closed 11 months ago

agrenott commented 11 months ago

Intersection of input polygons and tiles bounding box are not always polygons. Properly discard lines and points intersections.

Close https://github.com/agrenott/pyhgtmap/issues/42

codacy-production[bot] commented 11 months ago

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
:white_check_mark: +0.04% (target: -1.00%) :white_check_mark: 100.00%
Coverage variation details | | Coverable lines | Covered lines | Coverage | | ------------- | ------------- | ------------- | ------------- | | Common ancestor commit (92ee78bf227c9ca6c2110829e6edaac5acaf1202) | 2879 | 2299 | 79.85% | | | Head commit (25415502d109dd9eb6fec3edea55ce6827962d82) | 2884 (+5) | 2304 (+5) | 79.89% (**+0.04%**) | **Coverage variation** is the difference between the coverage for the head and common ancestor commits of the pull request branch: ` - `
Diff coverage details | | Coverable lines | Covered lines | Diff coverage | | ------------- | ------------- | ------------- | ------------- | | Pull request (#45) | 27 | 27 | **100.00%** | **Diff coverage** is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: `/ * 100%`

See your quality gate settings    Change summary preferences

You may notice some variations in coverage metrics with the latest Coverage engine update. For more details, visit the documentation