Error creating Feature Map
I'm trying to create a feature map to use in a parcel report (basically, trying to replicate what is in the Charlotte demo).
When I try to Add Feature Map, if reports an error - "Could not find a feature with geometry in this layer."
The stack trace is
at Geocortex.Essentials.RestManager.Html.MapImageExtensions.FeatureMapImage(HtmlHelper helper, FeatureLayer featureLayer, FeatureMapDefinition featureMap, Int32 width, Int32 height, String altText)
at ASP.views_featuremaps_edit_ascx.__Render__control1(HtmlTextWriter __w, Control parameterContainer)
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
at System.Web.UI.Control.Render(HtmlTextWriter writer)
at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
at System.Web.Mvc.ViewPage.Render(HtmlTextWriter writer)
at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Any ideas what is going on? I've tried it on several layers from different services (cached, dynamic, point, polygon etc), with no luck. I couldn't find any meaningful documentation of what feature maps are, or what they are used for, so I may be missing something obvious.
Thanks,
Chris
-
Chris,
purely a stab in the dark, as I've not put a lot of reports together as yet, but have you 'turned off/hidden' the shape field in the mxd/msd as a viewable field for the layers you are reporting on? I've been having issues with this with workflows getting the geometry to zoom to the feature once selected from a workflow-derived search....
cheers
Gareth
0 -
Likewise Object ID is often required.
0 -
Thanks Gareth & Brad. Making the shape field visible in the msd fixed the problem.
Chris
0
Please sign in to leave a comment.
Comments
3 comments