Select to view content in your preferred language

Bookmark export?

4841
5
12-07-2011 05:12 AM
kaciblaney
New Contributor
I created a map and was able to access it from my iPhone through the ArcGIS app.

While I was in the field I added a bunch of bookmarks.

Is there a way I can export those bookmarks to show up in GIS, or even a spreadsheet?

Thanks.
Tags (2)
0 Kudos
5 Replies
MikeMinami
Esri Notable Contributor
There is no user interface to do this. There's probably a way to write code using the JavaScript API, however, as I'm not a JavaScript programmer, here's how I got the bookmark info.


  1. First, temporarily share your web map item with everyone.

  2. Go to the item details page of the web map, like this one.
    http://www.arcgis.com/home/item.html?id=925f2a7293a54506a7c9c810b44656dd
    Notice that the URL contains the ID of the web map

  3. Replace your ID in this URL: 
    http://www.arcgis.com/sharing/content/items/925f2a7293a54506a7c9c810b44656dd/data?f=pjson

  4. Use the web browser to search for 'bookmark'. You should see a section like this:


  "bookmarks": [
    {
      "name": "California",
      "extent": {
        "xmin": -1.4225404365224404E7,
        "ymin": 3530121.6153386203,
        "xmax": -1.2038693860042663E7,
        "ymax": 5496693.479059111,
        "spatialReference": {"wkid": 102100}
      }
    },
    {
      "name": "Western US",
      "extent": {
        "xmin": -1.410065913506303E7,
        "ymin": 2573741.517434749,
        "xmax": -9727238.124699548,
        "ymax": 6506885.244875732,
        "spatialReference": {"wkid": 102100}
      }
    }
  ]


Hope this helps,

Mike
0 Kudos
LucindaDykes
Deactivated User
Okay, I understand from above instructions how to get the bookmark code ... but how do I add this code to a new ArcGIS online map so that I don't have to manually re-create all the bookmarks??

Lucinda Dykes
Willamalane Park and Recreation District
0 Kudos
JackZHANG
Frequent Contributor
Hi Mike,
is this still the only option to export out the bookmarks?

regards,
Jack
0 Kudos
C_EHoward
Frequent Contributor

I am searching for a way to do something very similar- grab extents of bookmarks created somewhere (initially thought in AGOnline, but I can use MXD too)

I too would like to be able to export/save the extents of the bookmarks so I can use them in iframes. I can go to 'share' at each bookmark and get the code I need, but was hoping that I did not have to do that dozens of times. The whole idea is for me to provide extents and iframes to our web guy to create an overview map and then several zoomed in maps (based on my bookmarks) to several different pages. Having everything in one location (extent links, URLs) and using one web map would really help as right now, the web person creates a separate Google map for each map type.

0 Kudos
NeillJobe
Deactivated User

This does not allow you to export the bookmarks but if you have bookmarks already created in a webmap it will let you to copy them to other webmaps or multiple webmaps at one time. It will also let you reorder the bookmarks if you need to do this as well. You can get the tool here https://marketplace.arcgis.com/listing.html?id=c34019b0623041608df4d06970a7a96a Admin Tools for ArcGIS Online.

Let me know if this helps.

Neill

0 Kudos