<div dir="ltr">Have a look at the "hstore" functions in Postgres. Or maybe use the "json" facilities in Postgres. Both approaches migth fit your needs<div><br></div><div>Regards </div><div><br></div><div>Bo Victor Thomsen</div><div>AestasGIS</div><div>Denmark</div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-12-01 21:02 GMT+01:00 Terry <span dir="ltr"><<a href="mailto:terry.curran@shaw.ca" target="_blank">terry.curran@shaw.ca</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
We have been investigating how to get our marine data into and out of our PostGIS<br>
- GeoServer - GeoNetwork on a CentOS system, and we are looking for some advice.<br>
<br>
We often have the situation of marine data obtained from a sonde lowered vertically through the water column.<br>
The resulting data consists of a lat-long location, datetime, and sensors typically measuring water temperature,<br>
conductivity, dissolved oxygen and chlorophyll fluorescence as a function of pressure.<br>
<br>
We have typically created CSV files and entered them into PostGIS. We create a spatial index based upon the<br>
2D lat-long position. This approach does not seem to maximally use the "relatedness" of the cast information.<br>
<br>
We are considering creating for each horizontal location and datetime a series of linestrings of (pressure, parameter) tuples,<br>
and then reading these into PostGIS. The resulting table records could then be up to a thousand times shorter, and searches potentially faster.<br>
This may imply that we need to write an application to form these linestrings, and another to create SQL commands.<br>
<br>
Alternatively, we are looking for a nice way to create NetCDF data from our profile data, and then input that into PostGIS.<br>
<br>
Any suggestions on contemplated approaches, or advice or links to prior technology for a similar situation?<span class="HOEnZb"><font color="#888888"><br>
<br>
-- terry<br>
_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@lists.osgeo.org" target="_blank">postgis-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/postgis-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/postgis-users</a></font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Med venlig hilsen<div><br></div><div>Bo Victor Thomsen</div><div><br></div></div>
</div>