Re: [Math] Allow empty ConvexHull2D

2015-06-10 Thread Thomas Neidhart
On 06/09/2015 11:42 PM, Gilles wrote: On Tue, 09 Jun 2015 23:19:35 +0200, Thomas Neidhart wrote: On 06/01/2015 09:36 PM, Thomas Neidhart wrote: On 06/01/2015 03:52 PM, luc wrote: Le 2015-06-01 15:27, Gilles a écrit : Hello. On Mon, 01 Jun 2015 15:03:47 +0200, luc wrote: Le 2015-06-01

RE: [Math] Allow empty ConvexHull2D

2015-06-10 Thread Andy Turner
Perhaps it is worth investigating how JTS operates in this respect: http://www.vividsolutions.com/jts/JTSHome.htm (I have not looked, but I assume that JTS has a similar operation/test case.) Andy http://www.geog.leeds.ac.uk/people/a.turner/index.html -Original Message- From: Thomas

Re: [Math] Allow empty ConvexHull2D

2015-06-10 Thread Gilles
On Wed, 10 Jun 2015 12:23:58 +0200, Thomas Neidhart wrote: On 06/09/2015 11:42 PM, Gilles wrote: On Tue, 09 Jun 2015 23:19:35 +0200, Thomas Neidhart wrote: On 06/01/2015 09:36 PM, Thomas Neidhart wrote: On 06/01/2015 03:52 PM, luc wrote: Le 2015-06-01 15:27, Gilles a écrit : Hello. On Mon,

RE: [Math] Allow empty ConvexHull2D

2015-06-10 Thread Gilles
On Wed, 10 Jun 2015 11:30:35 +0100, Andy Turner wrote: Perhaps it is worth investigating how JTS operates in this respect: http://www.vividsolutions.com/jts/JTSHome.htm (I have not looked, but I assume that JTS has a similar operation/test case.) Excerpt: ---CUT--- 8.2.2 Empty Geometry The

Re: [Math] Allow empty ConvexHull2D

2015-06-10 Thread Thomas Neidhart
On 06/10/2015 01:44 PM, Gilles wrote: On Wed, 10 Jun 2015 12:23:58 +0200, Thomas Neidhart wrote: On 06/09/2015 11:42 PM, Gilles wrote: On Tue, 09 Jun 2015 23:19:35 +0200, Thomas Neidhart wrote: On 06/01/2015 09:36 PM, Thomas Neidhart wrote: On 06/01/2015 03:52 PM, luc wrote: Le 2015-06-01

Re: [Math] Allow empty ConvexHull2D

2015-06-10 Thread Gilles
On Wed, 10 Jun 2015 14:45:41 +0200, Thomas Neidhart wrote: On 06/10/2015 01:44 PM, Gilles wrote: On Wed, 10 Jun 2015 12:23:58 +0200, Thomas Neidhart wrote: On 06/09/2015 11:42 PM, Gilles wrote: On Tue, 09 Jun 2015 23:19:35 +0200, Thomas Neidhart wrote: On 06/01/2015 09:36 PM, Thomas Neidhart

[compress] Getting external attributes from a ZipArchiveEntry

2015-06-10 Thread Kristina Chodorow
ZipArchiveEntry.getExternalAttributes() is always returning 0 for me. I have pasted a hex dump of the zip file I'm testing with at the bottom of email: 2 files of 0 bytes, one named x and one named y. Both of their external attributes are 33184 (a081 in the hex dump). However, running the

Re: [Math] Allow empty ConvexHull2D

2015-06-10 Thread Luc Maisonobe
Le 10/06/2015 15:16, Gilles a écrit : On Wed, 10 Jun 2015 14:45:41 +0200, Thomas Neidhart wrote: On 06/10/2015 01:44 PM, Gilles wrote: On Wed, 10 Jun 2015 12:23:58 +0200, Thomas Neidhart wrote: On 06/09/2015 11:42 PM, Gilles wrote: On Tue, 09 Jun 2015 23:19:35 +0200, Thomas Neidhart wrote:

Re: [compress] Getting external attributes from a ZipArchiveEntry

2015-06-10 Thread Stefan Bodewig
On 2015-06-11, Gary Gregory wrote: On Wed, Jun 10, 2015 at 9:29 PM, Stefan Bodewig bode...@apache.org wrote: External attributes are stored inside the central directory which is at the end of the archive. When using ZipArchiveInputStream the central directory is only ever reached once all

Re: [compress] Getting external attributes from a ZipArchiveEntry

2015-06-10 Thread Gary Gregory
I probably create a JIRA and attach the relevant files. Gary On Wed, Jun 10, 2015 at 7:08 AM, Kristina Chodorow kchodo...@google.com wrote: ZipArchiveEntry.getExternalAttributes() is always returning 0 for me. I have pasted a hex dump of the zip file I'm testing with at the bottom of email:

Re: [compress] Getting external attributes from a ZipArchiveEntry

2015-06-10 Thread Stefan Bodewig
On 2015-06-10, Kristina Chodorow wrote: ZipArchiveEntry.getExternalAttributes() is always returning 0 for me. I have pasted a hex dump of the zip file I'm testing with at the bottom of email: 2 files of 0 bytes, one named x and one named y. Both of their external attributes are 33184 (a081

Re: [compress] Getting external attributes from a ZipArchiveEntry

2015-06-10 Thread Gary Gregory
On Wed, Jun 10, 2015 at 9:29 PM, Stefan Bodewig bode...@apache.org wrote: On 2015-06-10, Kristina Chodorow wrote: ZipArchiveEntry.getExternalAttributes() is always returning 0 for me. I have pasted a hex dump of the zip file I'm testing with at the bottom of email: 2 files of 0 bytes,