PlanetaryComputerModelFactory.GeoJsonGeometry Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a GeoJSON geometry object as defined by RFC 7946. Supported geometry types include:
- Point: A single geographic coordinate.
- LineString: A sequence of geographic coordinates forming a line.
- Polygon: A closed shape defined by linear rings.
- MultiPoint: A collection of Points.
- MultiLineString: A collection of LineStrings.
- MultiPolygon: A collection of Polygons.
public static Azure.Analytics.PlanetaryComputer.GeoJsonGeometry GeoJsonGeometry(string type = default, System.Collections.Generic.IEnumerable<float> boundingBox = default);
static member GeoJsonGeometry : string * seq<single> -> Azure.Analytics.PlanetaryComputer.GeoJsonGeometry
Public Shared Function GeoJsonGeometry (Optional type As String = Nothing, Optional boundingBox As IEnumerable(Of Single) = Nothing) As GeoJsonGeometry
Parameters
- type
- String
Discriminator property for GeoJsonGeometry.
- boundingBox
- IEnumerable<Single>
Optional bounding box of the geometry.
Returns
A new GeoJsonGeometry instance for mocking.