Hi,
When using large .geojson files (in my case >1.6GB), I noticed that the provider is throwing an error.
{"message":"Error parsing file ....geojson: Cannot create a string longer than 0x3fffffe7 characters","level":"error"}
When going through the source code I noticed that it seems to load the entire file content in memory and then parse it. Is this correct? Would it make sense to read one entry at a time (or maybe a buffer), process it and then add each processed item/batch to the result? (unless there is a limit on the result as well).
Thanks!
PS: I'm new to koop so maybe a silly idea :)
Hi,
When using large .geojson files (in my case >1.6GB), I noticed that the provider is throwing an error.
{"message":"Error parsing file ....geojson: Cannot create a string longer than 0x3fffffe7 characters","level":"error"}When going through the source code I noticed that it seems to load the entire file content in memory and then parse it. Is this correct? Would it make sense to read one entry at a time (or maybe a buffer), process it and then add each processed item/batch to the result? (unless there is a limit on the result as well).
Thanks!
PS: I'm new to koop so maybe a silly idea :)