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.

False location for french country

Thread ID:

Created:

Updated:

Platform:

Replies:

113567 Sep 30,2013 07:16 AM Feb 3,2014 12:19 AM WPF 8
loading
Tags: Maps
Emmanuel Mbangas
Asked On September 30, 2013 07:16 AM

Hi, 
I use our map but when i tried to add "French" the location was false.
I have added  "Belgium" , "Italy" ..and others country , the location was correct  but
for "French" the location in map was false (near brazil)

Have you a solution for this problem ?

Notes
---------------------------
I use the last version for wpf 

Emmanuel Mbangas
Replied On September 30, 2013 07:18 AM

Hi, 
I use your map but when i tried to add "French" the location was false.
I have added  "Belgium" , "Italy" ..and others country , the location was correct  but
for "French" the location in map was false (near brazil)

Have you a solution for this problem ?

Notes
---------------------------
I use the last version for wpf 

Joy Oyiess Rex  K [Syncfusion]
Replied On October 1, 2013 06:01 AM

Hi Emb,

 

Thanks for your interest in Syncfusion products.

 

We suspect that, the mentioned issue is due to the *shp or *.dbf file you are using in your sample. So could you please provide us the reproducing sample, so that we can analyse more and provide you possible solution.

 

Please let us know, if you have any concerns.

 

Regards,

Joy Oyiess Rex K

Emmanuel Mbangas
Replied On October 2, 2013 01:30 AM

HI, Joy Oyiess Rex  K

this is mys steps :

1- I Have had thes country like this :
countries.Add(new Country() { NAME = "Belgium", Population = 3706690 });
countries.Add(new Country() { NAME = "France", Population = 64057792, Continent = "Europe" });

2-  Map in xaml file

            <syncfusion:SfMap.Layers>
                <syncfusion:ShapeFileLayer Background="White" ItemsSource="{Binding Countries}" ShapeIDPath="NAME" ShapeIDTableField="NAME" Uri="HeatMap.ShapeFiles.world1.shp">
                    <syncfusion:ShapeFileLayer.ItemsTemplate>
                        <DataTemplate>
                            <Grid Background="#332D2D2D">
                                <TextBlock Margin="5" Foreground="White" Opacity="1" FontSize="12" FontWeight="SemiBold" FontFamily="Segoe UI" Text="{Binding Data.NAME}"/>
                            </Grid>
                        </DataTemplate>
                    </syncfusion:ShapeFileLayer.ItemsTemplate>
                    <syncfusion:ShapeFileLayer.ShapeSettings>
                        <syncfusion:ShapeSetting ShapeFill="#E5E5E5" ShapeStroke="#C1C1C1" ShapeStrokeThickness="0.5" ShapeValuePath="Population" >
                            <syncfusion:ShapeSetting.FillSetting>
                                <syncfusion:ShapeFillSetting AutoFillColors="False">
                                    <syncfusion:ShapeFillSetting.ColorMappings>
                                        <syncfusion:RangeColorMapping Range="1500000000" Color="#2A91CF"/>
                                        <syncfusion:RangeColorMapping Range="750000000" Color="#3D9FD8"/>
                                        <syncfusion:RangeColorMapping Range="0" Color="#C7E9FA"/>
                                    </syncfusion:ShapeFillSetting.ColorMappings>
                                </syncfusion:ShapeFillSetting>
                            </syncfusion:ShapeSetting.FillSetting>
                        </syncfusion:ShapeSetting>
                    </syncfusion:ShapeFileLayer.ShapeSettings>
                </syncfusion:ShapeFileLayer>
            </syncfusion:SfMap.Layers>
        </syncfusion:SfMap>

I join the result :


Notes :
I opened the database file world1.dbf and i think there is mistke (France have 3 items
- Item 1 :  French south thern
- item2 : Frence
- item3 : New caledonia

I tried to change the database file but the map output doesn't change.

I join 1 images :
-  items in database file
- : map output 



bug_1cd2c56a.rar

Joy Oyiess Rex  K [Syncfusion]
Replied On October 4, 2013 08:37 AM

Hi Emb,

 

Thank you for provide us more details about the issue.

 

As mentioned in your previous update, the dbf file is not wrong for having three items for France, since they are comes under the constituent lands of the French Republic. That’s why some pat of French Republic displayed near Brazil, named French Guiana.

 

For more detail refer the following links,

 

http://en.wikipedia.org/wiki/File:France-Constituent-Lands.png

 

http://en.wikipedia.org/wiki/French_Guiana

 

http://en.wikipedia.org/wiki/Overseas_departments_and_territories_of_France

 

As all the constituent lands of French Republic come under same path in the shp file which we have used in our sample.

 

We are analysing on your requirement, we will update you the detail in one business day.(Oct 7, 2013)

 

Note:

Each record in the .dbf file is associated with the each shape in the shape file(.shp). Shapes in the shp file and records in the .dbf file are organized in the same sequence. Therefore, the nth shape in the main file is associated with nth record in the .dbf file.

Please let us know, if you need any further assistance.

 

Regards,

Joy Oyiess Rex K


Emmanuel Mbangas
Replied On January 30, 2014 02:22 PM

It's possible to add in BubbleVisualization , French in Europe but not 
French south thern OR New caledonia

Saravanan A [Syncfusion]
Replied On January 31, 2014 06:22 AM

Hi Emb,

 

Based on your requirement we have prepared a sample and you can download the same from the below attachment. In the attached sample we have shown bubble visualization based on population data of France.

 

Please let us know if you need any further clarifications.

 

Regards,

Saravanan A



BubbleVisualization_french_f29581f9.zip

Emmanuel Mbangas
Replied On January 31, 2014 07:22 AM

Hi Saravanan A;
Thanks for your response but it's not that i want.

This is that i want :
I would like to add French (in Europe) country in world BubbleVisualization Map.
The problem is when I  add French country i have in output  3 items for French :
- Item 1 :  French south thern
- item2 : Frence (Europe)
- item3 : New caledonia

I want only item2 (Frence) in  world BubbleVisualization Map .
Have you got a solution ?

Saravanan A [Syncfusion]
Replied On February 3, 2014 12:19 AM

Hi Emb,

 

Currently we don’t have any direct support for visualizing the France(in Europe) alone in world map. But your requirement of showing the bubble visualization for France(in Europe) alone can be achieved by using the SubLayer support in Maps control. Based on you requirement we have prepared the sample and the same can be downloaded from the attachment.

 

In the attached sample we have added the France(in Europe) as a SubLayer to world map and included the bubble settings for both main layer and sub layer separately. And used different collections for both main layer and sub layer with some dummy data to match the bubble size for both layer.

 

Please let us know if you need any further clarifications on this.

 

Regards,

Saravanan A



BubbleVisualization_c6da411a.zip

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.

;