Quantcast
Channel: DotSpatial Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 1128

Commented Unassigned: LIdar Plugin - problem with pdal_swig_cpp.dll [25612]

$
0
0
Hello to everyone,
my name is Luca form Italy.

I'm completely new with DotSpatial, so excuse me if I will ask you some stupid question :-)
So, I have to load a LAS file (Log ASCII Standard) file on a Map.
I'm using a WPF application (this is not important..but maybe useful for someone), where the code XAML code is:

```
<Window x:Class="GlobiCloudView.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:dotspatial="clr-namespace:DotSpatial.Controls;assembly=DotSpatial.Controls"
Title="MainWindow" Height="350" Width="525">
<DockPanel Name="MainDock">

<StackPanel HorizontalAlignment="Left" Orientation="Horizontal" Name="stCommandButtons" DockPanel.Dock="Top">
<Button Name="addImgLayer" Content="Add img Layer" Click="addImgLayer_Click" Padding="5" Margin="10" HorizontalAlignment="Left"></Button>
<Button Name="addLASLayer" Content="Add LAS Layer" Click="addLASLayer_Click" Padding="5" Margin="10" HorizontalAlignment="Left"></Button>
</StackPanel>
<WindowsFormsHost Name="WFMap">

</WindowsFormsHost>
</DockPanel>
</Window>

```

So the code behind is:

```
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();

Map testMap = new Map();
WFMap.Child = testMap;

}

private void addImgLayer_Click(object sender, RoutedEventArgs e)
{
((Map)WFMap.Child).AddImageLayer();
}

private void addLASLayer_Click(object sender, RoutedEventArgs e)
{
try
{
LiDARDataSet LASDataSet = new LiDARDataSet("C:\\Users\\Luca\\Desktop\\LASTests\\ComplexSRSInfo.las");

LiDARLayer LASLayer = new LiDARLayer();
LASLayer.DataSet = LASDataSet;

((Map)WFMap.Child).Layers.Add(LASLayer);

}
catch (Exception ex)
{

}


}
}
```

My problem is that the code

__LiDARDataSet LASDataSet = new LiDARDataSet("C:\\Users\\Luca\\Desktop\\LASTests\\ComplexSRSInfo.las");
__

fails...it throws an Exception that told me that is not possible to load the DLL pdal_swig_cpp.dll, BUT in the Debug folder this DLL is present!!!


Someone could help me please?
Comments: ** Comment from web user: lunard **

Hi mogikanin..yes I already tied..but no way..


Viewing all articles
Browse latest Browse all 1128

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>