locked
Export as XAML RRS feed

  • Question

  •  

    I want to take a shapefile that I imported into a SQL 2008 database and export that to XAML so I can use the file in WPF or Silverlight.  Does anyone have an example of how to do this?  I have seen a number of applications including the management studio that visualize the data but none that export to XAML.
    Friday, October 3, 2008 4:29 PM

All replies

  • The spatialsharp .Net project has methods to convert from ESRI Shapefile to XAML, so you should be able to learn from the relevant parts of that. You can access the project page and source code here:
    http://code.google.com/p/spatialsharp/
    Friday, October 3, 2008 7:36 PM
    Answerer
  • I should have mentioned that I tried that, unfortunately the exporter doesn't do a good job on my shapefile(leaves off countries) which is interesting considering that the viewer in SMS does a great job.  I also need the ablity to take data directly from SQL Server 2008 and put it directly into XAML.

     

    Friday, October 3, 2008 10:32 PM