BUG

ArcMap Server does not return the envelope of a GET_FEATURES request

Last Published: April 25, 2020

Description

When making a GET_FEATURES request on an ArcMap Service and requesting the envelope (envelope = "true") the envelope is not returned for the target layer.

Cause

ArcMap Server is looking for the #SHAPE# field in the list of subfields of target layer in order to return the envelope.

Workaround

Include the #SHAPE# field in the subfields of target layer in the GET_FEATURES request.

Example:

Code:

<BUFFER distance="0.1" bufferunits="miles">
<TARGETLAYER id="1" />
<SPATIALQUERY subfields="#SHAPE# NAME" />
</BUFFER>

    Article ID:000006842

    Software:
    • Legacy Products

    Receive notifications and find solutions for new or common issues

    Get summarized answers and video solutions from our new AI chatbot.

    Download the Esri Support App

    Discover more on this topic

    Get help from ArcGIS experts

    Contact technical support

    Download the Esri Support App

    Go to download options