Shapefile format question.

Stephen Woodbridge woodbri at SWOODBRIDGE.COM
Mon Sep 20 07:53:08 PDT 2004


Lowell,

Shapefile ARC objects can be polylines. That is they can have multiple
points that describe a curve, but between any two adjacent points in a
polyline, the segment is always a straight line. This holds true for the
simple polyline that only has 2 points (ie: a line).

Hope this answers your question.
-Steve W.

Lowell Filak wrote:

> Hopefully someone who knows more about the layout of a shapefile can
> help here.
> Is the segment between two points on a line object always a straight line?
> I know a coverage is and we are using shapefiles translated from
> coverages so it's probably safe to assume that is the case here but I
> don't want to break my mapscript function for generic shapefiles we may
> add later.
>
> Thanks.
>
> Lowell
>



More information about the MapServer-users mailing list