|
POST
|
Hi Alan, This should be resolved now. Can you please try publishing again and let me know your results? Thanks! Stephanie
... View more
06-02-2016
08:23 AM
|
1
|
0
|
1429
|
|
POST
|
Hi Alan, Thank you for reporting this. I'm working with the team to get this fixed. I will keep you posted on the status. Thanks again! Stephanie
... View more
06-02-2016
05:51 AM
|
0
|
0
|
1429
|
|
POST
|
Great!! You're welcome, Piotr! Have a wonderful weekend!
... View more
04-22-2016
09:59 AM
|
0
|
1
|
1405
|
|
POST
|
You're welcome! Glad to hear its working for you too! Keep us posted if it does continue to fail! Thanks!
... View more
04-22-2016
09:32 AM
|
0
|
0
|
1405
|
|
POST
|
Piotr Piech and Annina Rupe can you test the downloading again? We believe everything should be sorted out and working again. Thanks!
... View more
04-22-2016
09:22 AM
|
0
|
5
|
1405
|
|
POST
|
Piotr Piech and Annina Rupe, we are reproducing this and our team is looking into this further. Thanks again for reporting!
... View more
04-22-2016
07:27 AM
|
0
|
6
|
1173
|
|
POST
|
Hi Piotr, I sent you a private message about possibly looking into this a bit further with you since this issue should have been resolved yesterday. Thanks!
... View more
04-22-2016
06:22 AM
|
0
|
1
|
1175
|
|
POST
|
Hi Everyone! The issue should now be resolved. Can you please try to download the basemap again? Please reply back if you are still having issues. Thanks!
... View more
04-21-2016
10:53 AM
|
0
|
0
|
1175
|
|
POST
|
Esri Support has received reports of this as well. The appropriate team has been notified and is looking into the problem. Thanks!
... View more
04-21-2016
07:19 AM
|
0
|
1
|
1606
|
|
POST
|
Hi Anurodh and Praveen, This issue should now be resolved. Can you try publishing again? Thanks! Stephanie
... View more
11-18-2015
06:38 AM
|
0
|
0
|
1429
|
|
POST
|
Hi John and David! We had some issues with the http://tiledbasemaps.arcgis.com services. The export issue should now be resolved. Can you please try your workflows again?. The team will be posting a message to status.arcgis.com shortly. Thanks! Stephanie
... View more
09-14-2015
10:24 AM
|
1
|
3
|
1606
|
|
POST
|
Here is a script sample I've been working on to do this:
import urllib, urllib2, httplib
import json
import socket
# User Variables
username = ""
password = ""
# Monkey Patch httplib read
def patch_http_response_read(func):
def inner(*args):
try:
return func(*args)
except httplib.IncompleteRead, e:
return e.partial
return inner
httplib.HTTPResponse.read = patch_http_response_read(httplib.HTTPResponse.read)
# Get token
hostname = "Http://" + socket.getfqdn()
token_URL = 'https://www.arcgis.com/sharing/generateToken'
token_params = {'username':username,'password': password,'referer': hostname,'f':'json'}
token_request = urllib2.Request(token_URL, urllib.urlencode(token_params))
token_response = urllib2.urlopen(token_request)
token_string = token_response.read()
token_obj = json.loads(token_string)
token = token_obj['token']
# Build the json string
text = {"operationalLayers": [],
"baseMap": {"title": "Basemap",
"baseMapLayers": [{"visibility": "true",
"opacity": 1,
"isReference": "true",
"url": "http://services.arcgisonline.com/ArcGIS/rest/services/World_Shaded_Relief/MapServer",
"minScale":1155581,
"maxScale":144448},
{"visibility": "true",
"opacity": 1,
"url": "http://services.arcgisonline.com/ArcGIS/rest/services/Canvas/World_Light_Gray_Base/MapServer",
"minScale":144448,
"maxScale":200},
{"visiblity": "true",
"opacity": 1,
"url": "http://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer",
"minScale": 500000000,
"maxScale": 1155581}]},
"version": "1.7"}
query = {"token" : token,
"f" : "json",
"text" : text,
"title" : "Test Basemap",
"type" : "Web Map",
"tags" : "basemap, test"}
serviceURL = 'http://www.arcgis.com/sharing/rest/content/users/{}/addItem'.format(username)
createBasemap = urllib2.Request(serviceURL, urllib.urlencode(query))
createBasemap.add_header('Referer', hostname)
createBasemap_response = urllib2.urlopen(createBasemap)
print createBasemap_response.read()
The result will be a webmap that has a basemap that starts with the imagery basemap. As you zoom in it switches to the World Shaded Relief and then the light gray basemap. You can use your own services in this sample to create your own basemap. You can set your own scale levels as well. This is just an example of something I picked. I hope this helps get you started!
... View more
10-31-2013
10:24 AM
|
0
|
0
|
1755
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 12-18-2017 01:35 PM | |
| 1 | 12-18-2017 10:57 AM | |
| 1 | 11-18-2011 08:46 AM | |
| 1 | 12-27-2019 01:07 PM | |
| 1 | 09-14-2015 10:24 AM |
| Online Status |
Offline
|
| Date Last Visited |
09-17-2024
03:35 PM
|