dymaptic.GeoBlazor.Core
dymaptic.GeoBlazor.Core.Model
TopFeaturesQuery Class
This class defines parameters for executing top features queries from a FeatureLayer.
ArcGIS Maps SDK for JavaScript
public class TopFeaturesQuery :
System.IEquatable<dymaptic.GeoBlazor.Core.Model.TopFeaturesQuery>
Inheritance System.Object 🡒 TopFeaturesQuery
Implements System.IEquatable<TopFeaturesQuery>
Constructors
TopFeaturesQuery(Nullable, Nullable, Geometry, Nullable, Nullable, Nullable, IReadOnlyCollection, IReadOnlyCollection, IReadOnlyCollection, SpatialReference, Nullable, Nullable, Nullable, Nullable, Nullable, TimeExtent, TopFilter, Nullable, string) Constructor
This class defines parameters for executing top features queries from a FeatureLayer.
ArcGIS Maps SDK for JavaScript
public TopFeaturesQuery(System.Nullable<bool> CacheHint=null, System.Nullable<double> Distance=null, dymaptic.GeoBlazor.Core.Components.Geometries.Geometry? Geometry=null, System.Nullable<double> GeometryPrecision=null, System.Nullable<double> MaxAllowableOffset=null, System.Nullable<int> Num=null, System.Collections.Generic.IReadOnlyCollection<long>? ObjectIds=null, System.Collections.Generic.IReadOnlyCollection<string>? OrderByFields=null, System.Collections.Generic.IReadOnlyCollection<string>? OutFields=null, dymaptic.GeoBlazor.Core.Components.SpatialReference? OutSpatialReference=null, System.Nullable<bool> ReturnGeometry=null, System.Nullable<bool> ReturnM=null, System.Nullable<bool> ReturnZ=null, System.Nullable<dymaptic.GeoBlazor.Core.Enums.SpatialRelationship> SpatialRelationship=null, System.Nullable<int> Start=null, dymaptic.GeoBlazor.Core.Components.TimeExtent? TimeExtent=null, dymaptic.GeoBlazor.Core.Model.TopFilter? TopFilter=null, System.Nullable<dymaptic.GeoBlazor.Core.Enums.QueryUnits> Units=null, string? Where=null);
Parameters
CacheHint
System.Nullable<System.Boolean>
Indicates if the service should cache the query results.
default undefined
ArcGIS Maps SDK for JavaScript
Distance
System.Nullable<System.Double>
Specifies a search distance from a given geometry in a spatial query.
ArcGIS Maps SDK for JavaScript
Geometry
Geometry
The geometry to apply to the spatial filter.
ArcGIS Maps SDK for JavaScript
GeometryPrecision
System.Nullable<System.Double>
Specifies the number of decimal places for geometries returned by the query operation.
ArcGIS Maps SDK for JavaScript
MaxAllowableOffset
System.Nullable<System.Double>
The maximum distance in units of outSpatialReference used for generalizing geometries returned by the query operation.
ArcGIS Maps SDK for JavaScript
Num
System.Nullable<System.Int32>
The number of features to retrieve.
ArcGIS Maps SDK for JavaScript
ObjectIds
System.Collections.Generic.IReadOnlyCollection<System.Int64>
An array of ObjectIDs to be used to query for features in a layer.
ArcGIS Maps SDK for JavaScript
OrderByFields
System.Collections.Generic.IReadOnlyCollection<System.String>
One or more field names used to order the query results.
ArcGIS Maps SDK for JavaScript
OutFields
System.Collections.Generic.IReadOnlyCollection<System.String>
Attribute fields to include in the FeatureSet.
default null
ArcGIS Maps SDK for JavaScript
OutSpatialReference
SpatialReference
The spatial reference for the returned geometry.
ArcGIS Maps SDK for JavaScript
ReturnGeometry
System.Nullable<System.Boolean>
If true
, each feature in the returned FeatureSet includes the geometry.
default false
ArcGIS Maps SDK for JavaScript
ReturnM
System.Nullable<System.Boolean>
If true
, and returnGeometry is true
, then m-values are included in the geometry.
ArcGIS Maps SDK for JavaScript
ReturnZ
System.Nullable<System.Boolean>
If true
, and returnGeometry is true
, then z-values are included in the geometry.
ArcGIS Maps SDK for JavaScript
SpatialRelationship
System.Nullable<SpatialRelationship>
For spatial queries, this parameter defines the spatial relationship to query features in the layer or layer view against the input geometry.
default intersects
ArcGIS Maps SDK for JavaScript
Start
System.Nullable<System.Int32>
The zero-based index indicating where to begin retrieving features.
ArcGIS Maps SDK for JavaScript
TimeExtent
TimeExtent
A time extent for a temporal query against time-aware layers.
ArcGIS Maps SDK for JavaScript
TopFilter
TopFilter
The topFilter
parameter is used to set the groupByFields, orderByFields, and topCount criteria used in generating the result.
ArcGIS Maps SDK for JavaScript
Units
System.Nullable<QueryUnits>
The unit for calculating the buffer distance when distance is specified in spatial queries.
default null
ArcGIS Maps SDK for JavaScript
Where
System.String
A where clause for the query.
ArcGIS Maps SDK for JavaScript
Properties
TopFeaturesQuery.CacheHint Property
Indicates if the service should cache the query results.
default undefined
ArcGIS Maps SDK for JavaScript
public System.Nullable<bool> CacheHint { get; set; }
Property Value
System.Nullable<System.Boolean>
TopFeaturesQuery.Distance Property
Specifies a search distance from a given geometry in a spatial query.
ArcGIS Maps SDK for JavaScript
public System.Nullable<double> Distance { get; set; }
Property Value
System.Nullable<System.Double>
TopFeaturesQuery.Geometry Property
The geometry to apply to the spatial filter.
ArcGIS Maps SDK for JavaScript
public dymaptic.GeoBlazor.Core.Components.Geometries.Geometry? Geometry { get; set; }
Property Value
TopFeaturesQuery.GeometryPrecision Property
Specifies the number of decimal places for geometries returned by the query operation.
ArcGIS Maps SDK for JavaScript
public System.Nullable<double> GeometryPrecision { get; set; }
Property Value
System.Nullable<System.Double>
TopFeaturesQuery.MaxAllowableOffset Property
The maximum distance in units of outSpatialReference used for generalizing geometries returned by the query operation.
ArcGIS Maps SDK for JavaScript
public System.Nullable<double> MaxAllowableOffset { get; set; }
Property Value
System.Nullable<System.Double>
TopFeaturesQuery.Num Property
The number of features to retrieve.
ArcGIS Maps SDK for JavaScript
public System.Nullable<int> Num { get; set; }
Property Value
TopFeaturesQuery.ObjectIds Property
An array of ObjectIDs to be used to query for features in a layer.
ArcGIS Maps SDK for JavaScript
public System.Collections.Generic.IReadOnlyCollection<long>? ObjectIds { get; set; }
Property Value
System.Collections.Generic.IReadOnlyCollection<System.Int64>
TopFeaturesQuery.OrderByFields Property
One or more field names used to order the query results.
ArcGIS Maps SDK for JavaScript
public System.Collections.Generic.IReadOnlyCollection<string>? OrderByFields { get; set; }
Property Value
System.Collections.Generic.IReadOnlyCollection<System.String>
TopFeaturesQuery.OutFields Property
Attribute fields to include in the FeatureSet.
default null
ArcGIS Maps SDK for JavaScript
public System.Collections.Generic.IReadOnlyCollection<string>? OutFields { get; set; }
Property Value
System.Collections.Generic.IReadOnlyCollection<System.String>
TopFeaturesQuery.OutSpatialReference Property
The spatial reference for the returned geometry.
ArcGIS Maps SDK for JavaScript
public dymaptic.GeoBlazor.Core.Components.SpatialReference? OutSpatialReference { get; set; }
Property Value
TopFeaturesQuery.ReturnGeometry Property
If true
, each feature in the returned FeatureSet includes the geometry.
default false
ArcGIS Maps SDK for JavaScript
public System.Nullable<bool> ReturnGeometry { get; set; }
Property Value
System.Nullable<System.Boolean>
TopFeaturesQuery.ReturnM Property
If true
, and returnGeometry is true
, then m-values are included in the geometry.
ArcGIS Maps SDK for JavaScript
public System.Nullable<bool> ReturnM { get; set; }
Property Value
System.Nullable<System.Boolean>
TopFeaturesQuery.ReturnZ Property
If true
, and returnGeometry is true
, then z-values are included in the geometry.
ArcGIS Maps SDK for JavaScript
public System.Nullable<bool> ReturnZ { get; set; }
Property Value
System.Nullable<System.Boolean>
TopFeaturesQuery.SpatialRelationship Property
For spatial queries, this parameter defines the spatial relationship to query features in the layer or layer view against the input geometry.
default intersects
ArcGIS Maps SDK for JavaScript
public System.Nullable<dymaptic.GeoBlazor.Core.Enums.SpatialRelationship> SpatialRelationship { get; set; }
Property Value
System.Nullable<SpatialRelationship>
TopFeaturesQuery.Start Property
The zero-based index indicating where to begin retrieving features.
ArcGIS Maps SDK for JavaScript
public System.Nullable<int> Start { get; set; }
Property Value
TopFeaturesQuery.TimeExtent Property
A time extent for a temporal query against time-aware layers.
ArcGIS Maps SDK for JavaScript
public dymaptic.GeoBlazor.Core.Components.TimeExtent? TimeExtent { get; set; }
Property Value
TopFeaturesQuery.TopFilter Property
The topFilter
parameter is used to set the groupByFields, orderByFields, and topCount criteria used in generating the result.
ArcGIS Maps SDK for JavaScript
public dymaptic.GeoBlazor.Core.Model.TopFilter? TopFilter { get; set; }
Property Value
TopFeaturesQuery.Units Property
The unit for calculating the buffer distance when distance is specified in spatial queries.
default null
ArcGIS Maps SDK for JavaScript
public System.Nullable<dymaptic.GeoBlazor.Core.Enums.QueryUnits> Units { get; set; }
Property Value
TopFeaturesQuery.Where Property
A where clause for the query.
ArcGIS Maps SDK for JavaScript
public string? Where { get; set; }