ShapeBase

Protected / Constructors

Shape​Base


protected constructor ShapeBase → (1)

serialId in : ISerialTypeInfo

[not-null]
The serial type ID.

Creates a new instance of Shape.

Protected / Methods

Do​Update

2 overloads


protected abstract method DoUpdate1 → (1)

georef in : CoordinateSystem

The new geo-reference. Will never be null and never be equal to IShapeInfo.Georef.

returns → IShape

The resulting shape.

Replaces the geo-reference.


protected abstract method DoUpdate2 → (1)

metadata in : IJsonValue

The new metadata. Will never be null and never be equal to IShapeInfo.Metadata.

returns → IShape

The resulting shape.

Replaces the metadata.

Read​Georef


protected static method ReadGeoref → (2)

data in : ISerializer

[not-null]
The data stream.

wrapNull in : bool

Return JsonValue.Null instead of null?

returns → CoordinateSystem

The geo-reference object. Will never be null if wrapNull in is true. Will never be CoordinateSystem.Local if wrapNull in is false.

Reads the shape geo-reference object from the given data stream.

IOException

If an I/O error has occurred.

Read​Metadata


protected static method ReadMetadata → (2)

data in : ISerializer

[not-null]
The data stream.

wrapNull in : bool

Return JsonValue.Null instead of null?

returns → IJsonValue

The metadata object. Will never be null if wrapNull in is true. Will never be JsonValue.Null if wrapNull in is false.

Reads the shape metadata object from the given data stream.

IOException

If an I/O error has occurred.

Transform​Geometry​Prepare


protected method TransformGeometryPrepare → (2)

transform in : CoordinateSystemTransform

The given coordinate system transform or null.

geocentric opt : Geocentric = null

The geocentric helper or null.

returns → CoordinateSystemTransform

The CoordinateSystemTransform to use or null if the transformation is not possible.

Write​Georef


protected static method WriteGeoref → (2)

data in : ISerializer

[not-null]
The data stream.

georef in : CoordinateSystem

The geo-reference object.

Writes the shape geo-reference object to the given data stream.

IOException

If an I/O error has occurred.

Write​Metadata


protected static method WriteMetadata → (2)

data in : ISerializer

[not-null]
The data stream.

metadata in : IJsonValue

The metadata object.

Writes the shape metadata object to the given data stream.

IOException

If an I/O error has occurred.