Pass Geometry to Feature Service
I am able to draw a shape and pass that into a Feature Service. But, I am having trouble adding features to a Feature Service from a Query service. Ideally, the user selects an attribute from a ListBox. That value gets passed into a Query Task and I get the returned Geometry. I want this geometry to be added to the feature service and also displayed as a graphic on the screen.
Does anyone have a workflow sample they are willing to share?
Also, I am getting a lot of errors that look like this:
<Msg time='2012-07-30T12:37:50' type='ERROR' code='100005' target='N_Editing.MapServer' methodName='GraphicFeatureServer.ApplyEdits' machine='ILXXXVM' user='?' process='4040' thread='5352' elapsed='1.32262'>Method failed.HRESULT = 0x80041538 : This is a FACILITY_ITF error that is specific to the interface that returned this error. See the documentation of the interface that returned this error for information about this HRESULT.</Msg>
thanks in advance!!
-
I answered my own question regarding passing a FS result from a query task to another FS. Query Task > Add Features. However, I wasn't able to see any results earlier because I am unable to pass any shape over ~ 2.5 million acres. Seems obscene to have to deal with geometries this large, but it is for a national project and a user requirement. Anything under ~ 2.5 million acres works and over 2.5 million acres does not show up in the output feature service and that is when I get the error:
<Msg time='2012-07-31T08:32:47' type='ERROR' code='100005' target='xxxx.MapServer' methodName='GraphicFeatureServer.ApplyEdits' machine='ILxxxx' user='?' process='5316' thread='5360' elapsed='0.17065'>Method failed.HRESULT = 0x80041538 : This is a FACILITY_ITF error that is specific to the interface that returned this error. See the documentation of the interface that returned this error for information about this HRESULT.</Msg>
I don't believe it's a record limit, since we are only talking one or two records from the Query Task to pass. Any ideas?
0
Please sign in to leave a comment.
Comments
1 comment