Skip to content
ChartForgeX
Class

ChartMapGeoJsonOptions

ChartForgeX.Core

Namespace
ChartForgeX.Core
Assembly
ChartForgeX
Modifiers
sealed
Attributes
Fluent

Configures how GeoJSON features are converted into map regions and geographic observations.

Inheritance

  • object
  • ChartMapGeoJsonOptions

Usage

Explore 90 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by 40

Accepted by parameters 50

Constructors

public ChartMapGeoJsonOptions() #

Methods

public ChartMapGeoJsonOptions IncludeFeaturePropertyValues(string propertyName, params string[] values) #

Limits imported features to those whose property value matches one of the supplied values.

Parameters

propertyName string required
The GeoJSON feature property name.
values string[] required
The accepted property values.

Returns

ChartMapGeoJsonOptions The current options instance.

Properties

public int MaximumObservations { get; set; } #

Gets or sets the positive maximum number of imported point positions, route waypoints, or seam-aware polygon vertices including periodic copies. Coordinate-filtered features do not consume this output budget. The default is 100,000.

public int MaximumExpandedLabelCharacters { get; set; } #

Gets or sets the positive aggregate UTF-16 character budget for imported point, route and waypoint labels. The default is 4,194,304 characters. This limits multipart name expansion before label strings are constructed; it does not replace the host's input-size policy.

public int MaximumExpandedFeatureCharacters { get; set; } #

Gets or sets the positive aggregate UTF-16 budget for feature metadata repeated across imported observations. The default is 4,194,304 characters. Multipart expansion is checked before constructing output observations; a route's feature metadata is counted once per line, not once per waypoint. Seam-aware polygons count raw geometry and feature JSON once per region. Host input-size policy remains separate.

public string[] CodePropertyNames { get; set; } #

Gets or sets property names searched for canonical region codes.

public string[] NamePropertyNames { get; set; } #

Gets or sets property names searched for region, point and route display names.

public string? WeightPropertyName { get; set; } #

Gets or sets the optional numeric feature property used for imported point weights. Missing or null values create unweighted points; present values must be finite nonnegative JSON numbers.

public string? ColorValuePropertyName { get; set; } #

Gets or sets the optional finite numeric feature property used for point color, independently of point weight. Missing or null values retain a missing color measurement.

public string[] AliasPropertyNames { get; set; } #

Gets or sets property names searched for alternate region aliases.

public string GeneratedCodePrefix { get; set; } #

Gets or sets the prefix used when a feature has no code-like property.

public ChartMapGeoJsonProjection Projection { get; set; } #

Gets or sets the coordinate projection used for polygon geometry. Point and route imports retain raw longitude/latitude.

public ChartMapViewport? PolygonViewport { get; set; } #

Gets or sets an explicit antimeridian polygon geometry window, or null to preserve ordinary import bytes.

public bool SkipUnsupportedGeometries { get; set; } #

Gets or sets a value indicating whether geometries unsupported by the selected import method are skipped.

public bool IncludeFeatureIdAsAlias { get; set; } #

Gets or sets a value indicating whether a top-level GeoJSON feature ID should be added as an alias.

public double? MinimumLongitude { get; set; } #

Gets or sets the minimum longitude used to include GeoJSON features. Leave unset to include every longitude.

public double? MaximumLongitude { get; set; } #

Gets or sets the maximum longitude used to include GeoJSON features. Leave unset to include every longitude.

public double? MinimumLatitude { get; set; } #

Gets or sets the minimum latitude used to include GeoJSON features. Leave unset to include every latitude.

public double? MaximumLatitude { get; set; } #

Gets or sets the maximum latitude used to include GeoJSON features. Leave unset to include every latitude.

public bool IncludeFeaturesIntersectingCoordinateBounds { get; set; } #

Gets or sets a value indicating whether partially overlapping features are included when coordinate bounds are configured.

public int CoordinatePrecision { get; set; } #

Gets or sets the maximum decimal places written to generated SVG path coordinates.

Extension Methods

public static ChartMapGeoJsonOptions AliasPropertyNames(ChartMapGeoJsonOptions chartMapGeoJsonOptions, string[] value) #

Sets ChartMapGeoJsonOptions.AliasPropertyNames: Gets or sets property names searched for alternate region aliases.

Parameters

chartMapGeoJsonOptions ChartForgeX.Core.ChartMapGeoJsonOptions required
The instance.
value string[] required
The value.

Returns

ChartMapGeoJsonOptions The same instance.

Examples

// C# initializer or property                                                          // C# fluent
new global::ChartForgeX.Core.ChartMapGeoJsonOptions { AliasPropertyNames = value };    chartMapGeoJsonOptions.AliasPropertyNames(value);
public static ChartMapGeoJsonOptions CodePropertyNames(ChartMapGeoJsonOptions chartMapGeoJsonOptions, string[] value) #

