I see from this post that I can tweak RIA Services to transmit Sql Server spatial types. What I'd like to do is edit these spatial types. Does anyone know of any tools that would run in Silverlight that would support this?
Using the Silverlight API editing that Brad suggested will edit the SQL Spatial Types if the GEOMETRY_STORAGE parameter is set to not use the ArcSDE compressed binary type. This is probably the best option if you are not using versioned data and you want to make your edits directly on the map, as opposed to editing the string representation of the geometry. |
|||||||||
|
|
Edit: it looks like someone was doing this a year ago maybe he had some luck by now. Will Kimrey |
|||||
|
|
Not seen any direct editing in sliverlight tool but have edited shapefiles and reloaded using SharpGIS http://www.sharpgis.net/page/SQL-Server-2008-Spatial-Tools.aspx Maybe of interest: http://demos.telerik.com/silverlight/#Map/Shapefile/World |
|||
|
|
|
Could you just use the .NET SqlGeometry / SqlGeography from the Microsoft.SqlServer.Types namespace to roll your own editing? There are some extras in the SQL Server Spatial Tools that may add some extra functionality. These types can both be used from within SQL Server or directly through the CLR, so I can't see why you wouldn't be able to use them in a Silverlight application (although I have not tried). EDIT: Another post explaining more (and maybe it's not possible) looks like the Silverlight API isn't able to reference the SQL types. |
||||
|
|