Select to view content in your preferred language

looking for tips on translating geometries

604
2
08-20-2012 05:16 PM
GaryBushek
Deactivated User
I have an old program written in ArcObjects that does analysis on selected street polylineN geometries.  The front end was rewritten in silverlight and now the selected geometries are client-side graphic polyline geometries which don't line up at all with their arcObject counterparts when they are both serialized and read as XML.  I am storing the geometries in an Oracle database to be read by the ArcObjects analysis piece. Is there an easy way to translate these silverlight api graphic geometries to arcobject PolylineN geometries.  I've been thinking about this for weeks in anticpation of this piece of the project and figured it couldn't hurt to see if there are good ideas out there.  It would probably be relatively simple to loop through a few serialized geometries but we're storing upwards of 1000-2000 geomtries and I might even have to project them as well so an efficient routine is what i'm going for.

Thanks, Gary
0 Kudos
2 Replies
DominiqueBroux
Esri Frequent Contributor
This Rex' Blog post about 'Sending geoemetry between Silverlight and Server' might help.
0 Kudos
GaryBushek
Deactivated User
you had me excited for a minute.  While this is an interesting blog I don't think it really addresses my issue.  I've already serialized the geometries and stored them in the database via a web service.  Now from the ArcObjects based application I can get the serialized graphic geometries from the DB but I just need an easy, elegant method of translating them to ArcObject geometries. I thought maybe that blog would suggest how because they mention using the geometries server side for custom processing but no translation method is discussed.

Thanks, Gary
0 Kudos