Engine_Database.Get_Items_By_Coordinates Method
Performs geographic search for items within provided rectangular bounding box and linked to item aggregation of interest
Namespace: SobekCM.Engine_Library.DatabaseAssembly: SobekCM_Engine_Library (in SobekCM_Engine_Library.dll) Version: 4.10.0.0 (4.10.0.0)
Syntax
C# |
---|
public static Multiple_Paged_Results_Args Get_Items_By_Coordinates(
string AggregationCode,
double Latitude1,
double Longitude1,
double Latitude2,
double Longitude2,
bool IncludePrivateItems,
int ResultsPerPage,
int ResultsPage,
int Sort,
bool IncludeFacets,
List<short> FacetTypes,
bool ReturnSearchStatistics,
Custom_Tracer Tracer
) |
Parameters
- AggregationCode
- Type: System..::..String
Code for the item aggregation of interest
- Latitude1
- Type: System..::..Double
Latitudinal portion of the first point making up the rectangular bounding box
- Longitude1
- Type: System..::..Double
Longitudinal portion of the first point making up the rectangular bounding box
- Latitude2
- Type: System..::..Double
Latitudinal portion of the second point making up the rectangular bounding box
- Longitude2
- Type: System..::..Double
Longitudinal portion of the second point making up the rectangular bounding box
- IncludePrivateItems
- Type: System..::..Boolean
Flag indicates whether to include private items in the result set
- ResultsPerPage
- Type: System..::..Int32
Number of results to return per "page" of results
- ResultsPage
- Type: System..::..Int32
Which page of results to return ( one-based, so the first page is page number of one )
- Sort
- Type: System..::..Int32
Current sort to use ( 0 = default by search or browse, 1 = title, 10 = date asc, 11 = date desc )
- IncludeFacets
- Type: System..::..Boolean
Flag indicates if facets should be included in the result set
- FacetTypes
- Type: System.Collections.Generic..::..List<(Of <(<'Int16>)>)>
Primary key for the metadata types to include as facets (up to eight)
- ReturnSearchStatistics
- Type: System..::..Boolean
Flag indicates whether to create and return statistics about the overall search results, generally set to TRUE for the first page requested and subsequently set to FALSE
- Tracer
- Type: SobekCM.Tools..::..Custom_Tracer
Trace object keeps a list of each method executed and important milestones in rendering
Return Value
Type:
Multiple_Paged_Results_Args Table with all of the item and item group information within provided bounding box
Remarks
See Also