[OSM-dev] Map rendering code... API or database direct?

Raphaël Jacquot sxpert at esitcom.org
Thu Mar 30 13:34:34 BST 2006


immanuel.scholz at gmx.de wrote:
> 
> This will not draw line segments which only passes your tile (and these line 
> segments we are speaking of)
> 
>          |                    |
>          |      *             |
>          |     /              |
> ---------+----/---------------+-------------
>          |   /                |
>          |  /                 |
>          | /                  |
>          |/                   |
>          /                    |
>         /|                    |
>        * |                    |
>          |                    |
> ---------+--------------------+-------------
>          |                    |
>          |                    |
>          |                    |

true, but those are rather rare.


those, however, occuring much more often:

 >          |                    |
 >          |                    |
 >          |                    |
 > ---------+--------------------+-------------
 >          |                    |
 >          |  *                 |
 >          | /                  |
 >          |/                   |
 >          /                    |
 >         /|                    |
 >        * |                    |
 >          |                    |
 > ---------+--------------------+-------------
 >          |                    |
 >          |                    |
 >          |                    |

and were the ones I was reffering to.

I am interested by that algorithm of yours however :D




More information about the dev mailing list