wavded / ogre

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

Invalid signature #58

Closed diegolma closed 3 years ago

diegolma commented 7 years ago

Hi, sometimes when i try to convert a .zip file with a shapefile inside i get this response:

{ error: true, msg: "invalid signature: 0x8080014" }

any ideas about how to resolve this error??

wavded commented 7 years ago

Haven't encountered this, I'm guessing something either wrong with the zip or the zip parser. We use https://github.com/bower/decompress-zip.

diegolma commented 7 years ago

What version of the decompress-zip are you using?? and what parameters do you pass??

Thanks

wavded commented 7 years ago

That's in the ogr2ogr package, here:

https://github.com/wavded/ogr2ogr/blob/master/package.json#L27

wavded commented 7 years ago

Appears to be the be the default options: https://github.com/wavded/ogr2ogr/blob/master/lib/zip.js#L9

madrev commented 7 years ago

Hi there, I'm encountering the same error (with a different signature): {"error":true,"msg":"invalid signature: 0xa"}

Any tips on how to get past this?

github-actions[bot] commented 3 years ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] commented 3 years ago

This issue was closed because it has been stalled for 5 days with no activity.