<div dir="ltr">If I can figure out how to make it work with SQLite, I'd be happy to contribute the code. Not sure exactly how to pull it off.</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 21, 2018 at 11:54 AM, Even Rouault <span dir="ltr"><<a href="mailto:even.rouault@spatialys.com" target="_blank">even.rouault@spatialys.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div style="font-family:"Sans Serif";font-size:9pt;font-weight:400;font-style:normal"><span class="gmail-">
<p style="margin:0px;text-indent:0px">On lundi 21 mai 2018 11:35:07 CEST Kurt Schwehr wrote:</p>
<p style="margin:0px;text-indent:0px">> Sorry I haven't chimed in sooner. Going with SQLite is certainly fine for</p>
<p style="margin:0px;text-indent:0px">> my particular env. Here is what I would like if at all possible:</p>
<p style="margin:0px;text-indent:0px">> </p>
<p style="margin:0px;text-indent:0px">> * The option to have just one copy of the database per binary. So shared</p>
<p style="margin:0px;text-indent:0px">> across PROJ through GDAL and PostGIS</p>
<p style="margin:0px;text-indent:0px"> </p>
</span><p style="margin:0px;text-indent:0px">PostGIS will still have to keep its spatial_ref_sys table since this is something required by the SF-SQL standard.</p><span class="gmail-">
<p style="margin:0px;text-indent:0px"> </p>
<p style="margin:0px;text-indent:0px">> * Be able to compile in the database within the binary and use if from</p>
<p style="margin:0px;text-indent:0px">> memory</p>
<p style="margin:0px;text-indent:0px">> </p>
<p style="margin:0px;text-indent:0px">> My env is typically statically linked binaries with one binary per</p>
<p style="margin:0px;text-indent:0px">> container and no local disk. I currently have an C data block with the</p>
<p style="margin:0px;text-indent:0px">> data that I write to vsimem and read from there. My solution uses some</p>
<p style="margin:0px;text-indent:0px">> non-public code. An SQLite in-memory database that the entire community</p>
<p style="margin:0px;text-indent:0px">> could use (if selected at build time) would be nicer. I'm sure other</p>
<p style="margin:0px;text-indent:0px">> folks would appreciate the option to not need extra files.</p>
<p style="margin:0px;text-indent:0px"> </p>
</span><p style="margin:0px;text-indent:0px">Would you been interested in contributing code to make that possible in proj ? (once classic file based approach has been added)</p><span class="gmail-">
<p style="margin:0px;text-indent:0px"> </p>
<p style="margin:0px;text-indent:0px">-- </p>
<p style="margin:0px;text-indent:0px">Spatialys - Geospatial professional services</p>
<p style="margin:0px;text-indent:0px"><a href="http://www.spatialys.com" target="_blank">http://www.spatialys.com</a></p></span></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">--<div><a href="http://schwehr.org" target="_blank">http://schwehr.org</a></div></div>
</div>