Select to view content in your preferred language

Querying Vector Tile and Feature Layers (parcels) in UE 5.4

711
2
Jump to solution
09-25-2024 04:59 PM
piercze
Occasional Contributor

There is a set of tutorials using ArcGIS called 'Query a feature layer (spatial)'. These demonstrate the exact functionality that I'm looking to emulate in Unreal.

The cesium one is here:
https://developers.arcgis.com/cesiumjs/query-and-edit/query-features-spatial/

The python here:
https://developers.arcgis.com/python/latest/guide/tutorials/query-a-feature-layer-spatial/

Does anyone know how to import and work with features that would make parcels (or even 3D Buildings in Building layers) clickable, hoverable, etc... just like in the tutorials above? 

I have strong blueprint skill with the ArcGIS SDK, and can figure out the C++ if needed. 

0 Kudos
1 Solution

Accepted Solutions
MichaelBranscomb
Esri Frequent Contributor

Hi,

This is actually an area we would like to make easier through the SDK, including with some new Blueprint samples. In the meantime, the following samples should help:

Get 3D object scene layer feature IDs: arcgis-maps-sdk-unreal-engine-samples/sample_project/Content/SampleViewer/Samples/HitTest at main · ... 

Query a feature layer for features: arcgis-maps-sdk-unreal-engine-samples/sample_project/Content/SampleViewer/Samples/FeatureLayer at ma... 

Display 3D object scene layer by feature attributes: arcgis-maps-sdk-unreal-engine-samples/sample_project/Content/SampleViewer/Samples/MaterialByAttribut...

 

Thanks

View solution in original post

2 Replies
MichaelBranscomb
Esri Frequent Contributor

Hi,

This is actually an area we would like to make easier through the SDK, including with some new Blueprint samples. In the meantime, the following samples should help:

Get 3D object scene layer feature IDs: arcgis-maps-sdk-unreal-engine-samples/sample_project/Content/SampleViewer/Samples/HitTest at main · ... 

Query a feature layer for features: arcgis-maps-sdk-unreal-engine-samples/sample_project/Content/SampleViewer/Samples/FeatureLayer at ma... 

Display 3D object scene layer by feature attributes: arcgis-maps-sdk-unreal-engine-samples/sample_project/Content/SampleViewer/Samples/MaterialByAttribut...

 

Thanks

piercze
Occasional Contributor

Thank you so much, Michael. I've set up the query feature layer project, which uses a point layer that corresponds to trees. I'm able to retrieve the individual Tree Species name (for example) from the feature data and print that into a widget that spawns by the tree on click.   

I understand that feature layers can be made up of points, lines, and/or polygons. Is it possible to modify this Sample Project system to import polygons of urban parcels, and then draw geometry (static mesh actors) from the parcel data in order to create this same functionality? 

0 Kudos