## Query features by bounding box or H3 cell `FeatureCollection Elements.Query(ElementQueryParams?parameters, CancellationTokencancellationToken = default)` **get** `/api/v1/features` Query features by bounding box or H3 cell ### Parameters - `ElementQueryParams parameters` - `string bbox` Bounding box: south,west,north,east. At least one of bbox or h3 is required. - `string cursor` Cursor for pagination - `string h3` H3 cell index. At least one of bbox or h3 is required. - `Long limit` Maximum results (default 100, max 10000) - `string type` Element types (comma-separated: node,way,relation) ### Returns - `class FeatureCollection:` Bare GeoJSON FeatureCollection. Pagination metadata is returned in HTTP headers (X-Limit, X-Has-More, X-Next-Cursor, X-Next-Offset, Link). - `required IReadOnlyList Features` - `required GeoJsonGeometry Geometry` - `required Coordinates Coordinates` GeoJSON coordinates array (nesting depth varies by geometry type) - `IReadOnlyList` - `IReadOnlyList>` - `IReadOnlyList>>` - `IReadOnlyList>>>` - `required Type Type` - `"Point"Point` - `"LineString"LineString` - `"Polygon"Polygon` - `"MultiPoint"MultiPoint` - `"MultiLineString"MultiLineString` - `"MultiPolygon"MultiPolygon` - `required IReadOnlyDictionary Properties` - `required Type Type` - `"Feature"Feature` - `string ID` Feature identifier (type/osm_id) - `Long OsmID` OpenStreetMap ID - `required Type Type` - `"FeatureCollection"FeatureCollection` ### Example ```csharp ElementQueryParams parameters = new(); var featureCollection = await client.Elements.Query(parameters); Console.WriteLine(featureCollection); ```