[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Maposmatic-dev] [bug #36261] Division by zero in single page rendering

From: Jeroen van Rijn
Subject: [Maposmatic-dev] [bug #36261] Division by zero in single page rendering
Date: Sat, 21 Apr 2012 17:21:30 +0000
User-agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:13.0) Gecko/20120420 Firefox/13.0a2

Follow-up Comment #3, bug #36261 (project maposmatic):

Apart from figuring out why MapOSMatic passed those parameters for this job
and preventing that, I think this kind of error should probably also be
checked for in OcitySMap.

Some people might prefer to use the latter with a different front-end or
straight up from the command-line, in which case a fix in the former doesn't
do anything.

As far as the OcitySMap part goes, rather than checking if Lat1 - Lat2 == 0 or
Lon1 - Lon2 == 0, how about that bit of code that adjusts the bounding box to
accommodate the paper size check for this error? Maybe it can also enforce a
minimum height/width in km of the mapped area?


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]