Sets ChartMapGeoJsonOptions.CodePropertyNames: Gets or sets property names searched for canonical region codes.

Parameters

chartMapGeoJsonOptions ChartForgeX.Core.ChartMapGeoJsonOptions required
The instance.
value string[] required
The value.

Returns

ChartMapGeoJsonOptions The same instance.

Examples

// C# initializer or property                                                         // C# fluent
new global::ChartForgeX.Core.ChartMapGeoJsonOptions { CodePropertyNames = value };    chartMapGeoJsonOptions.CodePropertyNames(value);
public static ChartMapGeoJsonOptions ColorValuePropertyName(ChartMapGeoJsonOptions chartMapGeoJsonOptions, string? value) #

Sets ChartMapGeoJsonOptions.ColorValuePropertyName: Gets or sets the optional finite numeric feature property used for point color, independently of point weight. Missing or null values retain a missing color measurement.

Parameters

chartMapGeoJsonOptions ChartForgeX.Core.ChartMapGeoJsonOptions required
The instance.
value string? required
The value.

Returns

ChartMapGeoJsonOptions The same instance.

Examples

// C# initializer or property                                                              // C# fluent
new global::ChartForgeX.Core.ChartMapGeoJsonOptions { ColorValuePropertyName = value };    chartMapGeoJsonOptions.ColorValuePropertyName(value);
public static ChartMapGeoJsonOptions CoordinatePrecision(ChartMapGeoJsonOptions chartMapGeoJsonOptions, int value) #

Sets ChartMapGeoJsonOptions.CoordinatePrecision: Gets or sets the maximum decimal places written to generated SVG path coordinates.

Parameters

chartMapGeoJsonOptions ChartForgeX.Core.ChartMapGeoJsonOptions required
The instance.
value int required
The value.

Returns

ChartMapGeoJsonOptions The same instance.

Examples

// C# initializer or property                                                           // C# fluent
new global::ChartForgeX.Core.ChartMapGeoJsonOptions { CoordinatePrecision = value };    chartMapGeoJsonOptions.CoordinatePrecision(value);
public static ChartMapGeoJsonOptions GeneratedCodePrefix(ChartMapGeoJsonOptions chartMapGeoJsonOptions, string value) #

Sets ChartMapGeoJsonOptions.GeneratedCodePrefix: Gets or sets the prefix used when a feature has no code-like property.

Parameters

chartMapGeoJsonOptions ChartForgeX.Core.ChartMapGeoJsonOptions required
The instance.
value string required
The value.

Returns

ChartMapGeoJsonOptions The same instance.

Examples

// C# initializer or property                                                           // C# fluent
new global::ChartForgeX.Core.ChartMapGeoJsonOptions { GeneratedCodePrefix = value };    chartMapGeoJsonOptions.GeneratedCodePrefix(value);
public static ChartMapGeoJsonOptions IncludeFeatureIdAsAlias(ChartMapGeoJsonOptions chartMapGeoJsonOptions, bool value = true) #

Sets ChartMapGeoJsonOptions.IncludeFeatureIdAsAlias: Gets or sets a value indicating whether a top-level GeoJSON feature ID should be added as an alias.

Parameters

chartMapGeoJsonOptions ChartForgeX.Core.ChartMapGeoJsonOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

ChartMapGeoJsonOptions The same instance.

Examples

// C# initializer or property                                                               // C# fluent
new global::ChartForgeX.Core.ChartMapGeoJsonOptions { IncludeFeatureIdAsAlias = value };    chartMapGeoJsonOptions.IncludeFeatureIdAsAlias(value);
public static ChartMapGeoJsonOptions IncludeFeaturesIntersectingCoordinateBounds(ChartMapGeoJsonOptions chartMapGeoJsonOptions, bool value = true) #

Sets ChartMapGeoJsonOptions.IncludeFeaturesIntersectingCoordinateBounds: Gets or sets a value indicating whether partially overlapping features are included when coordinate bounds are configured.

Parameters

chartMapGeoJsonOptions ChartForgeX.Core.ChartMapGeoJsonOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

ChartMapGeoJsonOptions The same instance.

Examples

// C# initializer or property                                                                                   // C# fluent
new global::ChartForgeX.Core.ChartMapGeoJsonOptions { IncludeFeaturesIntersectingCoordinateBounds = value };    chartMapGeoJsonOptions.IncludeFeaturesIntersectingCoordinateBounds(value);
public static ChartMapGeoJsonOptions MaximumExpandedFeatureCharacters(ChartMapGeoJsonOptions chartMapGeoJsonOptions, int value) #

