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, [email protected] <[email protected]> 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
        [email protected]
        <mailto:[email protected]>
        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.


_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to