MSDN Article on Mapping with WPF

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.

This entry was posted in .net, articles, gis, microsoft, msdn, postgis, sharpmap, sql server spatial, visual basic, wpf. Bookmark the permalink.

4 Responses to MSDN Article on Mapping with WPF

  1. Pingback: Geek Lectures - Things geeks should know about » Blog Archive » MSDN Article on Mapping with WPF

  2. Pingback: geofumadas » Blog Archive » Mapas dinámicos con Visual Basic 9

  3. geofumadas says:

    it´s a good initiative, even reinventing the casual world

  4. Bill Dollins says:

    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.

Comments are closed.