Sets ChartMapGeoJsonOptions.MaximumExpandedFeatureCharacters: Gets or sets the positive aggregate UTF-16 budget for feature metadata repeated across imported observations. The default is 4,194,304 characters. Multipart expansion is checked before constructing output observations; a route's feature metadata is counted once per line, not once per waypoint. Seam-aware polygons count raw geometry and feature JSON once per region. Host input-size policy remains separate.

Parameters

chartMapGeoJsonOptions ChartForgeX.Core.ChartMapGeoJsonOptions required
The instance.
value int required
The value.

Returns

ChartMapGeoJsonOptions The same instance.

Examples

// C# initializer or property                                                                        // C# fluent
new global::ChartForgeX.Core.ChartMapGeoJsonOptions { MaximumExpandedFeatureCharacters = value };    chartMapGeoJsonOptions.MaximumExpandedFeatureCharacters(value);
public static ChartMapGeoJsonOptions MaximumExpandedLabelCharacters(ChartMapGeoJsonOptions chartMapGeoJsonOptions, int value) #

Sets ChartMapGeoJsonOptions.MaximumExpandedLabelCharacters: Gets or sets the positive aggregate UTF-16 character budget for imported point, route and waypoint labels. The default is 4,194,304 characters. This limits multipart name expansion before label strings are constructed; it does not replace the host's input-size policy.

Parameters

chartMapGeoJsonOptions ChartForgeX.Core.ChartMapGeoJsonOptions required
The instance.
value int required
The value.

Returns

ChartMapGeoJsonOptions The same instance.

Examples

// C# initializer or property                                                                      // C# fluent
new global::ChartForgeX.Core.ChartMapGeoJsonOptions { MaximumExpandedLabelCharacters = value };    chartMapGeoJsonOptions.MaximumExpandedLabelCharacters(value);
public static ChartMapGeoJsonOptions MaximumLatitude(ChartMapGeoJsonOptions chartMapGeoJsonOptions, double? value) #

Sets ChartMapGeoJsonOptions.MaximumLatitude: Gets or sets the maximum latitude used to include GeoJSON features. Leave unset to include every latitude.

Parameters

chartMapGeoJsonOptions ChartForgeX.Core.ChartMapGeoJsonOptions required
The instance.
value double? required
The value.

Returns

ChartMapGeoJsonOptions The same instance.

Examples

// C# initializer or property                                                       // C# fluent
new global::ChartForgeX.Core.ChartMapGeoJsonOptions { MaximumLatitude = value };    chartMapGeoJsonOptions.MaximumLatitude(value);
public static ChartMapGeoJsonOptions MaximumLongitude(ChartMapGeoJsonOptions chartMapGeoJsonOptions, double? value) #

Sets ChartMapGeoJsonOptions.MaximumLongitude: Gets or sets the maximum longitude used to include GeoJSON features. Leave unset to include every longitude.

Parameters

chartMapGeoJsonOptions ChartForgeX.Core.ChartMapGeoJsonOptions required
The instance.
value double? required
The value.

Returns

ChartMapGeoJsonOptions The same instance.

Examples

// C# initializer or property                                                        // C# fluent
new global::ChartForgeX.Core.ChartMapGeoJsonOptions { MaximumLongitude = value };    chartMapGeoJsonOptions.MaximumLongitude(value);
public static ChartMapGeoJsonOptions MaximumObservations(ChartMapGeoJsonOptions chartMapGeoJsonOptions, int value) #

Sets ChartMapGeoJsonOptions.MaximumObservations: Gets or sets the positive maximum number of imported point positions, route waypoints, or seam-aware polygon vertices including periodic copies. Coordinate-filtered features do not consume this output budget. The default is 100,000.

Parameters

chartMapGeoJsonOptions ChartForgeX.Core.ChartMapGeoJsonOptions required
The instance.
value int required
The value.

Returns

ChartMapGeoJsonOptions The same instance.

Examples

// C# initializer or property                                                           // C# fluent
new global::ChartForgeX.Core.ChartMapGeoJsonOptions { MaximumObservations = value };    chartMapGeoJsonOptions.MaximumObservations(value);
public static ChartMapGeoJsonOptions MinimumLatitude(ChartMapGeoJsonOptions chartMapGeoJsonOptions, double? value) #

Sets ChartMapGeoJsonOptions.MinimumLatitude: Gets or sets the minimum latitude used to include GeoJSON features. Leave unset to include every latitude.

Parameters

chartMapGeoJsonOptions ChartForgeX.Core.ChartMapGeoJsonOptions required
The instance.
value double? required
The value.

Returns

ChartMapGeoJsonOptions The same instance.

Examples

