I found this article today about using VB9 and WPF to draw thematic maps. It’s a good walk-through of how to do it. The article admits that the coordinate transformation used is not terribly accurate but that can be rectified. This article is a good example of how to build a mapping application without any third-party components. The author converts Census boundary files to XML for this app. It shouldn’t be a stretch to use SQL 2008, PostGIS or some other database that can emit GML and has an OLEDB provider as a data source.
I’ve been using WPF with SharpMap on a project for a while but my mapping code is about 5% of the overall project and I haven’t had a chance to extract what I’ve done into something digestable to provide an example. I had to fit into the rendering paradigm of a previously developed GUI so it deviates from how it’s shaping up in SharpMap 2.0.
So, if you’re looking for an example of how to render spatial data in WPF, this is a good one.
I agree. I have seen other samples but this one is the most strightforward, with the fewest dependencies as well. It does a good job of illustrating the potential of WPF for GIS displays.
it´s a good initiative, even reinventing the casual world