I've been trying to achieve what I was able to do in ArcGIS Online with ArcGIS Server as well.
I red this illuminating discussion on how to allow visualizing tile layers in ArcGIS Online for those scales where no cache was created through resampling.
It was as simple as entering the administrator REST directory by inserting "/admin/" in the right place (.../rest/admin/services/...), entering the edit page and adding {"resampling":true} to the service definition properties.
However, in the ArcGIS Server administrator directory, the edit page looks very different than it is in AGOL, and I am unsure on where should I place the "resampling":true string...
Is it even possible or am I wasting my time? Basically, I'd like to be able to zoom beyond the scales where I built the cache and being able to still visualize the tile service, although blurried because resampled. At least it would be better than nothing as it is now. Generating the cache is not a workaround as I'm very interested in the possibility of resampling on-the-fly possibly.
Finally, I have already set the tiling scheme to present the LODs from 0 to 17, and the cache is only generated until 14 (included). Below is the edit page of my service:
{
"serviceName": "Italia_web_POP",
"type": "MapServer",
"description": "",
"capabilities": "Map,Query,Data",
"provider": "ArcObjects",
"clusterName": "default",
"minInstancesPerNode": 1,
"maxInstancesPerNode": 1,
"instancesPerContainer": 1,
"maxWaitTime": 60,
"maxStartupTime": 300,
"maxIdleTime": 1800,
"maxUsageTime": 600,
"loadBalancing": "ROUND_ROBIN",
"isolationLevel": "HIGH",
"configuredState": "STARTED",
"recycleInterval": 24,
"recycleStartTime": "00:00",
"keepAliveInterval": 1800,
"private": false,
"isDefault": false,
"maxUploadFileSize": 0,
"allowedUploadFileTypes": "",
"properties": {
"maxImageHeight": "4096",
"virtualCacheDir": "/rest/directories/arcgiscache",
"maxSampleSize": "100000",
"exportTilesAllowed": "false",
"textAntialiasingMode": "Force",
"maxImageWidth": "4096",
"enableDynamicLayers": "false",
"dynamicDataWorkspaces": "[]",
"supportedImageReturnTypes": "URL",
"disableIdentifyRelates": "false",
"isCached": "true",
"maxScale": "36111.909642999999",
"maxBufferCount": "100",
"schemaLockingEnabled": "true",
"maxRecordCount": "1000",
"filePath": "C:\\arcgisserver\\directories\\arcgissystem\\arcgisinput\\STUDIOSIT\\Italia_web_POP.MapServer\\extracted\\v101\\Italia_web_POP.msd",
"cacheOnDemand": "false",
"useLocalCacheDir": "true",
"cacheExtent": "full",
"outputDir": "C:\\arcgisserver\\directories\\arcgisoutput",
"virtualOutputDir": "/rest/directories/arcgisoutput",
"minScale": "18489297.737236001",
"maxDomainCodeCount": "25000",
"maxExportTilesCount": "100000",
"tilingScheme": "1",
"ignoreCache": "false",
"antialiasingMode": "None",
"clientCachingAllowed": "true",
"cacheDir": "C:\\arcgisserver\\directories\\arcgiscache"
},
"extensions": [
{
"typeName": "NAServer",
"capabilities": "null",
"enabled": "false",
"maxUploadFileSize": 0,
"allowedUploadFileTypes": "",
"properties": {
"oDCostMatrix_MaxDestinationsToFind": "",
"serviceArea_MaxBreakValue_TimeUnits": "esriTimeUnitsMinutes",
"vRP_MaxFeaturesInPolygonBarriers": "",
"vRP_MaxRoutes": "",
"serviceArea_MaxBarriers": "",
"route_MaxFeaturesInLineBarriers": "",
"vRP_ForceHierarchyBeyondDistanceUnits": "esriMeters",
"route_ForceHierarchyBeyondDistanceUnits": "esriMeters",
"locationAllocation_MaxDemandPoints": "",
"closestFacility_MaxFeaturesInPolygonBarriers": "",
"closestFacility_MaxFacilities": "",
"oDCostMatrix_MaxDestinations": "",
"serviceArea_MaxBreakValue_Length": "",
"serviceArea_ForceHierarchyBeyondTimeUnits": "esriTimeUnitsMinutes",
"serviceArea_ForceHierarchyBeyondDistanceUnits": "esriMeters",
"vRP_MaxFeaturesInLineBarriers": "",
"closestFacility_ForceHierarchyBeyondDistanceUnits": "esriMeters",
"route_AllowTimeWindows": "true",
"serviceArea_MaxFacilities": "",
"locationAllocation_MaxFeaturesInPolygonBarriers": "",
"oDCostMatrix_MaxFeaturesInLineBarriers": "",
"route_MaxFeaturesInPolygonBarriers": "",
"locationAllocation_ForceHierarchyBeyondDistance": "",
"saveLayerOnServerWhenError": "false",
"route_ForceHierarchyBeyondDistance": "",
"locationAllocation_ForceHierarchyBeyondDistanceUnits": "esriMeters",
"serviceArea_ForceHierarchyBeyondTime": "",
"route_MaxStops": "",
"serviceArea_MaxFeaturesInLineBarriers": "",
"closestFacility_MaxIncidents": "",
"oDCostMatrix_ForceHierarchyBeyondDistanceUnits": "esriMeters",
"allowSaveLayerOnServer": "true",
"route_MaxBarriers": "",
"vRP_MaxBarriers": "",
"oDCostMatrix_ForceHierarchyBeyondDistance": "",
"serviceArea_MaxBreakValue_LengthUnits": "esriMeters",
"serviceArea_ForceHierarchyBeyondDistance": "",
"saveLayerOnServerWhenDebugging": "false",
"closestFacility_MaxFeaturesInLineBarriers": "",
"oDCostMatrix_MaxFeaturesInPolygonBarriers": "",
"oDCostMatrix_MaxBarriers": "",
"closestFacility_MaxFacilitiesToFind": "",
"closestFacility_MaxBarriers": "",
"serviceArea_MaxBreakValue_Other": "",
"defaultOutputGeometryPrecisionUnits": "esriMeters",
"vRP_ForceHierarchyBeyondDistance": "",
"oDCostMatrix_MaxOrigins": "",
"locationAllocation_MaxBarriers": "",
"locationAllocation_MaxFeaturesInLineBarriers": "",
"closestFacility_ForceHierarchyBeyondDistance": "",
"nALayerDir": "C:\\arcgisserver\\directories\\arcgisoutput",
"vRP_MaxOrders": "",
"serviceArea_ForceHierarchyBeyondOther": "",
"defaultOutputGeometryPrecision": "",
"serviceArea_MaxFeaturesInPolygonBarriers": "",
"serviceArea_MaxBreakValue_Time": "",
"locationAllocation_MaxFacilities": ""
}
},
{
"typeName": "MobileServer",
"capabilities": "",
"enabled": "false",
"maxUploadFileSize": 0,
"allowedUploadFileTypes": "",
"properties": {}
},
{
"typeName": "KmlServer",
"capabilities": "SingleImage,SeparateImages,Vectors",
"enabled": "false",
"maxUploadFileSize": 0,
"allowedUploadFileTypes": "",
"properties": {
"minRefreshPeriod": "30",
"compatibilityMode": "GoogleEarth",
"imageSize": "1024",
"dpi": "96",
"endPointURL": "",
"featureLimit": "1000000",
"useDefaultSnippets": "false"
}
},
{
"typeName": "WFSServer",
"capabilities": "null",
"enabled": "false",
"maxUploadFileSize": 0,
"allowedUploadFileTypes": "",
"properties": {
"phone": "",
"appSchemaURI": "http://www.geomaster.it:6080/arcgis/services/STUDIOSIT/Italia_web_POP/MapServer/WFSServer",
"providerSite": "",
"administrativeArea": "",
"electronicMailAddress": "",
"pathToStoredQueryFile": "",
"enableTransactions": "false",
"city": "",
"hourOfService": "",
"title": "",
"postalCode": "",
"customGetCapabilities": "false",
"name": "Italia_web_POP",
"deliveryPoint": "",
"role": "",
"axisOrderWFS10": "longlat",
"axisOrderWFS11": "latlong",
"serviceTypeVersion": "",
"accessConstraints": "",
"positionName": "",
"abstract": "",
"onlineResource": "http://www.geomaster.it:6080/arcgis/services/STUDIOSIT/Italia_web_POP/MapServer/WFSServer",
"facsimile": "",
"keyword": "",
"defMaxFeaturesValue": "",
"individualName": "",
"fees": "",
"serviceType": "",
"enableDefMaxFeatures": "false",
"country": "",
"providerName": "",
"transactionsWithoutLocks": "false",
"pathToCustomGetCapabilitiesFiles": "",
"appSchemaPrefix": "STUDIOSIT_Italia_web_POP",
"contactInstructions": ""
}
},
{
"typeName": "SchematicsServer",
"capabilities": "Query",
"enabled": "false",
"maxUploadFileSize": 0,
"allowedUploadFileTypes": "",
"properties": {}
},
{
"typeName": "FeatureServer",
"capabilities": "Create,Query,Update,Delete,Uploads,Editing",
"enabled": "false",
"maxUploadFileSize": 0,
"allowedUploadFileTypes": "",
"properties": {
"creatorPresent": "false",
"dataInGdb": "false",
"xssPreventionEnabled": "true",
"allowGeometryUpdates": "true",
"syncVersionCreationRule": "versionPerDownloadedMap",
"allowOthersToQuery": "true",
"syncEnabled": "false",
"editorTrackingTimeZoneID": "UTC",
"enableZDefaults": "false",
"realm": "",
"allowOthersToDelete": "false",
"allowTrueCurvesUpdates": "false",
"datasetInspected": "true",
"editorTrackingRespectsDayLightSavingTime": "false",
"zDefaultValue": "0",
"enableOwnershipBasedAccessControl": "false",
"editorTrackingTimeInUTC": "true",
"allowOthersToUpdate": "false"
}
},
{
"typeName": "WCSServer",
"capabilities": "null",
"enabled": "false",
"maxUploadFileSize": 0,
"allowedUploadFileTypes": "",
"properties": {
"phone": "",
"maxImageHeight": "",
"maxImageWidth": "",
"city": "",
"providerWebsite": "",
"title": "STUDIOSIT_Italia_web_POP",
"customGetCapabilities": "false",
"name": "Italia_web_POP",
"province": "",
"role": "",
"accessConstraints": "Nessuno",
"abstract": "",
"onlineResource": "http://www.geomaster.it:6080/arcgis/services/STUDIOSIT/Italia_web_POP/MapServer/WCSServer",
"keywords": "",
"fax": "",
"zipcode": "",
"fees": "",
"country": "",
"responsiblePerson": "",
"providerName": "",
"responsiblePosition": "",
"email": "",
"address": "",
"pathToCustomGetCapabilitiesFiles": "",
"serviceHour": "",
"contactInstructions": ""
}
},
{
"typeName": "WMSServer",
"capabilities": "GetCapabilities,GetMap,GetFeatureInfo,GetStyles,GetLegendGraphic,GetSchemaExtension",
"enabled": "false",
"maxUploadFileSize": 0,
"allowedUploadFileTypes": "",
"properties": {
"reaspect": "false",
"inheritLayerNames": "false",
"contactPosition": "",
"contactVoiceTelephone": "",
"city": "",
"contactFacsimileTelephone": "",
"title": "STUDIOSIT_Italia_web_POP",
"contactOrganization": "",
"customGetCapabilities": "false",
"name": "WMS",
"stateOrProvince": "",
"accessConstraints": "",
"abstract": "",
"onlineResource": "http://www.geomaster.it:6080/arcgis/services/STUDIOSIT/Italia_web_POP/MapServer/WMSServer",
"keyword": "",
"postCode": "",
"fees": "",
"addressType": "",
"pathToCustomSLDFile": "",
"country": "",
"address": "",
"contactElectronicMailAddress": "",
"pathToCustomGetCapabilitiesFiles": "",
"contactPerson": "",
"listSupportedCRS": ""
}
}
],
"datasets": []
}