GeoPackage Geometry Data

Hierarchy

  • GeoPackageGeometryData

Constructors

Methods

buildEnvelope clearBuffer clearGeometryBuffer fromBuffer getBoundingBox getBuffer getByteOrder getEnvelope getGeometry getHeaderBuffer getOrBuildBoundingBox getOrBuildEnvelope getOrReadGeometry getSrsId getWkb getWkbGeometryIndex getWkt isEmpty isExtended setBuffer setByteOrder setEmpty setEnvelope setExtended setGeometry setGeometryAndBuildEnvelopeToBytes setGeometryBytes setGeometryFromWkb setGeometryFromWkt setHeaderBuffer setSrsId toBuffer transform buffer bufferAndBuildEnvelope bufferAndBuildEnvelopeWithSrsId bufferFromWkb bufferFromWkbAndBuildEnvelope bufferFromWkbAndBuildEnvelopeWithSrsId bufferFromWkbWithSrsId bufferFromWkt bufferFromWktAndBuildEnvelope bufferFromWktAndBuildEnvelopeWithSrsId bufferFromWktWithSrsId bufferWithSrsIdWithSrsId create createAndBuildEnvelope createAndBuildEnvelopeWithSrsId createAndWrite createAndWriteWithSrsId createBuildEnvelopeAndWrite createBuildEnvelopeAndWriteWithSrsId createFromGeometryData createFromWkb createFromWkbAndBuildEnvelope createFromWkbAndBuildEnvelopeWithSrsId createFromWkbAndWrite createFromWkbAndWriteWithSrsId createFromWkbBuildEnvelopeAndWrite createFromWkbBuildEnvelopeAndWriteWithSrsId createFromWkbWithSrsId createFromWkt createFromWktAndBuildEnvelope createFromWktAndBuildEnvelopeWithSrsId createFromWktAndWrite createFromWktAndWriteWithSrsId createFromWktBuildEnvelopeAndWrite createFromWktBuildEnvelopeAndWriteWithSrsId createFromWktWithSrsId createGeometryFromWkb createGeometryFromWkt createWithBuffer createWithEnvelope createWithSrsId createWithSrsIdAndEnvelope getDefaultByteOrder getDefaultSrsId getGeometryFilter getIndicator setDefaultByteOrder setDefaultSrsId setGeometryFilter wkb wkbFromBuffer wkbFromGeometry wkbFromWkt wkt wktFromBuffer wktFromGeometry wktFromWkb

Constructors

Methods

  • Get the envelope if it exists or build, set, and retrieve it from the geometry

    Returns

    geometry envelope

    Returns GeometryEnvelope

  • Set the buffer

    Parameters

    • buffer: Buffer

      buffer

    • wkbGeometryIndex: number = -1

      well-known geometry buffer start index

    Returns void

  • Set the geometry, build the envelope, and write to buffer

    Returns

    geometry buffer

    Parameters

    • geometry: Geometry

      geometry

    Returns Buffer

  • GeoPackage geometry buffer from the geometry with built envelope, default SRS Id of #getDefaultSrsId()

    Returns

    GeoPackage geometry buffer

    Parameters

    • geometry: Geometry

      geometry

    Returns Buffer

  • GeoPackage geometry buffer from the geometry with built envelope

    Returns

    GeoPackage geometry buffer

    Parameters

    • srsId: number

      SRS id

    • geometry: Geometry

      geometry

    Returns Buffer

  • GeoPackage geometry buffer from Well-Known buffer with built envelope, default SRS Id of #getDefaultSrsId

    Returns

    GeoPackage geometry buffer

    Parameters

    • buffer: Buffer

      well-known buffer

    Returns Buffer

  • GeoPackage geometry buffer from Well-Known buffer with built envelope

    Returns

    GeoPackage geometry buffer

    Parameters

    • srsId: number

      SRS id

    • buffer: Buffer

      well-known buffer

    Returns Buffer

  • GeoPackage geometry buffer from Well-Known buffer

    Returns

    GeoPackage geometry buffer

    Parameters

    • srsId: number

      SRS id

    • buffer: Buffer

      well-known buffer

    Returns Buffer

  • GeoPackage geometry buffer from Well-Known text with built envelope, default SRS Id of #getDefaultSrsId

    Returns

    GeoPackage geometry buffer

    Parameters

    • text: string

      well-known text

    Returns Buffer

  • GeoPackage geometry buffer from Well-Known text with built envelope

    Returns

    GeoPackage geometry buffer

    Parameters

    • srsId: number

      SRS id

    • text: string

      well-known text

    Returns Buffer

  • GeoPackage geometry buffer from Well-Known text

    Returns

    GeoPackage geometry buffer

    Parameters

    • srsId: number

      SRS id

    • text: string

      well-known text

    Returns Buffer

  • GeoPackage geometry buffer from the geometry

    Returns

    GeoPackage geometry buffer

    Parameters

    • srsId: number

      SRS id

    • geometry: Geometry

      geometry

    Returns Buffer

  • Create a geometry from Well-Known Bytes

    Returns

    geometry

    Parameters

    • buffer: Buffer

      well-known buffer

    Returns Geometry

  • Create a geometry from Well-Known Text

    Returns

    geometry

    Parameters

    • text: string

      well-known text

    Returns Geometry

  • Get the envelope flag indicator 1 for xy, 2 for xyz, 3 for xym, 4 for xyzm (null would be 0)

    Returns

    indicator

    Parameters

    • envelope: GeometryEnvelope

      geometry envelope

    Returns number

  • Set the default byte order

    Parameters

    • defaultByteOrder: ByteOrder

      byte order

    Returns void

  • Set the geometry filter

    Parameters

    • geometryFilter: GeometryFilter

      geometry filter

    Returns void

  • Well-Known Bytes from GeoPackage geometry buffer

    Returns

    well-known buffer

    Parameters

    • buffer: Buffer

      GeoPackage geometry buffer

    Returns Buffer

  • Well-Known Bytes from the geometry

    Returns

    well-known buffer

    Parameters

    • geometry: Geometry

      geometry

    Returns Buffer

  • Well-Known Bytes from Well-Known Text

    Returns

    well-known buffer

    Parameters

    • text: string

      well-known text

    Returns Buffer

  • Well-Known Text from GeoPackage Geometry Bytes

    Returns

    well-known text

    Parameters

    • buffer: Buffer

      GeoPackage geometry buffer

    Returns string

  • Well-Known Text from the geometry

    Returns

    well-known text

    Parameters

    • geometry: Geometry

      geometry

    Returns string

  • Well-Known Text from Well-Known Bytes

    Returns

    well-known text

    Parameters

    • buffer: Buffer

      well-known buffer

    Returns string

Generated using TypeDoc