[mapserver-users] regarding to draw a line between two points.(urgent deadline)

mario at geosar.ch mario at geosar.ch
Wed Jan 21 04:45:02 EST 2009


Amiya Patra ha scritto:
> Hi
> Thanks. Actually I am using Mysql database. And I am able to paste the 
> symbol at a point. Now I need to connect those point i.e, drawing 
> line. So plz help me regardoing this. And one more thing I need to run 
> my application via cgi-bin tomcat server. And already I configured 
> those options so that I am able to run cgi script. but for php I cant 
> find php5servlet.jar file. So plz can u help me.
> Plz help
> Thanks.
>
> On Wed, Jan 21, 2009 at 2:41 PM, mario at geosar.ch <mario at geosar.ch> wrote:
>
>     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>
>                <mailto: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.
>
>
>
> ------------------------------------------------------------------------
>
>
> 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,
for configuring tomcat to execute php look at the web for some how_to, 
for drawing lines between given points from mysql,
you can in php script connect to db load the points and add them via 
mapscript ShapeObj to a layer.

Regards
Mario



More information about the mapserver-users mailing list