Thanks Lars. Yes I am looking for geometric length.
On Fri, Mar 13, 2015 at 3:11 PM, Schylberg Lars < [email protected]> wrote: > As far as I know there is no length function in Mapserver. > > The only geometry function to use in Expressions is area(shape). > > OGR sql doesn’t provide that either as far as I can see in the > documentation. > > > > So the solutions might be to convert your KML data to sqlite or postgis > where such functions are available. > > > > The length of a string (number of characters in the string) can be found > in OGR sql with the length function, > but I am assuming You are looking for the geometric length of the > linestring. > > > > /Lars > > > > *From:* [email protected] [mailto: > [email protected]] *On Behalf Of *alok mathur > *Sent:* den 13 mars 2015 07:01 > *To:* [email protected] > *Subject:* [mapserver-users] Calculate length! > > > > Hi, > > > > I want to calculate the length in mapserver. Is it possible. Means i have > a linestring and i want to know the length for it. > > Also not could be suggest me how to do it. > > > > I am using data source to mapserver as KML. > > > > Thanks! > > > > -- > > *Alok Mathur* > > _______________________________________________ > mapserver-users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/mapserver-users > -- *Alok Mathur* | Software Engineer 2A | Ciena Mobile +91 9899413266
_______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
