Hello

I am trying to parse ESRI shape files, which have double values stored in
little endian format.  when i read these values using something like this:

  $RawFileHeader = fread($ShapeFile, 100);
  $FileHeader =
unpack("NFileCode/N5Unused/NFileLength/VVersion/VShapeType/d8Box",
$RawFileHeader);

the double values seem garbled.  Is there any way to force unpack() to read
the doubles as little endians and convert the value accordingly?

Thanks.

Tim



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to