<br><font size=2 face="sans-serif">Markus M.,</font>
<br>
<br><tt><font size=2>&gt;Large file support does not help here because
8.5 billion points<br>
&gt;exceeds the number of supported features in GRASS vectors which is<br>
&gt;about 2 billion (2,147,483,647 to be precise).</font></tt>
<br><tt><font size=2>&nbsp; &nbsp; &nbsp; &nbsp; I'll chop the
inputfile into sections less than 2 billion then. Is there any reason that
the 2 billion limit on GRASS vectors cannot be raised? ( variable change
vs types of variable and lots of ugly fixes in various places?) If it's
something simple, I can play with it, but I'm not a C programmer :-(. </font></tt>
<br><tt><font size=2><br>
<br>
&gt;Further on, a region with 6.8 billion cells is a bit large since the<br>
&gt;interpolated raster will be held in memory which would require about<br>
&gt;50 GB RAM (that could be fixed for v.surf.bspline by keeping</font></tt>
<br><tt><font size=2>&gt;intermediate data on disk).</font></tt>
<br><tt><font size=2>&nbsp;I know some folks with computers with 64GB+
of RAM, so that is not an insurmountable issue. However, it would probably
be better to go the intermediate route. &nbsp;</font></tt>
<br><tt><font size=2><br>
&gt; No idea where the request for<br>
&gt;18446744071812941729 * 8 bytes comes from, this is astronomical.</font></tt>
<br><tt><font size=2>That was my reaction. &nbsp;Perhaps the computer was
screaming in pain.:-)<br>
<br>
&gt;Apart from that, spline steps of 40 seem ok, since the point distance<br>
&gt;is 5 m or less, spline steps of 20 would also be ok. The larger the<br>
&gt;spline steps, the smoother the resulting surface. Smoothing is also<br>
&gt;controlled through lambda.<br>
</font></tt>
<br><tt><font size=2>Thanks for the insight, I will need to change my approach
to minimize the smoothing.</font></tt>
<br>
<br><tt><font size=2>Doug</font></tt>
<br>
<br>
<br>
<br><tt><font size=2><br>
Markus M</font></tt>
<br><font size=2 face="sans-serif">Doug Newcomb &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; <br>
USFWS<br>
Raleigh, NC<br>
919-856-4520 ext. 14 doug_newcomb@fws.gov<br>
---------------------------------------------------------------------------------------------------------<br>
The opinions I express are my own and are not representative of the official
policy of the U.S.Fish and Wildlife Service or Dept. of the Interior. &nbsp;
Life is too short for undocumented, proprietary data formats.</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Markus Metz &lt;markus.metz.giswork@googlemail.com&gt;</b>
</font>
<p><font size=1 face="sans-serif">01/03/2011 09:13 AM</font>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">Markus Neteler &lt;neteler@osgeo.org&gt;</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td><font size=1 face="sans-serif">Doug_Newcomb@fws.gov, grass-dev@lists.osgeo.org</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">Re: [GRASS-dev] How many points in a
point layer and v.surf.bspline questions</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><tt><font size=2>On Mon, Jan 3, 2011 at 2:57 PM, Markus Neteler &lt;neteler@osgeo.org&gt;
wrote:<br>
&gt; hi Doug,<br>
&gt;<br>
&gt; On Mon, Jan 3, 2011 at 2:26 PM, &nbsp;&lt;Doug_Newcomb@fws.gov&gt;
wrote:<br>
&gt;&gt;<br>
&gt;&gt; Hi Folks,<br>
&gt;&gt;<br>
&gt;&gt; I aggregated all of the bare earth lidar points for the state
of North<br>
&gt;&gt; Carolina into a single file &nbsp;Imported all 8.5 billion points
for NC into one<br>
&gt;&gt; point layer with no topology. &nbsp;I was sort of curious to see
if I could<br>
&gt;&gt; generate a seamless 20 ft elevation grid for the State of North
Carolina<br>
&gt;&gt; from a single data layerusing bspline and&nbsp; tried the following
command:<br>
&gt;&gt;<br>
&gt;&gt; GRASS 6.5.svn (ncstpft_nad83):~ &gt; v.surf.bspline input=all_nc_be_pts2<br>
&gt;&gt; raster=all_nc_be_20ft_bspline sie=40 sin=40 layer=0<br>
&gt;&gt; WARNING: Coor files of vector map &lt;all_nc_be_pts2@statewide&gt;
is larger than<br>
&gt;&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; it should be
(158913789952 bytes excess)<br>
&gt;&gt; Cells for raster map &lt;all_nc_be_20ft_bspline&gt; will be interpolated<br>
&gt;&gt; ERROR: G_calloc: unable to allocate 18446744071812941729 * 8 bytes
of<br>
&gt;&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; memory at dalloc.c:66<br>
&gt;<br>
&gt; you are hitting the limits :) I dunno if large file support helps,
but<br>
&gt; for vector data<br>
&gt; it is only available in GRASS 7 to my knowledge.<br>
&gt;<br>
Large file support does not help here because 8.5 billion points<br>
exceeds the number of supported features in GRASS vectors which is<br>
about 2 billion (2,147,483,647 to be precise).<br>
<br>
Further on, a region with 6.8 billion cells is a bit large since the<br>
interpolated raster will be held in memory which would require about<br>
50 GB RAM (that could be fixed for v.surf.bspline by keeping<br>
intermediate data on disk). No idea where the request for<br>
18446744071812941729 * 8 bytes comes from, this is astronomical.<br>
<br>
Apart from that, spline steps of 40 seem ok, since the point distance<br>
is 5 m or less, spline steps of 20 would also be ok. The larger the<br>
spline steps, the smoother the resulting surface. Smoothing is also<br>
controlled through lambda.<br>
<br>
Markus M<br>
</font></tt>
<br>