DJI Windows SDK Documentation

class FlyZoneInformation

sealed class FlyZoneInformation
Declaration:DJI.WindowsSDK.FlySafe
Description:

This class contains information about a fly zone. Type should be used to understand the type of fly zone to know which information in this class is valid.

Class Members:
Information
property
property Type
FlyZoneType Type { get; }
Declaration:DJI.WindowsSDK.FlySafe
Description:

Returns the type of fly zone.

See Also:

FlyZoneType, Type

property
property FlyZoneID
uint FlyZoneID { get; }
Declaration:DJI.WindowsSDK.FlySafe
Description:

Returns the fly zone's ID. This is required if unlocking a fly zone.

See Also:

FlyZoneID

property
property Name
string Name { get; }
Declaration:DJI.WindowsSDK.FlySafe
Description:

Returns the name of the fly zone.

property
property Reason
FlyZoneReason Reason { get; }
Declaration:DJI.WindowsSDK.FlySafe
Description:

Returns the reason of the fly zone FlyZoneReason.

See Also:

FlyZoneReason, Reason

Location
property
property Center
LocationCoordinate2D Center { get; }
Declaration:DJI.WindowsSDK.FlySafe
Description:

The coordinate of the fly zone's center. Only used for Circle fly zones.

See Also:

LocationCoordinate2D

Geometry
property
property Radius
double Radius { get; }
Declaration:DJI.WindowsSDK.FlySafe
Description:

The radius of the fly zone in meters. If the fly zone is a truncated cone, then the radius is the bottom of the cone. Only used for Circle zones.

property
property Shape
FlyZoneShape Shape { get; }
Declaration:DJI.WindowsSDK.FlySafe
Description:

The shape of the fly zone. This shape is only used for GEO (always cylinder) and NFZ fly zones.

See Also:

FlyZoneShape

Sub Fly Zones
property
property SubFlyZones
List<SubFlyZoneInformation> SubFlyZones { get; }
Declaration:DJI.WindowsSDK.FlySafe
Description:

Information about the Sub fly zones. If empty, then the fly zone is a circle fly zone. If populated, this fly zone is a Poly fly zone and the sub fly zone information will take precedence over information in FlyZoneInformation. FlyZoneInformation should only be used for fly zone identifying information.

See Also:

SubFlyZoneInformation, SubFlyZones

Time
property
property StartTime
string StartTime { get; }
Declaration:DJI.WindowsSDK.FlySafe
Description:

The timestamp of when the flight warning or flight restriction begins, formatted in UTC (YYYY-MM-DD hh:mm:ss). This is used for temporary flight restrictions. When the time is not available from the server, FlyZoneInformationInvalidTimestamp will be returned.

property
property EndTime
string EndTime { get; }
Declaration:DJI.WindowsSDK.FlySafe
Description:

The timestamp of when the flight warning or flight restriction ends, formatted in UTC (YYYY-MM-DD hh:mm:ss). When the time is not available from the server, FlyZoneInformationInvalidTimestamp will be returned.

property UnlockStartTime
string UnlockStartTime { get; internal set; }
Declaration:DJI.WindowsSDK.FlySafe
Description:

The timestamp when the fly zone is unlocked, formatted in UTC (YYYY-MM-DD hh:mm:ss). When the time is not available from the server, FlyZoneInformationInvalidTimestamp will be returned.

See Also:

UnlockStartTime

property UnlockEndTime
string UnlockEndTime { get; internal set; }
Declaration:DJI.WindowsSDK.FlySafe
Description:

The timestamp the unlocked zone expires, formatted in UTC (YYYY-MM-DD hh:mm:ss). When the time is not available from the server, FlyZoneInformationInvalidTimestamp will be returned.

See Also:

UnlockEndTime

property FlyZoneInformationInvalidTimestamp
static string FlyZoneInformationInvalidTimestamp { get; set; }
Declaration:DJI.WindowsSDK.FlySafe
Description:

Fly Zone Information Invalid Timestamp.

See Also:

FlyZoneInformationInvalidTimestamp

enum FlyZoneType
enum FlyZoneType
Declaration:DJI.WindowsSDK.FlySafe
Description:

There are two types of fly zones, Circle and Polygon.

Enum Members:
CircleThe circle fly zone is a cylinder or truncated cone volume (see Shape) with one of the four restriction levels (see Category). Some restrictions can be unlocked while others cannot. Some fly zones also have a 4km buffer around them where flight height is restricted to 120m.
PolygonThe Poly fly zone consists of one or more sub fly zones that are cylinders or complex volumes with different height limitations. A height limitation of 0m means flight is completely restricted.
UnknownThe fly zone is of unknown type.
enum FlyZoneCategory
enum FlyZoneCategory
Declaration:DJI.WindowsSDK.FlySafe
Description:

An enum class represents the category of fly zone.

Enum Members:
WarningWarning zones do not restrict flight and are informational to alert the user. In a warning zone, users should be prompted with a warning message describing the zone.
AuthorizaionAuthorization zones restrict flight by default, but can be unlocked by a GEO authorized user.
RestrictedRestricted zones restrict flight by default and cannot be unlocked by a GEO authorized user. Users should contact flysafe@dji.com if they have authorization to fly in a restricted zone.
EnchanceWarningEnhanced warning zones do not restrict flight but are highly recommended to be informational to alert the user. In an enhanced warning zone, users should be prompted with a warning message describing the zone.
UnknownUnknown.
enum FlyZoneReason
enum FlyZoneReason
Declaration:DJI.WindowsSDK.FlySafe
Description:

An enum class contains the reason for the fly zone.

Enum Members:
AirportAirport that cannot be unlocked using GEO system.
MilitaryMilitary authorized zone. This cannot be unlocke
SpecialSpecial Zone. This cannot be unlocked using the GEO system.
CommercialAirportCommercial airport.
PrivateCommercialAirportPrivate commercial airport.
RecreationalAirportRecreational airport.
NationalParkNational park.
NOAAThe National Oceanic and Atmospheric Administration.
ParcelParcel.
PowerPlantPower plant.
PrisonPrison.
SchoolSchool.
StadiumStadium.
ProhibitedSpecialUseProhibited special use.
RestrictedSpecialUseRestriction special use.
TemporaryFlightRestrictionTemporary flight restriction.
ClassBAirSpaceClass B controlled airspace. See http://www.dji.com/flysafe/geo-system#notes for more information on the controlled airspace (Class B, C, D, E) in the United States.
ClassCAirSpaceClass C controlled airspace. See http://www.dji.com/flysafe/geo-system#notes for more information on the controlled airspace (Class B, C, D, E) in the United States.
ClassDAirSpaceClass D controlled airspace. See http://www.dji.com/flysafe/geo-system#notes for more information on the controlled airspace (Class B, C, D, E) in the United States.
ClassEAirSpaceClass E Controlled Airspace. See http://www.dji.com/flysafe/geo-system#notes for more information on the controlled airspace (Class B, C, D, E) in the United States.
UnpavedAirportAirport with unpaved runway.
HeliportHeliport.
UnknownUnknown.
enum FlyZoneShape
enum FlyZoneShape
Declaration:DJI.WindowsSDK.FlySafe
Description:

An enum class containing the shape of the fly zone.

Enum Members:
CylinderCylinder.
ConeTruncated cone that has a smaller radius on the ground and larger radius in the air.
UnknownUnknown.
enum SubFlyZoneShape
enum SubFlyZoneShape
Declaration:DJI.WindowsSDK.FlySafe
Description:

This type of the geospatial information for the fly zone.

Enum Members:
CylinderCircle shape.
PolygonPolygon shape.
UnknownUnknown.