Select to view content in your preferred language

Display XY data from a DB

812
3
05-21-2013 09:48 AM
PaulHuppé
Deactivated User
Hi,

Is there a way to display points where the lat/long comes from an Oracle table?  My client has an MXD where they used an OLE DB connection to get point data stored in an Oracle table and display it on a map.  Now, we would like to display this same data in our silverlight map application.  How do we go about doing this?

Thanks,
Paul
0 Kudos
3 Replies
DominiqueBroux
Esri Frequent Contributor
Couldn't you just publish the mxd at server side?

If you are trying to do it at client side only, did you look at this 'Using PointDataSource' sample?
It demonstates how to create a graphics layer by binding to a source of items that reference location using X and Y values (but doesn't demonstrate how to use a OLE DB connection to populate the model though)
0 Kudos
deleted-user-ATjHIWsdQYmT
Deactivated User
You could create a Geoprocessing Service using the "Make x/y Event Layer" tool and add the results to a graphics layer.
0 Kudos
PaulHuppé
Deactivated User
Thanks for the suggestions, we will try them out.
Cheers,
Paul
0 Kudos