Line between 2 points
Paul Spencer
pspencer at DMSOLUTIONS.CA
Wed May 4 03:52:30 PDT 2005
Stephane,
to create a curved line between two points, you will need to calculate
intermediate points along the curve and add them to your line segment.
If you are portraying a straight line (geographic) in a non-geographic
projection then the calculations are simply to add intermediate points
along the line and mapserver will re-project them appropriately, ending
up with a nice curve (depending on the number of points). If you are
trying to display a curve in the same projection, you will need some
equation to calculate points along the curve.
Cheers
Paul
Stephane Nicolas wrote:
> Does naybody has an idea about creating a curved line between 2 points?
> Thnaks in advance for any help or directions given to previously discussed
> thread.
>
> Stephane
>
--
+-----------------------------------------------------------------+
|Paul Spencer pspencer at dmsolutions.ca |
+-----------------------------------------------------------------+
|Applications & Software Development |
|DM Solutions Group Inc http://www.dmsolutions.ca/|
+-----------------------------------------------------------------+
More information about the MapServer-users
mailing list