benkane11

Error on export image with dynamic layers unique values and picture marker symbols

Discussion created by benkane11 on Mar 27, 2014
I am trying to export an image from a map service with dynamic layers using uniqueValue renderer and symbology that includes picture marker symbols.

I am pulling the render and symbology configuration directly from the mapserver/layer json rest endpoint but it is not working.  Has anybody had success with uniqueValues and dynamic layers?

Thanks

[HTML]Server Error
404 - File or directory not found.
The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.[/HTML]

This is the request that results in the error:
http://<server>/arcgis/rest/services/<folder>/<service>/MapServer/export?bbox=-13620826.4724736,4549279.37754149,-13611417.9067742,4555394.33980429&bboxSR=102100&layers=&layerDefs=&size=1554,1010&imageSR=102100&format=png&transparent=false&dpi=96&dynamicLayers=[
    {
        "id": 0,
        "source": {
            "type": "mapLayer",
            "mapLayerId": 0
        },
        "drawingInfo": {
            "transparency": 0,
            "scaleSymbols": true,
            "showLabels": false,
            "renderer": {
                "type": "uniqueValue",
                "field1": "Status",
                "field2": null,
                "field3": null,
                "fieldDelimiter": ", ",
                "defaultSymbol": null,
                "defaultLabel": null,
                "uniqueValueInfos": [
                    {
                        "symbol": {
                            "type": "esriPMS",
                            "url": "95e1e3e8d70f65a98b99c3e4d7d3113d",
                            "imageData": "iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IB2cksfwAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAd1JREFUKJGdkk9oE1EQxr+3773dbpKt2d1jEW320sOKqEkLvRQvoh560qO0eBMP/kFQS6OgIbYoFk/2UiheFPQiBdGLx2DVSoliKdi02EMPpUld/6TN293nYWPS1IDgd5yZ38x8zDD8p1i74MKLh7YW/9***8a+9hw/v/pP8Eshe4rFNy4p+utDirquc98IVj6eWwi37EepTO5uW7D05maemYuXmfFEa2RVUBqDG4r+8VLh1tFU/42TLWBpNnuM2x8uhjVbk/4REDbXbC0t+J5L1K6XJ0rvrmdTmTu3G6CifbtCYzM6jQFicxgsgQiWFkT5NFTrKUDKoLp7FkATJNxz/wzgyWmIyjBoQkPgHQCvQwCgdKztX3o74jq9+U+RRxIYO41z8zGqKyPo6HrVgACAsO8ggAOgDkpWAZCI0hpE+Qz0fQ8gNgfBjF8gbD4qE7aUylaxsWq4bc4D2AtoEBtD4NYzgJTBzem6ZwrC5hBU7UUnfX+5eY5QHfW9oQEptE5uzbSsx5MRTKgTBrXkvZZzdKfHikuzo1e5sToOstaJXVLUdV9UDk46mfzUXw/g9OUml99fKwTbF3KK6h0m1DdlQH9KEf8c1PZMOL355zubtbxcd3qsCGBw98R2+g1cvKNUtodBjQAAAABJRU5ErkJggg==",
                            "contentType": "image/png",
                            "width": 10,
                            "height": 10,
                            "angle": 0,
                            "xoffset": 0,
                            "yoffset": 0
                        },
                        "value": "Abandoned",
                        "label": "Abandoned",
                        "description": ""
                    },
                    {
                        "symbol": {
                            "type": "esriPMS",
                            "url": "ec42c40e08ca4841ea8637f008fd5a1e",
                            "imageData": "iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IB2cksfwAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAbhJREFUKJGdks9Lk3Ecx1/Pnq3vZvulz1NOYykozGoHkyCcYngx1iEC7WyO/QEagRc7FYEU1EURMQ9d69K5m/njOoaWw2CgoAe3Z0x09n3cjw5Pbk6FoM/xDa/3+/Pm87Hzn2O/TPxyH83/UHTl1uT202/s/BNcmmHEHWSioZm7wiNdJ08oJSb4WdgVnyJx+fZS8PuseKN3y+e+dsSpJkB1BwibHXJ66QODA+M8qgOX58XQ9Xty3MwjTgrgaKg5V8qQT6PcjBJd84uXvc/kqyrouiZfuAO4CEA2Bd6gBVfKkFkHPQyKDa62yhhQA6/4CJ8maCHIboLnBuTToN+xIACnTvvqAuFInHU7gE3Fc7a4FoKtz9AWBUWt6Q4noNIBf8FSkRzgtkpBZgM6h8HYAl8b2F0WaB5RUWwkq6vKLAkgSAX2N0C/ZSVpXfWdCxlSvaOkq6B5yFTuFw+Kx3j12/XraSEwUqA6KZtG0zswaufoi5FcXmia9Hca04qKl3Mj/BT3E8xFxoyPFx6gP27MrSyy+jvDa9FIj+qgsVTiyMzzQx60vI+M7X09a1b3cn0xksDj84mwd0H5A8PJhYQYZ+cGAAAAAElFTkSuQmCC",
                            "contentType": "image/png",
                            "width": 10,
                            "height": 10,
                            "angle": 0,
                            "xoffset": 0,
                            "yoffset": 0
                        },
                        "value": "Active",
                        "label": "Active",
                        "description": ""
                    }
                ]
            }
        }
    }
]&f=image

Outcomes