| Ticket Hash: | b4e8fbfb7746107252362e21e42ea940f68da078 | |||
| Title: | GeomFromGeoJSON - Parser stack overflow | |||
| Status: | Closed | Type: | Code_Defect | |
| Severity: | Important | Priority: | Immediate | |
| Subsystem: | Resolution: | Overcome_By_Events | ||
| Last Modified: | 2020-08-26 07:17:30 | |||
| Version Found In: | 4.4.0-RC1 | |||
| User Comments: | ||||
anonymous added on 2017-04-24 12:21:07:
When parsing a very large file with GeomFromGeoJSON a stack overflow occurs with the message 'Giving up. Parser stack overflow'.
I guess this is to be expected, I was hoping there might be a workaround to parse these large geojson files (100MB+)?
example:
SELECT load_extension('mod_spatialite');
SELECT InitSpatialMetaData(1);
SELECT GeomFromGeoJSON( json_extract( readfile('85633345.geojson'), '$.geometry') )
source data:
https://whosonfirst.mapzen.com/data/856/333/45/85633345.geojson
Thanks!
sandro added on 2020-08-26 07:17:30: too old to be still considered | ||||