Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation on how XML files are created? #1

Open
jamespfluger opened this issue Jun 3, 2018 · 6 comments
Open

Documentation on how XML files are created? #1

jamespfluger opened this issue Jun 3, 2018 · 6 comments

Comments

@jamespfluger
Copy link

jamespfluger commented Jun 3, 2018

UScounties.zip
I am interested in creating a new map. Particularly for US counties I already have the Shapefiles and I want to convert them for usage within Live-Maps.

I don't see any documentation on how to create a new XML for Live-Maps. I presume the <path> element is what defines the boundaries, but how are these elements decided? What does each value mean?

Is there any documentation or explanation on how Live-Maps XML files are generated?

@jamespfluger
Copy link
Author

Anybody know how I can find this information out yet?

@crazytiy
Copy link

No one knows??

@nulmiso
Copy link

nulmiso commented May 5, 2020

It's been a few days since I discovered LiveCharts through Google search to develop a charting app for me. Many thanks to LiveChart author for knowing that Geomap allows me to draw charts on any complex shapes.

This is too late for jamespfluger but I'm writing this for who may need answer to your question;
The xml files in the Live-Maps were drawn using the Path Markup Language and one may understand it at https://docs.microsoft.com/en-us/dotnet/framework/wpf/graphics-multimedia/path-markup-syntax.

For an example, if you want to draw a circle with radius 10 at (100, 100), the path will be like this;
<Path> M 90,100 A 10,10 0 1 1 110,100 A 10,10 0 1 1 90,100 </Path>

Hope this help somebody.

@AeroYoung
Copy link

Is anyway convert geoJSON to Path Markup Syntax?

@AeroYoung
Copy link

i push a simple repo convert geoJSON to Path Markup Syntax
https://github.com/AeroYoung/GeoJsonLiveCharts

@wliragomes
Copy link

Has anyone managed to convert?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants