<div dir="ltr"><div>Hi Mike, <br></div><div>you probably encounter the "max file opened by your system" issue. And shp count for 3. <br></div><div>Best advice is to switch to DB connexions, which do not open any file and removes this limit</div><div><br></div><div>Best regards</div><div>Régis<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le lun. 15 juin 2020 à 15:08, Mike Flannigan <<a href="mailto:mikeflan@att.net">mikeflan@att.net</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
Linux Mint QGIS 3.12.3-Bucuresti.<br>
<br>
I have a qgs file with about 470 layers.<br>
Roughly 100 of those layers are grouped together in<br>
7 groups.  All layers are SHP or geojson.  Most<br>
are geojson.  I cannot have all the layers on, but<br>
I can have most of them turned on.  It takes a<br>
couple minutes to load all the layers upon startup.<br>
It counts down slowly from about 30 layers remaining,<br>
to 1 layers remaining over ~3 minutes.<br>
<br>
If I have all the layers turned on it either bombs<br>
and closes while I am turning on layers, or a partial<br>
artifact window appears over the Layers panel and<br>
it freezes.<br>
<br>
I thought it was because my geojson files had very few<br>
newlines, and looked like this:<br>
<br>
"type": "FeatureCollection",<br>
"crs": { "type": "name", "properties": { "name": <br>
"urn:ogc:def:crs:OGC:1.3:CRS84" } },<br>
<br>
"features": [<br>
<br>
{ "type": "Feature", "properties": { "id": 133, "name": "Some Trail" }, <br>
"geometry": { "type": "LineString", "coordinates": [ [ -71.701964, <br>
44.138121 ],  [ -71.702024, 44.138155 ],  [ -71.702079, 44.138192 ],  [ <br>
-71.702147, 44.138216 ],  [ -71.702209, 44.138248 ],  [ -71.702266, <br>
44.138285 ],  [ -71.702327, 44.138316 ],  [ -71.702391, 44.138346 ],  [ <br>
-71.702463, 44.138354 ],  [ -71.702547, 44.138356 ],  [ -71.702611, <br>
44.138397 ],  [ -71.702644, 44.138447 ],  [ -71.702695, 44.138441 ],  [ <br>
-71.702749, 44.138447 ],  [ -71.702813, 44.138450 ],  [ -71.704207, <br>
44.137891 ],  [ -71.704354, 44.137890 ],  [ -71.704502, 44.137856 ] . . .<br>
<br>
<br>
But when I added newlines after every lat/long pair it did<br>
not fix the problem.<br>
<br>
I welcome any recommendations.  Including migrating to<br>
a geo DB format.  I imagine if I combined my geojson's<br>
into just a few files it would fix the problem, since<br>
I have another qgs file that combines 290 geojson files<br>
into a single geojson layer and it always works fine.<br>
<br>
<br>
<br>
Mike<br>
<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></blockquote></div>