wavded / ogre

ogr2ogr geojson-focused web client
http://ogre.adc4gis.com
MIT License
266 stars 79 forks source link

stdout maxBuffer length exceeded #107

Closed mohammadrezaataeii closed 1 year ago

mohammadrezaataeii commented 1 year ago

Hi when i upload a file over than 20MB, i get error code 500, with this message : error

what should i do ? please let me

wavded commented 1 year ago

please provide more details on how you are using Ogre, public? hosted? config options? etc.

mohammadrezaataeii commented 1 year ago

i uploaded my shapefile.zip with more than 20MB

Here is my func : const addShapeFile = (file) => { const formData = new FormData(); formData.append("upload", file); fetch("http://ogre.adc4gis.com/convert", { method: "POST", body: formData, }) .then((res) => res.json()) .then((responseData) => { setGeoData(responseData);
}); };

wavded commented 1 year ago

This issue should be addressed now in v3.0.4, thx for reporting.