stupid mouse.. <br><br>As I was saying....<br><br>You would be better off pre-transforming them with ogr2ogr.. dump them to a shapefile, write a quicky script to move the points around to match your grid (if that is what you are indeed doing) then insert them into the database as the right projection.
<br><br>It sounds like you will have a lot of duplicate points.  I recommend you only insert distinct points into a table, then make a reference table with smaller data types and a primary key referencing the point table.  Python could handle that kind of insert situation pretty easily.
<br><br><div><span class="gmail_quote">On 9/25/07, <b class="gmail_sendername">Shane Spencer</b> <<a href="mailto:shane@bogomip.com">shane@bogomip.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
you would be better off pre-transforming them with ogr2ogr.. dump them to a shapefile, write a q<div><span class="e" id="q_1153d568176dd984_1"><br><br><div><span class="gmail_quote">On 9/25/07, <b class="gmail_sendername">
Stephen Crawford</b> <<a href="mailto:src176@psu.edu" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
src176@psu.edu</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">All,<br><br>I have a table of about 30 million point observations.  The geometries are
<br>stored in lon/lat., with a gist index on the column.  For display and<br>analysis I want to use an albers projection....mostly I'm aggregating the<br>points to a grid.  Currently I just do the transform(geom) in my queries.
<br>Would it be better for me to perhaps create a view with the tranformation<br>instead of in my query....or should I instead create another geometry column<br>in the original table, with the tranformation and do another gist index on
<br>the new column?  What's the best approach?<br><br>Thanks,<br>Steve<br><br><br>Stephen Crawford<br>Center for Environmental Informatics<br>The Pennsylvania State University<br><br>_______________________________________________
<br>postgis-users mailing list<br><a href="mailto:postgis-users@postgis.refractions.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">postgis-users@postgis.refractions.net</a><br><a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://postgis.refractions.net/mailman/listinfo/postgis-users
</a><br></blockquote></div><br>
</span></div></blockquote></div><br>