Walter,

Setup the layer as a POINT layer and construct a SQL query that extracts the first point of the line segment. You might want to create a view to simplify the SQL in the mapfile or to create an index on the points.

-Steve

Steve Lime wrote:
MapServer itself cannot selectively display just one point from a
feature. Perhaps there is a Oracle function to do the extraction on
the database side? PostGIS users might have an idea that could be
translated into Oracle.

Steve

On 3/14/2007 at 10:17 AM, in message
<[EMAIL PROTECTED]>,
"Pleyer, Walter" <[EMAIL PROTECTED]> wrote:
Hi Folks!

We have a rather tricky problem and maybe someone out there knows a
 solution. We have a layer of  rivers, divided in 500m Segments,
stored in an Oracle Spatial DB. Each segment is a simple line with
a starting point and an end point, but they shall not be displayed
a slines, but rather as points. What we want is simnply to
represent every segment by its starting point only. Is that
possible?

Walter

LFRZ A-1200 Wien, Dresdner Strasse 89 Tel:   ++43(1)33 176/421 Fax:
++43(1)33 176/999 Email: [EMAIL PROTECTED] WWW:
http://www.lfrz.at

Reply via email to