<div dir="ltr">I was also looking for this a bit back and never found a solution. I ended up using other software, unfortunately.<div><br></div><div>As for being less flexible, it is exactly as flexible as a qgs file would be, it's just that they could be manipulated and created more easily. I would love to see the parts of the file broke out in the database and not just using a single text blob, though.<div><br></div><div>Also, setting up identical-enough is fairly trivial, especially if most of the layers are already coming from a database, or known cache of shapefiles.</div><div><br></div><div>Jim</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 12, 2015 at 9:13 AM, Andrea Peri <span dir="ltr"><<a href="mailto:aperi2007@gmail.com" target="_blank">aperi2007@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I don't guess is more flexible.<br>
Infact usually the teting environment is never exactly exals to the<br>
publish environmnet.<br>
<br>
A file allw to open and correct the paths from develop and publish environment.<br>
Also the svg symbols could be not exactly with the same path from<br>
develop and publish environment.<br>
<br>
So having a same project in a db is more complex becasue need to have<br>
two environment exactly the same.<br>
And this is not possible.<br>
.<br>
<br>
I guess the db storing for project could be more flexible only if the<br>
paths to the layers and relative paths of svg was not stored in the<br>
project file but instead in other files.<br>
<br>
My 2ct.<br>
<br>
A.<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
2015-08-12 15:06 GMT+02:00 lars lingner <<a href="mailto:gislars%2Blist@gmail.com">gislars+list@gmail.com</a>>:<br>
> Hello,<br>
><br>
> I'm looking for a solution for storing QGis project files (qgs) in a<br>
> PostgreSQL database. Storing the files in a table isn't actually the<br>
> problem, but getting it out and feeding it to QGis server.<br>
><br>
> Did anyone had this need already? Would this be a good idea?<br>
><br>
> In my use case the project files are generated, based on a default<br>
> project file. Having the file in the DB would give more flexibility.<br>
><br>
> Since saving the style in DB is already supported by QGis, I'm just<br>
> curious of opinions of other users or developers.<br>
><br>
> Thanks in advance for any feedback<br>
><br>
> Lars<br>
> _______________________________________________<br>
> Qgis-user mailing list<br>
> <a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
<br>
<br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
-----------------<br>
Andrea Peri<br>
. . . . . . . . .<br>
qwerty àèìòù<br>
-----------------<br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a></div></div></blockquote></div><br></div>