func readSecondHeader(r ReadSeekCloser) error {
	var hdr2 ShapeFileHeader2
	err := binary.Read(r, binary.LittleEndian, &hdr2)
	if err != nil {
		return err
	}

	err = hdr2.Validate()
	if err != nil {
		return err
	}

	return nil
}
// Read secondary header (notice endianness!)
Read secondary header (notice endianness!)
// Read secondary header ( notice endianness! )
func readSecondHeader(r ReadSeekCloser) error {
	var hdr2 ShapeFileHeader2
	err := binary.Read(r, binary.LittleEndian, &hdr2)
	if err != nil {
		return err
	}
	err = hdr2.Validate()
	if err != nil {
		return err
	}
	return nil
}
func readSecondHeader ( r ReadSeekCloser ) error { var hdr2 ShapeFileHeader2 err := binary . Read ( r , binary . LittleEndian , & hdr2 ) if err != nil { return err } err = hdr2 . Validate ( ) if err != nil { return err } return nil }
Read secondary header (notice endianness!)
Read secondary header ( notice endianness! )