Re: [gdal-dev] ERROR: Too many connections: max 64

2019-11-29 Thread Rahkonen Jukka (MML)
Hi, The changes that are pending in the wal and shm files are written into the database automatically when the last connection to the database is closed https://sqlite.org/wal.html. There are other ways to invoke checkpoint, but if you have for example opened some layer from the database into Q

Re: [gdal-dev] geojson to shp and vice versa

2019-11-29 Thread Kristijan Cindrić
Thanks for the prompt answers! Ok, it's clear now on what's the problem here. Is there a way I can iterate through a .zip file containing individual .shp files, each file with its own geometry type (point, line, polygon), using ogre.adc4gis.com API? I could then append each feature to a geojson fea

Re: [gdal-dev] geojson to shp and vice versa

2019-11-29 Thread jratike80
Hi, You just can't save lines and polygons into same shapefile. Read https://www.esri.com/library/whitepapers/pdfs/shapefile.pdf "All the non-Null shapes in a shapefile are required to be of the same shape type." -Jukka Rahkonen- Kristijan Cindrić wrote > Dear all, > > I have a headache induc

Re: [gdal-dev] geojson to shp and vice versa

2019-11-29 Thread Hugues François
Hi, As far as I understood, shapefile is not able to handle several geometry types and you should produce a shapefile for each one. Shape file does not support geometry collections. HTH Hug De: "Kristijan Cindrić" À: gdal-dev@lists.osgeo.org Envoyé: Vendredi 29 Novembre 2019 08:58:1