Select to view content in your preferred language

Help on Arcgis Api for silverlight

3493
5
08-17-2010 01:59 AM
IvanKarlsson
New Contributor
A month ago I and my partner started a final project, we building information system for a farm that is based on Arcview 9.3. It is going to be a web site at the end (hopefully). We already have a database and maps, and we're trying to establish connection between the data base that we have and silverlight app. And we're little bit lost on it. Any help will be usefull.
0 Kudos
5 Replies
MartenLiebster
Deactivated User
A month ago I and my partner started a final project, we building information system for a farm that is based on   Arcview 9.3. It is going to be a web site at the end (hopefully). We already have a database and maps, and we're trying to establish connection between the data base that we have and   silverlight app. And we're little bit lost on it. Any help will be usefull.


Have you looked at the Interactive SDK/Demo? It's should be helpful. Here's the link: http://resources.esri.com/help/9.3/arcgisserver/apis/silverlight/samples/start.htm

Also some description of what your trying to do would help in getting responses.
0 Kudos
IvanKarlsson
New Contributor
Have you looked at the Interactive SDK/Demo? It's should be helpful. Here's the link: http://resources.esri.com/help/9.3/arcgisserver/apis/silverlight/samples/start.htm

Also some description of what your trying to do would help in getting responses.


What i'm trying to do is toconnect some data base that i have(an access data base) to the map and build an form where i could choce a poligon on a map and when ever i chose one I'll be able to manipulate the data from a db.I saw the demo and it was usefull but i couldn't fint any apropriate help file that explains how can i work with the api . I'm kind of lost in GIS jungle :(.
0 Kudos
MartenLiebster
Deactivated User
What i'm trying to do is toconnect some data base that i have(an access data base) to the map and build an form where i could choce a poligon on a map and when ever i chose one I'll be able to manipulate the data from a db.I saw the demo and it was usefull but i couldn't fint any apropriate help file that explains how can i work with the api . I'm kind of lost in GIS jungle :(.


I'm still new to this is as well. We are doing something similar to what you're asking.

I'm sure there are ways to do what your talking about via ArcGIS, but I've not gone that route, primarily due to me not knowing anything at all about spatial things.

You'll need to write some type of web service that acts as middle man to the database and the Silverlight client.  For this, we are using WCF RIA to get data in and out of our SQL database. When I get my lat/lon values from my database, I build ESRI Graphic objects and add them to the GraphicsLayer of my map. Sometimes I build my own custom MarkerSymbols in the XAML if I need something more than a point or polygon.

You don't need to use WCF RIA to access your Access ;), you can use "plain" WCF, or by using the WebClient/HTTPRequest in Silverlight to access pretty much any HTTP based service to pass data and requests in and out of your database.

Quite frankly coming from a .NET developer standpoint, ESRI's approach is not the most intuitive at first, but you can get the hang of it. But if you're coming from a GIS background, I sure it makes more sense.
0 Kudos
JenniferNery
Esri Regular Contributor
These are good responses and if I may add, please also visit our Concepts page, this includes GettingStarted document. http://resources.esri.com/help/9.3/arcgisserver/apis/silverlight/help/index.html

If you are using 9.3, you should visit: esriurl.com/slsdk, for 10, you should visit esriurl.com/slsdk2.
0 Kudos
dotMorten_esri
Esri Notable Contributor
Let me add to Jennifers comment by saying that the v2.0 of the API is fully compatible with ArcGIS 9.3.x, so you don't have to use the old v1.x of the API.
0 Kudos