// C# initializer or property                                                       // C# fluent
new global::ChartForgeX.Core.ChartMapGeoJsonOptions { MinimumLatitude = value };    chartMapGeoJsonOptions.MinimumLatitude(value);
public static ChartMapGeoJsonOptions MinimumLongitude(ChartMapGeoJsonOptions chartMapGeoJsonOptions, double? value) #

Sets ChartMapGeoJsonOptions.MinimumLongitude: Gets or sets the minimum longitude used to include GeoJSON features. Leave unset to include every longitude.

Parameters

chartMapGeoJsonOptions ChartForgeX.Core.ChartMapGeoJsonOptions required
The instance.
value double? required
The value.

Returns

ChartMapGeoJsonOptions The same instance.

Examples

// C# initializer or property                                                        // C# fluent
new global::ChartForgeX.Core.ChartMapGeoJsonOptions { MinimumLongitude = value };    chartMapGeoJsonOptions.MinimumLongitude(value);
public static ChartMapGeoJsonOptions NamePropertyNames(ChartMapGeoJsonOptions chartMapGeoJsonOptions, string[] value) #

Sets ChartMapGeoJsonOptions.NamePropertyNames: Gets or sets property names searched for region, point and route display names.

Parameters

chartMapGeoJsonOptions ChartForgeX.Core.ChartMapGeoJsonOptions required
The instance.
value string[] required
The value.

Returns

ChartMapGeoJsonOptions The same instance.

Examples

// C# initializer or property                                                         // C# fluent
new global::ChartForgeX.Core.ChartMapGeoJsonOptions { NamePropertyNames = value };    chartMapGeoJsonOptions.NamePropertyNames(value);
public static ChartMapGeoJsonOptions PolygonViewport(ChartMapGeoJsonOptions chartMapGeoJsonOptions, ChartMapViewport? value) #

Sets ChartMapGeoJsonOptions.PolygonViewport: Gets or sets an explicit antimeridian polygon geometry window, or null to preserve ordinary import bytes.

Parameters

chartMapGeoJsonOptions ChartForgeX.Core.ChartMapGeoJsonOptions required
The instance.
value ChartForgeX.Core.ChartMapViewport? required
The value.

Returns

ChartMapGeoJsonOptions The same instance.

Examples

// C# initializer or property                                                       // C# fluent
new global::ChartForgeX.Core.ChartMapGeoJsonOptions { PolygonViewport = value };    chartMapGeoJsonOptions.PolygonViewport(value);
public static ChartMapGeoJsonOptions Projection(ChartMapGeoJsonOptions chartMapGeoJsonOptions, ChartMapGeoJsonProjection value) #

Sets ChartMapGeoJsonOptions.Projection: Gets or sets the coordinate projection used for polygon geometry. Point and route imports retain raw longitude/latitude.

Parameters

chartMapGeoJsonOptions ChartForgeX.Core.ChartMapGeoJsonOptions required
The instance.
value ChartForgeX.Core.ChartMapGeoJsonProjection required
The value.

Returns

ChartMapGeoJsonOptions The same instance.

Examples

// C# initializer or property                                                  // C# fluent
new global::ChartForgeX.Core.ChartMapGeoJsonOptions { Projection = value };    chartMapGeoJsonOptions.Projection(value);
public static ChartMapGeoJsonOptions SkipUnsupportedGeometries(ChartMapGeoJsonOptions chartMapGeoJsonOptions, bool value = true) #

Sets ChartMapGeoJsonOptions.SkipUnsupportedGeometries: Gets or sets a value indicating whether geometries unsupported by the selected import method are skipped.

Parameters

chartMapGeoJsonOptions ChartForgeX.Core.ChartMapGeoJsonOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

ChartMapGeoJsonOptions The same instance.

Examples

// C# initializer or property                                                                 // C# fluent
new global::ChartForgeX.Core.ChartMapGeoJsonOptions { SkipUnsupportedGeometries = value };    chartMapGeoJsonOptions.SkipUnsupportedGeometries(value);
public static ChartMapGeoJsonOptions WeightPropertyName(ChartMapGeoJsonOptions chartMapGeoJsonOptions, string? value) #

Sets ChartMapGeoJsonOptions.WeightPropertyName: Gets or sets the optional numeric feature property used for imported point weights. Missing or null values create unweighted points; present values must be finite nonnegative JSON numbers.

Parameters

chartMapGeoJsonOptions ChartForgeX.Core.ChartMapGeoJsonOptions required
The instance.
value string? required
The value.

Returns

ChartMapGeoJsonOptions The same instance.

Examples

// C# initializer or property                                                          // C# fluent
new global::ChartForgeX.Core.ChartMapGeoJsonOptions { WeightPropertyName = value };    chartMapGeoJsonOptions.WeightPropertyName(value);