Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have geometries returning from the ArcGIS Server as a featureset from a gp service to the silverlight client. In debug mode in VS 2010 I see the geometries coming back to the client and I am adding them to a graphics layer that I have defined in the xaml.

I figure I am doing something wrong but I can't figure out how to debug why the graphics aren't showing up in the map.

foreach (Graphic graphic in gpLayer.FeatureSet.Features) {

                    ESRI.ArcGIS.Client.Geometry.MapPoint point = graphic.Geometry as ESRI.ArcGIS.Client.Geometry.MapPoint;
                    point.SpatialReference = MyMap.SpatialReference;
                        graphic.Symbol = LayoutRoot.Resources["NewPointSymbol"] as ESRI.ArcGIS.Client.Symbols.Symbol;
                        graphic.Geometry = point;

                    //MapPoint geographicPoint = _mercator.ToGeographic(point) as MapPoint;

Could this be a scope issue or a projection issue?

share|improve this question

It was a projection issue. Zoomed to the full extent and saw the big green dots off the coast of Africa!

share|improve this answer
The process of asking the question is most helpful. Thanks for the forum.. SE! – Justin Mar 10 '12 at 14:06

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.