<br><br><div class="gmail_quote">On 14 May 2010 10:21, rakesh modi <span dir="ltr"><<a href="mailto:rakesh.modi1585@gmail.com">rakesh.modi1585@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
hi,<br>i am using select query which is shown below <br>SELECT sum(length(the_geom))/1000 AS km_roads FROM routable;<br>and get error like - <br>HINT:  No function matches the given name and argument types. You might need to add explicit type casts.<font color="#888888"></font><br>
</blockquote></div><br>what is the projection of your geometry? ST_Length returns a length in the unit of the chosen projection. If you are working with lat, lon, you won't have meters coming out of ST_Length.<br><br>
Emilie Laffray<br>