ThinkGeoSettings¶
Namespace: ThinkGeo.Core
Represents process-wide settings that control ThinkGeo.Core behavior.
public static class ThinkGeoSettings
Inheritance object → ThinkGeoSettings
Properties¶
PreserveZ¶
Gets or sets whether Z values are preserved through WKB/WKT serialization and file readers. The default is true. Set it to false at startup to restore the legacy 2D-only behavior, where every output stays byte-identical with pre-Z versions. Configure it once at startup, before opening any Layer or FeatureSource: reading the value counts as using it, and once it has been used, changing it to a different value throws an InvalidOperationException. This guarantees every consumer in the process sees the same answer for the entire process lifetime.
public static bool PreserveZ { get; set; }