<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Gery,<br>
<br>
devide the length of th line by your amounts of points-1 and use the
function ST_Line_Interpolate_Point() to calculate the points on the
line. See
<a class="moz-txt-link-freetext" href="http://postgis.org/documentation/manual-1.5/ST_Line_Interpolate_Point.html">http://postgis.org/documentation/manual-1.5/ST_Line_Interpolate_Point.html</a>
for the function.<br>
<br>
Best Regards Peter<br>
<pre class="moz-signature" cols="72">Universität Rostock
Agrar- und Umweltwissenschaftliche Fakultät
Professur für Geodäsie und Geoinformatik
Justus-von-Liebig-Weg 6
18059 Rostock
Tel: 0381 498 3212
Fax: 0381 498 3202</pre>
<br>
Am 09.01.2012 18:48, schrieb Gery .:
<blockquote cite="mid:DUB111-W137A5FDBAD0084ADD8DB704B0980@phx.gbl"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
<div dir="ltr">
<br>
<br>
Hello,<br>
<br>
I was looking in internet a way to sample my line shapefile
based on my onw decision, for instance, my line is 1-km long and
I want three scenarios: (a) 1 point every 50 meters (20 points
including starting and ending points), (b) 1 point every 20
meters (50 points including starting and ending points), (c) 1
point every 10 meters (100 points including starting and ending
points).<br>
<br>
I appreciate your ideas about it.<br>
<br>
Thanks,<br>
<br>
Gery<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
postgis-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a>
<a class="moz-txt-link-freetext" href="http://postgis.refractions.net/mailman/listinfo/postgis-users">http://postgis.refractions.net/mailman/listinfo/postgis-users</a>
</pre>
</blockquote>
</body>
</html>