Right now when passing in two identical latitude or longitude values for the bounding box this leads to a division-by-zero error during rendering. Such errors should either be caught earlier in the process, with a more clear error message; or the renderer should maybe simply extend the bounding box to a minimum size, like e.g. one by one arc second, or maybe better a fixed absolute size like e.g. ten by ten meters.
Right now when passing in two identical latitude or longitude values for the bounding box this leads to a division-by-zero error during rendering. Such errors should either be caught earlier in the process, with a more clear error message; or the renderer should maybe simply extend the bounding box to a minimum size, like e.g. one by one arc second, or maybe better a fixed absolute size like e.g. ten by ten meters.
See also e.g.:
http://print.get-map.org/maps/224899
and
https://github.com/hholzgra/maposmatic/issues/88