[Tilesathome] Illegal division by zero
Dirk-Lüder Kreie
osm-list at deelkar.net
Thu Jun 5 23:32:26 BST 2008
Martijn van Oosterhout schrieb:
> On Thu, Jun 5, 2008 at 9:16 PM, Łukasz Jernaś <deejay1 at srem.org> wrote:
>> Confirmed here with the same coords and an 64bit Intel machine running
>> Ubuntu Hardy. It has happened before on an other tileset but I ignored
>> it (yeah, it was late and I needed some sleep ;)
>
> It would be helpful if someone could determine which routine in
> lines2curves is causing the problem. However, looking at the code in
> lines2curves it appears the problem could be caused by a way
> containing two successive nodes at the same location (either the same
> node or a different one). Does this sound plausible?
Yes that would be a very plausible cause for this behaviour.
Next question: how do we avoid this?
--
Dirk-Lüder "Deelkar" Kreie
Bremen - 53.0952°N 8.8652°E
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openstreetmap.org/pipermail/tilesathome/attachments/20080606/0cb8219f/attachment.pgp>
More information about the Tilesathome
mailing list