Beakerboy / OSMBuilding

render an individual OSM building
MIT License
43 stars 5 forks source link

Cardinal Directions for Roofs and Misc Roof Fixes #61

Open justinormont opened 1 month ago

justinormont commented 1 month ago

Additions:

Fixes:

Closes https://github.com/Beakerboy/OSMBuilding/issues/60

Beakerboy commented 1 month ago

Could you add a test for the new cardinal direction code? And one that demonstrates that a building with a north roof does not produce an entry in the error log, but one with a missing direction does?

Beakerboy commented 1 month ago

I submitted a pull request to your branch. Please review it and let me know what you think. I refactored your function to make is shorter and created a unit test for it. It still needs a test for the message in the error log.