====== Search ====== Click the Search icon in the [[263:products:3dm_viewer|3DM Viewer]] sidebar to find a location, resource, photo, annotation, or vector feature. If the icon is missing in a publication, check whether Search is enabled in the publication settings. ===== Concept ===== - Open Search and use the arrow next to the search field to choose a search mode. - Enter your query. Select a suggestion when available, or press ''Enter'' to search for what you typed. What happens next depends on the mode. When a result supplies a location, the Viewer focuses the open views on it: * **Reference View:** Centres the map on the result. It can fit the result’s bounds unless a fixed focus scale is configured. * **3D View:** Moves to the result using the configured focus distance. * **Image views:** Look for the [[263:viewer:core:update_view#search_open_best_photo|best photo]] for that location. ===== Settings ===== Go to [[263:viewer:core:settings#general|Settings]] > General > Search to choose a geocoding service or a linear reference resource when available. You can also set how views frame location results: * **Focus Distance in 3D View:** Set the viewing distance when focusing on a location. * **Focus Scale on Reference View:** Use a fixed map scale instead of fitting the result’s bounds. * **Add Photo View on Search:** Let the Viewer try to open an image view for a location result when no image view is open. This requires compatible imagery and room for a new view. ===== Search by Geocoding ===== Choose //Geocoding Service// and enter an address or place name. When suggestions appear, select the result you want. This mode is available when a geocoding service is configured and ready to use. ===== Search by Annotations ===== Choose //Annotations// and enter the text to find. The Viewer opens the search results in the [[263:viewer:sidebars:annotations_view|View Annotations Sidebar]]. This mode is available when that sidebar is enabled. ===== Search by Vector Attributes ===== Choose //Vector Attributes// to find features by attribute value. This mode is available when the [[263:viewer:sidebars:inspector|Inspector Sidebar]] is enabled. The Viewer opens the results in the Inspector and can focus the views on the active result when it has a location. * Enter an attribute value to search across eligible resources. * Enter ''# '' to limit the search to one resource. * Enter '':# '' to limit the search to one attribute in that resource. Use the Inspector Sidebar itself when you want to select the resource and attribute from lists or refine the search. ===== Search by Linear Reference ===== Use //LRef Distance// to find a position at a given distance along a [[263:technology:core:lrs|linear reference]] line. - Add a resource configured as a linear reference in the [[263:viewer:core:viewer_catalog|Viewer Catalog]]. Select it in Settings > General > Search. - In Search, choose LRef Distance. If an LRef ID field appears, select the line you want to use. - Enter the distance in the unit shown next to the search field and press ''Enter''. ===== Search by Photo ID ===== Choose //Photo ID// and enter the ID of a mobile mapping photo in the workspace. The Viewer opens the matching photo rather than ranking nearby images for a location. ===== Search by Resource ===== Choose //Resource// to locate a resource already in the workspace. Type its name, or use its description or tag to find a suggestion. Select the matching resource to focus on its location. To browse or add resources that aren’t in the workspace, use the [[263:viewer:core:viewer_catalog|Viewer Catalog]].