mySobek Home   |   Help
Skip Navigation Links.
Expand <a href='https://sobekrepository.org/sobekcm' title='Sobek home page'>Project Home</a>Project Home
Expand <a href='https://sobekrepository.org/help' title='Online user help'>User Help</a>User Help
Expand <a href='https://sobekrepository.org/sobekcm/technical' title='Sobek home page'>Technical Help</a>Technical Help
Expand <a href='https://sobekrepository.org/software' title='Center for downloading all SobekCM-related software'>Download Center</a>Download Center
Training Videos
Collapse <a href='https://sobekrepository.org/codehelp' title='Details on each of the different classes, interfaces, properties, etc..'>Code Details</a>Code Details
Expand <a href='https://sobekrepository.org/codehelp/engineagnosticlayerdbaccess' title='EngineAgnosticLayerDbAccess'>EngineAgnosticLayerDbAccess Namespace</a>EngineAgnosticLayerDbAccess Namespace
Expand <a href='https://sobekrepository.org/codehelp/builder_library' title='SobekCM.Builder_Library'>Builder_Library Namespace</a>Builder_Library Namespace
Expand <a href='https://sobekrepository.org/codehelp/core' title='SobekCM.Core'>Core Namespace</a>Core Namespace
Collapse <a href='https://sobekrepository.org/codehelp/engine_library' title='SobekCM.Engine_Library'>Engine_Library Namespace</a>Engine_Library Namespace
Expand <a href='https://sobekrepository.org/codehelp/engine_library/aggregations' title='SobekCM.Engine_Library.Aggregations'>Aggregations Sub-Namespace</a>Aggregations Sub-Namespace
Expand <a href='https://sobekrepository.org/codehelp/engine_library/applicationstate' title='SobekCM.Engine_Library.ApplicationState'>ApplicationState Sub-Namespace</a>ApplicationState Sub-Namespace
Expand <a href='https://sobekrepository.org/codehelp/engine_library/configuration' title='SobekCM.Engine_Library.Configuration'>Configuration Sub-Namespace</a>Configuration Sub-Namespace
Collapse <a href='https://sobekrepository.org/codehelp/engine_library/database' title='SobekCM.Engine_Library.Database'>Database Sub-Namespace</a>Database Sub-Namespace
Expand <a href='https://sobekrepository.org/codehelp/engine_library/database/database_item_result' title='Database_Item_Result Class'>Database_Item_Result</a>Database_Item_Result
Expand <a href='https://sobekrepository.org/codehelp/engine_library/database/database_title_result' title='Database_Title_Result Class'>Database_Title_Result</a>Database_Title_Result
Collapse <a href='https://sobekrepository.org/codehelp/engine_library/database/engine_database' title='Engine_Database Class'>Engine_Database</a>Engine_Database
Collapse <span Title='Engine_Database Methods' class='SobekSiteMapNoLink' >Methods</span>Methods
Aggregate_Statistics
Builder_Delete_Incoming_Folder
Builder_Edit_Incoming_Folder
Builder_Get_Folder_Module_Sets
Builder_Get_Incoming_Folder
Builder_Get_Recent_Updates
Builder_Log_Search
Delete_Thematic_Heading
Edit_Thematic_Heading
Get_Aggregation_Hierarchies
Expand <a href='https://sobekrepository.org/codehelp/engine_library/database/engine_database/overloads/get_all_browse_paged' title='Get_All_Browse_Paged Method'>Get_All_Browse_Paged Method</a>Get_All_Browse_Paged Method
Get_All_Coordinate_Points_By_Aggregation
Get_All_Template_DefaultMetadatas
Get_All_User_Groups
Get_All_Web_Skins
Get_Builder_Settings
Get_IP_Restriction_Ranges
Get_Item_Aggregation
Expand <a href='https://sobekrepository.org/codehelp/engine_library/database/engine_database/overloads/get_item_aggregation_browse_paged' title='Get_Item_Aggregation_Browse_Paged Method'>Get_Item_Aggregation_Browse_Paged Method</a>Get_Item_Aggregation_Browse_Paged Method
Get_Item_Aggregation_Counts
Get_Item_Aggregation_Metadata_Browse
Get_Item_Details
Get_Item_Group_Details
Expand <a href='https://sobekrepository.org/codehelp/engine_library/database/engine_database/overloads/get_item_information' title='Get_Item_Information Method'>Get_Item_Information Method</a>Get_Item_Information Method
Get_Items_By_Coordinates
Get_Main_Aggregation
Get_Public_Folder_Browse
Get_Random_Item
Get_Settings_Complete
Get_Statistics_Lookup_Tables
Expand <a href='https://sobekrepository.org/codehelp/engine_library/database/engine_database/overloads/get_user' title='Get_User Method'>Get_User Method</a>Get_User Method
Get_User_Folder_Browse
Get_User_Linked_Items_Stats
Get_Users_Linked_To_Items
Get_Viewer_Priority
Items_By_ALEPH_Number
Items_By_OCLC_Number
Log_Sent_Email
Perform_Metadata_Exact_Search_Paged
Expand <a href='https://sobekrepository.org/codehelp/engine_library/database/engine_database/overloads/perform_metadata_search_paged' title='Perform_Metadata_Search_Paged Method'>Perform_Metadata_Search_Paged Method</a>Perform_Metadata_Search_Paged Method
Populate_Aggregation_Aliases
Populate_Code_Manager
Populate_Icon_List
Populate_Item_Lookup_Object
Populate_MIME_List
Populate_Statistics_Dates
Populate_Thematic_Headings
Populate_Translations
Populate_URL_Portals
Save_Aggregation_Statistics
Expand <a href='https://sobekrepository.org/codehelp/engine_library/database/engine_database/overloads/save_item_aggregation' title='Save_Item_Aggregation Method'>Save_Item_Aggregation Method</a>Save_Item_Aggregation Method
Save_Item_Group_Statistics
Save_Item_Statistics
Save_Portal_Statistics
Save_TopLevel_Statistics
Save_WebContent_Statistics
Search_Stop_Words
Send_Database_Email
Simple_Item_List
Expand <a href='https://sobekrepository.org/codehelp/engine_library/database/engine_database/overloads/test_connection' title='Test_Connection Method'>Test_Connection Method</a>Test_Connection Method
Tracking_Online_Edit_Complete
Verify_Item_Lookup_Object
WebContent_Add_Milestone
WebContent_Add_Page
WebContent_Delete_Page
WebContent_Edit_Page
WebContent_Get_All
WebContent_Get_All_Pages
WebContent_Get_All_Redirects
WebContent_Get_Milestones
Expand <a href='https://sobekrepository.org/codehelp/engine_library/database/engine_database/overloads/webcontent_get_page' title='WebContent_Get_Page Method'>WebContent_Get_Page Method</a>WebContent_Get_Page Method
WebContent_Get_Recent_Changes
WebContent_Get_Usage
WebContent_Get_Usage_Report
WebContent_Has_Usage
WebContent_Populate_All_Hierarchy
Expand <span Title='Engine_Database Properties' class='SobekSiteMapNoLink' >Properties</span>Properties
Expand <a href='https://sobekrepository.org/codehelp/engine_library/email' title='SobekCM.Engine_Library.Email'>Email Sub-Namespace</a>Email Sub-Namespace
Expand <a href='https://sobekrepository.org/codehelp/engine_library/endpoints' title='SobekCM.Engine_Library.Endpoints'>Endpoints Sub-Namespace</a>Endpoints Sub-Namespace
Expand <a href='https://sobekrepository.org/codehelp/engine_library/iprangeutilities' title='SobekCM.Engine_Library.IpRangeUtilities'>IpRangeUtilities Sub-Namespace</a>IpRangeUtilities Sub-Namespace
Expand <a href='https://sobekrepository.org/codehelp/engine_library/items' title='SobekCM.Engine_Library.Items'>Items Sub-Namespace</a>Items Sub-Namespace
Expand <a href='https://sobekrepository.org/codehelp/engine_library/json_client_helpers' title='SobekCM.Engine_Library.JSON_Client_Helpers'>JSON_Client_Helpers Sub-Namespace</a>JSON_Client_Helpers Sub-Namespace
Expand <a href='https://sobekrepository.org/codehelp/engine_library/navigation' title='SobekCM.Engine_Library.Navigation'>Navigation Sub-Namespace</a>Navigation Sub-Namespace
Expand <a href='https://sobekrepository.org/codehelp/engine_library/settings' title='SobekCM.Engine_Library.Settings'>Settings Sub-Namespace</a>Settings Sub-Namespace
Expand <a href='https://sobekrepository.org/codehelp/engine_library/sitemap' title='SobekCM.Engine_Library.SiteMap'>SiteMap Sub-Namespace</a>SiteMap Sub-Namespace
Expand <a href='https://sobekrepository.org/codehelp/engine_library/skins' title='SobekCM.Engine_Library.Skins'>Skins Sub-Namespace</a>Skins Sub-Namespace
Expand <a href='https://sobekrepository.org/codehelp/engine_library/solr' title='SobekCM.Engine_Library.Solr'>Solr Sub-Namespace</a>Solr Sub-Namespace
Expand <a href='https://sobekrepository.org/codehelp/engine_library/extensionmethods' title='ExtensionMethods Class'>ExtensionMethods</a>ExtensionMethods
Expand <a href='https://sobekrepository.org/codehelp/engine_library/microservicehandler' title='MicroserviceHandler Class'>MicroserviceHandler</a>MicroserviceHandler
Expand <a href='https://sobekrepository.org/codehelp/engine_library/microservicerewriter' title='MicroserviceRewriter Class'>MicroserviceRewriter</a>MicroserviceRewriter
Expand <a href='https://sobekrepository.org/codehelp/library' title='SobekCM.Library'>Library Namespace</a>Library Namespace
Expand <a href='https://sobekrepository.org/codehelp/resource_object' title='SobekCM.Resource_Object'>Resource_Object Namespace</a>Resource_Object Namespace
Expand <a href='https://sobekrepository.org/codehelp/tools' title='SobekCM.Tools'>Tools Namespace</a>Tools Namespace
MISSING BANNER

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.Database
Assembly: 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

This calls the 'SobekCM_Get_Items_By_Coordinates' stored procedure

See Also



Version 4.10.0 ( last generated Monday, March 7, 2016 )