Apologize for the noise.<div><br></div><div>I found what I needed here: <a href="http://gis.stackexchange.com/questions/35427/postgis-2-0-public-geometry-columns-view-does-not-contain-correct-info-for-vie">http://gis.stackexchange.com/questions/35427/postgis-2-0-public-geometry-columns-view-does-not-contain-correct-info-for-vie</a></div>
<div><br clear="all"><div><div>- John</div><div><br></div></div>
<br><br><div class="gmail_quote">On Thu, Mar 21, 2013 at 2:39 PM, John Callahan <span dir="ltr"><<a href="mailto:john.callahan@udel.edu" target="_blank">john.callahan@udel.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Forgot to mention, we are currently running Postgres 9.0.7 with PostGIS 2.0.2 on Windows.<div><span class="HOEnZb"><font color="#888888"><br clear="all"><div><div>- John</div><div><br></div></div></font></span><div><div class="h5">
<br><br><div class="gmail_quote">On Thu, Mar 21, 2013 at 2:37 PM, John Callahan <span dir="ltr"><<a href="mailto:john.callahan@udel.edu" target="_blank">john.callahan@udel.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I have a few spatial tables that are POLYGON and MULTIPOLYGON as the geometry type, each with between 1k and 10k features. They only a couple of attributes and generally look good., and display in QGIS nicely. I also have a separate (non-spatial) data table (called geodatatable) with about 50 records that contains numerous attributes and is joined to the polygons as follows<div>
<br><div><div>CREATE OR REPLACE VIEW public.geomapview AS </div><div> SELECT geomap.gid, geomap.unitcode, <a href="http://tab.name" target="_blank">tab.name</a>, tab.description, tab.geologicunittype, tab.metadata, geomap.geom</div>
<div>
FROM geomap</div><div> LEFT JOIN geodatatable tab ON geomap.unitcode::text = tab.unitcode::text;</div></div><div><br></div><div>However. when I look at the geometry_columns view, the srid is listed as 0 and the type is listed as GEOMETRY. Shouldn't they be the same as the spatial table? Is there a way to manually fix this or something I can check? Thanks for your help.</div>
<div><br clear="all"><div><div>- John</div><span><font color="#888888"><div><br></div><div><br></div><div>John Callahan</div><div>Research Scientist</div><div>Delaware Geological Survey</div><div>University of Delaware<br>
<a href="http://www.dgs.udel.edu" target="_blank">http://www.dgs.udel.edu</a><br>
<div><a href="mailto:john.callahan@udel.edu" target="_blank">john.callahan@udel.edu</a> </div><br></div></font></span></div>
</div></div>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div>