Display Lines as Points
David William Bitner
david.bitner at GMAIL.COM
Wed Mar 14 11:26:04 PDT 2007
If your layer was in postgis, you would just need to use something like this
in your data statement:
DATA "spoint from (select startpoint(the_geom) as spoint,id from mytable) as
mytable using unique id using srid=-1"
On 3/14/07, Steve Lime <Steve.Lime at dnr.state.mn.us> 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
> <D12153701D57FF45A1AD64DFB6571D7C0157A5C4 at svie0107.vie01.local>, "Pleyer,
> Walter" <Walter.Pleyer at LFRZ.AT> 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: walter.pleyer at lfrz.at
> > WWW: http://www.lfrz.at
>
--
************************************
David William Bitner
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20070314/370ce5a3/attachment.htm>
More information about the MapServer-users
mailing list