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.
Unfortunately, activation email could not send to your email. Please try again.

SfMaps cannot load data from ESRI dbf file

Thread ID:

Created:

Updated:

Platform:

Replies:

132879 Sep 26,2017 12:16 PM Sep 27,2017 03:47 PM WPF 1
loading
Tags: SfMaps
Vasiliy Lukin
Asked On September 26, 2017 12:16 PM

Hi,
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 03:47 PM

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  

Screenshot- 
 

Please get back to us if you have any concern.

Regards,
Ashwin
 


CONFIRMATION

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.

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.

;