Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
155
[ShapefileConverter] - DatabaseSource error
posted

Hello,

I'm trying to put a Shapefile on the XamGeographicMap but I have an error with the ShapefileConverter, the DatabaseSource give me an error : "This operation is not supported for a relative URI.


This is my code : 

<Grid x:Name="LayoutRoot">
<Grid.Resources>
<ig:ShapefileConverter x:Key="shapefileConverter"
ShapefileSource="Resources/world_cou.shp"
DatabaseSource="Resources/world_cou.dbf">

</ig:ShapefileConverter>
</Grid.Resources>
<ig:XamGeographicMap x:Name="GeoMap">
<ig:XamGeographicMap.Series>
<ig:GeographicShapeSeries ItemsSource="{StaticResource shapefileConverter}" />
</ig:XamGeographicMap.Series>
</ig:XamGeographicMap>
</Grid>


My "Resources" folder is at the root of my project.

I try with other Shapefiles and DBF files but I have the same error...


Thanks in advance for your help !