We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

SfMaps cannot load data from ESRI dbf file

Thread ID:





132879 Sep 26,2017 04:16 PM UTC Sep 27,2017 07:47 PM UTC WPF 1
Tags: SfMaps
Vasiliy Lukin
Asked On September 26, 2017 04:16 PM UTC

I have shapefile created in QGIS.
When I add layer with it to SfMaps it cannot load data from dbf, ShapeData is null and ShapeItems is empty.
            ShapeFileLayer layer = new ShapeFileLayer();
            layer.Uri = uri;            
            layer.ItemsSource = items;
            layer.ShapeIDPath = "OSM_ID";
            layer.ShapeIDTableField = "OSM_ID";

What is wrong with shapefile? And why SfMaps cannot handle it?

Regards, Vasiliy.

Attachment: Shapes_6a2e27ec.zip

Ashwin Kumaravel [Syncfusion]
Replied On September 27, 2017 07:47 PM UTC

Hi Vasiliy,

Thanks for using Syncfusion products,

We have validated your query and created a sample using Maps with your attached shapefile.
In the attached sample, we have placed bubbles over each shape and displayed its OSM_ID over each bubble. These data are read from your dbf files. Each shape has its own OSM_ID’s and those id are displaced over the bubble.

Can you please download the sample from the below link?

Sample link- http://www.syncfusion.com/downloads/support/forum/132879/ze/Maps_WPF-828665440  


Please get back to us if you have any concern.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon