<div dir="ltr"><div>Ah, proper compression.  Even better.  :)<br><br></div>Best,<br>Steve<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jan 16, 2013 at 6:34 PM, Paul Ramsey <span dir="ltr"><<a href="mailto:pramsey@opengeo.org" target="_blank">pramsey@opengeo.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Development work in this vein is ongoing<br>
<br>
<a href="https://github.com/pramsey/pointcloud" target="_blank">https://github.com/pramsey/pointcloud</a><br>
<div><div class="h5"><br>
On Wed, Jan 16, 2013 at 1:49 PM, Bruce Rindahl <<a href="mailto:bruce.rindahl@gmail.com">bruce.rindahl@gmail.com</a>> wrote:<br>
> I am currently building a large PostGIS database of lidar data and going<br>
> through several performance tweaks to make 1.5 billion records respond<br>
> better.  One of the big ones was to convert the z data by multiplying by 100<br>
> and storing it as an integer instead of a double (I know - pretty obvious).<br>
> The resulting reduction in storage space is significant as is query<br>
> performance.  The x and y values are stored as a point value in a geometry<br>
> type which i believe is stored like two double precision values.  Would it<br>
> be possible to specify a special geometry type using integer values instead<br>
> of doubles?  You could either add a factor (and a special SRID) or just<br>
> round the values (possible in my case - are the lidar points really accurate<br>
> to less than a foot?).  D3.js is doing something very similar to this in its<br>
> topoJSON format.<br>
> How much brain damage would this cause?  Just thinking out loud...<br>
> Bruce<br>
><br>
</div></div>> _______________________________________________<br>
> postgis-users mailing list<br>
> <a href="mailto:postgis-users@lists.osgeo.org">postgis-users@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users</a><br>
><br>
_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@lists.osgeo.org">postgis-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users</a><br>
</blockquote></div><br></div>