wkbhex

package
v1.5.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 13, 2024 License: BSD-2-Clause Imports: 5 Imported by: 8

Documentation

Overview

Package wkbhex implements Well Known Binary encoding and decoding of strings.

Index

Constants

This section is empty.

Variables

View Source
var (
	// XDR is big endian.
	XDR = wkb.XDR
	// NDR is little endian.
	NDR = wkb.NDR
)

Functions

func Decode

func Decode(s string, opts ...wkbcommon.WKBOption) (geom.T, error)

Decode decodes an arbitrary geometry from a string.

func Encode

func Encode(g geom.T, byteOrder binary.ByteOrder, opts ...wkbcommon.WKBOption) (string, error)

Encode encodes an arbitrary geometry to a string.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL