public sealed class LasDatasetDefinition : ArcGIS.Core.Data.Definition, System.IDisposable
Public NotInheritable Class LasDatasetDefinition Inherits ArcGIS.Core.Data.Definition Implements System.IDisposable
public sealed class LasDatasetDefinition : ArcGIS.Core.Data.Definition, System.IDisposable
Public NotInheritable Class LasDatasetDefinition Inherits ArcGIS.Core.Data.Definition Implements System.IDisposable
public async Task GetLasDatasetDefinition() { try { await ArcGIS.Desktop.Framework.Threading.Tasks.QueuedTask.Run(() => { string path = @"d:\Data\LASDataset"; var fileConnection = new FileSystemConnectionPath(new Uri(path), FileSystemDatastoreType.LasDataset); using (FileSystemDatastore dataStore = new FileSystemDatastore(fileConnection)) { string name = "utrecht_tile.lasd"; // can specify with or without the .lasd extension using (var dataset = dataStore.GetDefinition<ArcGIS.Core.Data.Analyst3D.LasDatasetDefinition>(name)) { } } }); } catch (GeodatabaseNotFoundOrOpenedException exception) { // Handle Exception. } }
//Must be on the QueuedTask.Run() Envelope extent; SpatialReference sr; using (var tin = tinLayer.GetTinDataset()) { using (var tinDef = tin.GetDefinition()) { extent = tinDef.GetExtent(); sr = tinDef.GetSpatialReference(); } } using (var terrain = terrainLayer.GetTerrain()) { using (var terrainDef = terrain.GetDefinition()) { extent = terrainDef.GetExtent(); sr = terrainDef.GetSpatialReference(); } } using (var lasDataset = lasDatasetLayer.GetLasDataset()) { using (var lasDatasetDef = lasDataset.GetDefinition()) { extent = lasDatasetDef.GetExtent(); sr = lasDatasetDef.GetSpatialReference(); } }
System.Object
ArcGIS.Core.CoreObjectsBase
ArcGIS.Core.Data.Definition
ArcGIS.Core.Data.Analyst3D.LasDatasetDefinition
Target Platforms: Windows 11, Windows 10