[Qgis-user] Multiple Layers

Régis Haubourg regis.haubourg at gmail.com
Mon Jun 15 06:31:29 PDT 2020


Hi Mike,
you probably encounter the "max file opened by your system" issue. And shp
count for 3.
Best advice is to switch to DB connexions, which do not open any file and
removes this limit

Best regards
Régis

Le lun. 15 juin 2020 à 15:08, Mike Flannigan <mikeflan at att.net> a écrit :

>
> Linux Mint QGIS 3.12.3-Bucuresti.
>
> I have a qgs file with about 470 layers.
> Roughly 100 of those layers are grouped together in
> 7 groups.  All layers are SHP or geojson.  Most
> are geojson.  I cannot have all the layers on, but
> I can have most of them turned on.  It takes a
> couple minutes to load all the layers upon startup.
> It counts down slowly from about 30 layers remaining,
> to 1 layers remaining over ~3 minutes.
>
> If I have all the layers turned on it either bombs
> and closes while I am turning on layers, or a partial
> artifact window appears over the Layers panel and
> it freezes.
>
> I thought it was because my geojson files had very few
> newlines, and looked like this:
>
> "type": "FeatureCollection",
> "crs": { "type": "name", "properties": { "name":
> "urn:ogc:def:crs:OGC:1.3:CRS84" } },
>
> "features": [
>
> { "type": "Feature", "properties": { "id": 133, "name": "Some Trail" },
> "geometry": { "type": "LineString", "coordinates": [ [ -71.701964,
> 44.138121 ],  [ -71.702024, 44.138155 ],  [ -71.702079, 44.138192 ],  [
> -71.702147, 44.138216 ],  [ -71.702209, 44.138248 ],  [ -71.702266,
> 44.138285 ],  [ -71.702327, 44.138316 ],  [ -71.702391, 44.138346 ],  [
> -71.702463, 44.138354 ],  [ -71.702547, 44.138356 ],  [ -71.702611,
> 44.138397 ],  [ -71.702644, 44.138447 ],  [ -71.702695, 44.138441 ],  [
> -71.702749, 44.138447 ],  [ -71.702813, 44.138450 ],  [ -71.704207,
> 44.137891 ],  [ -71.704354, 44.137890 ],  [ -71.704502, 44.137856 ] . . .
>
>
> But when I added newlines after every lat/long pair it did
> not fix the problem.
>
> I welcome any recommendations.  Including migrating to
> a geo DB format.  I imagine if I combined my geojson's
> into just a few files it would fix the problem, since
> I have another qgs file that combines 290 geojson files
> into a single geojson layer and it always works fine.
>
>
>
> Mike
>
>
>
>
>
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20200615/3822123f/attachment.html>


More information about the Qgis-user mailing list