[mapserver-users] regarding to draw a line between two points.(urgent deadline)
mario at geosar.ch
mario at geosar.ch
Wed Jan 21 01:11:19 PST 2009
Amiya Patra ha scritto:
> hi
> thank u 4 reply..But I am not getting.U mean to say this LAYER
> NAME "Layer"
> TYPE LINE
> STATUS ON
> DATA "st_makeline(88,21,78,25)"
> END
> Plz help........
> Thanks.....
>
> On Wed, Jan 21, 2009 at 2:10 PM, mario at geosar.ch <mario at geosar.ch> wrote:
>
> Amiya Patra ha scritto:
>
> Hi
>
> I have two points(lat long) in map. Now I want to draw a line
> for connectivity. Please help me ..its urgent because
> deadline is near.....Plese help me...(php mapscript)
>
>
>
> Thanks..........
> ------------------------------------------------------------------------
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> <mailto:mapserver-users at lists.osgeo.org>
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
> ------------------------------------------------------------------------
>
>
> No virus found in this incoming message.
> Checked by AVG - http://www.avg.com Version: 8.0.176 / Virus
> Database: 270.10.10/1905 - Release Date: 20.01.2009 14:34
>
>
>
> Hello,
> create new layer with the data st_makline(point1,point2) where
> point1 and point2 are given.
>
>
> ------------------------------------------------------------------------
>
>
> No virus found in this incoming message.
> Checked by AVG - http://www.avg.com
> Version: 8.0.176 / Virus Database: 270.10.10/1905 - Release Date: 20.01.2009 14:34
>
>
Hi,
if your are using a postgresql/postgis database you can use the function
st_makeline see the postgisreference of the function.
You can also add dynamic geom to layer via mapscript see
http://mapserver.org/mapscript/php/ look at the ShapeObj.
More information about the MapServer-users
mailing list