HxDR Catalog

What is it?

You can visualize HxDR features from the HxDR storage platform for reality capture and geospatial data. HxDR catalog collections are professional airborne 2D and 3D reality captures from the HxGN Content Program that allow accurate and immersive 3D visualization.

The HxDR catalog consists of collections of HxDR features that contain HxDR layers with URL addresses to provide data.

You can add HxDR features to the map by selecting them on the Available Layers drawer.

Add a catalog element from the UI

To add an HxDR feature to the HxDR StartApp map:

  1. Click HxDR in the left navigation bar.
    The HxDR StartApp shows the HxDR catalog, with the HxDR features grouped per data type, in the HxDR | Available layers drawer on the left.
  2. Browse the catalog for the feature you need. To restrict your search to a specific capture year, select a year from the Captured year menu at the top of the explorer.
  3. To add a feature, click the + icon to the right of the data set.
    HxDR StartApp loads the feature, and visualizes it on the map. The + icon changes to a check mark, and the HxDR feature item becomes a map layer.
Adding a catalog feature to HxDR StartApp
Adding a catalog feature to HxDR StartApp

To interact with the map layer, click Layer Control in the left navigation bar.
The Layers drawer shows the HxDR features you added under Catalog layers.

Catalog feature added as layer
Catalog feature added as layer

You can re-center the map on the layer, and you can make the layer data invisible. See Center on data and Show and Hide layers.

To remove a layer, click its check mark in the HxDR | Available layers drawer.
HxDR StartApp removes the layer from the map.

Add a catalog element from code

We suggest adding default/background data in the addBackgroundLayers function exported in BackgroundLayersUtil.ts.

//get the feature item that you want, from the collection that you specify
const {data, errors} = await client.query({
  query: SearchCatalogFeatureItemsDocument,
  variables: {
    collectionIds: ["Preview_collection"],
    limit: 100,
    offset: 0,
  }
});
if (errors) {
  throw errors;
}
const mosaicFeatureItem = (data as TSearchCatalogFeatureItemsQuery).search.contents.find(
    featureItem => featureItem && featureItem.id === MOSAIC_ID)!;

//load the layer address of that feature item as a LuciadRIA layer 
const layer = loadLayerAddress(mosaicLayerAddress.properties.layerAddress! as LayerAddress, bearerToken);
//add that layer to the background layer group of the map
map.layerTree.findLayerGroupById(BACKGROUND_LAYER_GROUP_ID).addChild(layer);