Select to view content in your preferred language

Topographic vector tile basemap not printing using geoprocessing print service

279
0
03-18-2024 12:48 PM
mohammed_raufshaikh
Emerging Contributor

Hello All, I have published a geoprocessing print service using ArcGIS pro on our on premise GIS server. The print service is being called from one of the web application using javascript api as below

let inputParameters: {
Web_Map_as_JSON: string;
Format: string;
Layout_Template: string;
Output_File: string;
} = { Web_Map_as_JSON: jsonstring, Layout_Template: layout, Format: "PDF", Output_File: "TOPO" };

geoProcessor.execute(printURL, inputParameters)

printURL is the url of the print service and jsonstring is generated using the format mentioned here https://enterprise.arcgis.com/en/server/latest/publish-services/windows/exportwebmap-specification.h... .

I am successfully able to generate pdf when my basemap is as below in the 

 "baseMap": {
        "title": "Topo_Map",
        "baseMapLayers": [
            {
            }
        ]
    }
 
but , the print service generates a blank pdf when I try to use the Vector tile Topographic basemap https://www.arcgis.com/home/item.html?id=7378ae8b471940cb9f9d114b67cd09b8 and my basemap configuration as per the export webmapspecification looks like below
 
"baseMapLayers": [ { "id": "VectorTile_1933", "type": "VectorTileLayer", "layerType": "VectorTileLayer", "title": "World_Basemap", "styleUrl": "https://basemaps.arcgis.com/b2/arcgis/rest/services/World_Basemap/VectorTileServer/resources/styles/...", "visibility": true, "opacity": 1 } ]
 
any help on this is much appreciated.
 
Thanks,
Rauf
0 Kudos
0 Replies