- URL:
- https://<root>/<serviceName>/MapServer/exts/SchematicServer/diagrams/<diagID>/map/export
- Methods:
POST
- Version Introduced:
- 10.1
Description
The export
operation exports a map image that represents a schematic diagram. It is performed on a Schematic Diagram Map resource. The result of this operation is a map image that represents the <diagId> diagram specified in the URL.
You can provide arguments to the export
operation as query parameters. For a schematic diagram map, all of the export
operation parameters are optional; moreover, the layers
and layers
parameters will always be ignored. The parameter details are provided in the parameters table below.
Request parameters
Parameter | Details |
---|---|
| The response format. The default response format is Values: |
| The extent (bounding box) of the exported image. Unless the Syntax: Example: The |
| The size (width * height) of the exported image in pixels. If the size is not specified, an image with a default size of 400 * 400 will be exported. Syntax: Example: |
| The device resolution of the exported image (dots per inch). If the dpi is not specified, an image with a default DPI of 96 will be exported. Example: |
| The spatial reference of the exported image. The spatial reference can be specified as either a well-known ID or as a spatial reference json object. If the |
| The spatial reference of the The spatial reference can be specified as either a well-known ID or as a spatial reference json object. If the |
| The format of the exported image. The default format is Values: |
| Parameter kept for compatibility reason with the standard Export Map operation, but this parameter is always ignored when the export is performed on a schematic diagram map. |
| Parameter kept for compatibility reason with the standard Export Map operation, but this parameter is always ignored when the export is performed on a schematic diagram map. |
| If Values: true | false |
| The time instant or the time extent of the exported map image. Time instant Syntax: Example: Time extent Syntax: Example: A null value specified for start time or end time will represent infinity for start or end time respectively. |
| The time options per layer. Users can indicate whether or not the layer should use the time extent specified by the Syntax:
Example:
|
| Use The order of Syntax:
Example:
|
Example usage
The exported schematic diagram map related to the schematic diagram which id is '2-10' under the S1_Schematics public sample Schematics service:
https://myserver.esri.com/arcgis/rest/services/S1_Schematics/MapServer/exts/SchematicsServer/diagrams/2-10/map/export?size=&dpi=&imageSR=&bboxSR=&format=&transparent=&time=&layerTimeOptions=&dynamicLayers=&bbox=&layerDefs=&layers=&f=html
JSON Response syntax
{"href" : "<href>","width" : <width>,"height" : <height>,"extent" : {<envelope>},"scale" : <scale>}
JSON Response example
{
"href": "https://TAHITI:6080/arcgis/server/arcgisoutput/_ags_mape0a1ae3e0f794071aafec2720bf6a1f8.png",
"width": 400,
"height": 400,
"extent": {
"xmin": -37.479462999999996,
"ymin": -11.419442999999998,
"xmax": -37.012996999999999,
"ymax": -10.952976999999999,
"spatialReference": { "wkid": 4326, "latestWkid": 4326}
},
"scale": 490096.28531108255
}