Syntax Scientific

Editing Hosted Feature Services in ArcGIS for Desktop

hello my name is Brian Herron and I’m a member of the department of aviation GIS group and in this video I’m going to show you how to bring data from ArcGIS online into arcgis for desktop edit it and then synchronize it back to arcgis online so to begin with we’re working in desktop ten point three point one and i should say that in this version ESRI offers you multiple ways to get to your data in ArcGIS online and it can be a little bit confusing and I’ll show you each of those options as we go through this demonstration so to bring data into your desktop environment the first thing you have to do is log into ArcGIS online from arcmap so you go up to file go down to sign out and I’m gonna sign out here and Reese I nin just to show you the process from start to finish so we’ll go back here to file sign in we’re gonna sign into ArcGIS online and you just use your regular ArcGIS online credentials for your site all right and then you can go back to file and you can verify that you are in fact signed into your ArcGIS online account okay so talking about adding data you’ve got a couple of options from the file menu and you also have an option from the traditional add data menu and we’ll talk about each of those in turn so to begin with let’s say we want to add a vase map to our map here in desktop you come here and you go to add data add base map click the option and what it will do is it will open whatever base map services you have registered with ArcGIS online normally it will open and show you just those base maps that are available from the ArcGIS online out-of-the-box instance but here in the department of aviation what we have done is we’ve customized our base map options so our users only see those that are relevant to the airport so for this this exercise I will pick oh I tell you what I will pick our hosted 2015 aerial and web Mercator this is a cached map service it is stored in ArcGIS online and we use it primarily for web mapping and mobile application development but I’m going to bring it into our desktop you just click and add now as you can imagine everything we’re gonna do here is very much dependent on bandwidth if you have a slow internet connection if you have slow bandwidth your workspace the experience is not going to be as snappy as you’re going to see here okay so it’s brought in that cache map service and if you all understand what a cache map service is it’s just a bunch of tiles cached out at set scales and we scale all the way down to one to 100 and as i zoom in here you can see as the cache is build the resolution is actually very good okay so we’ve added a base map the next thing we’re going to add is our electric meter layer that exists as a hosted feature service in ArcGIS online so as I said there’s a couple of ways to get to the data from the file interface here in arcmap desktop the first thing we’ll look at is the add data option so you can come here and I’ll remember we were here only we use this interface to add a base map so now we’re going to add data from ArcGIS online so I’m going to click here and what it does is it essentially it opens your home page that you have configured in ArcGIS online and this is this is designed to show you your data data that you have created and have hosted an ArcGIS online and it’s data that you own you are the owner of that those data hosted feature services so I’ll just click my data that’s what I want to search for and then I’m going to search here for electric meters okay and it’s going to show me the hosted feature services that I created that have electric meters in the description or are tagged as electric meters so I’m just going to add that data to the map and it’s added not much has popped up there represented by these reddish squares and what I’ll do is with the base map is I will come in here and I will change the transparency the first thing I need to do is add the toolbar for effects so I can change the transparency so I’m sorry and we’ll set the transparency at about 50% so so the icons for the meters stand out okay the other ways to add the same data is remember we started at file went down to add data and we used either the add based map or add data from ArcGIS online the other thing that you can do is you can come to this interface that says just ArcGIS online and it does essentially the same thing where we’re not really sure why ESRI gives you all of these connection options into your data in ArcGIS online I really personally think it’s a reflection of just you know they’re they’re taking and what is a legacy arcgis desktop interface and trying to build this functionality and and they put it a few different places to see how it would work best we’re not going to do a search here but well let’s just just to show you we can do the same thing here we’re gonna search my data my maps and data okay and we’re going to search for electric meters okay and we’re seeing the same data pop up as an option here I won’t add it okay close that interface and we’ll go to to the last one I wanted to show you and most of us who work in desktop are familiar with this interface this is the add data interface click here and in your add data options one of the one of the standard options now is my hosted features or my hosted services so this is a connection to your ArcGIS online instance so you can click here and you can scroll across and you can see all of the hosted feature services that are available to you and I won’t bother to search in here for the electric meters just you know be assured they’re in here fact let’s have a look here electric meters right there electric meters GPC all right so that’s the basically it’s the same layer that I added from the other interface so we’ll just we’ll just go ahead and take one of these two layers out all right so we’ve got the electric meters added into the map but really we’re just looking at them it’s pulling the data dynamically from ArcGIS online and displaying it in the arcgis for desktop interface what I want to do is I want to bring this data down to my desktop edit it I want to add a few meters and then synchronize those added meters which is an edit change to the database synchronize that change to the database back up to the hosted feature service in ArcGIS online so to do that we’re going to right click on the layer name go down to edit features and I’m going to create a local copy for editing now when I click that button what what’s happening is ArcGIS desktop is pulling that data out of ArcGIS online and creating a temporary file geodatabase on your desktop to store that data but there is a synchronization link that exists now between that local file geodatabase and the hosted feature service in ArcGIS online now once I’ve done that I can begin an edit session start editing okay and it’s gonna tell me spatial reference does not match the data frame we won’t worry about that so this but this is a good point to bring up remember the day the basemap I brought in was in web Mercator all of our hosted feature services are in Georgia state plane so there is a coordinate system Mitch mismatch here and it’s giving you that warning saying hey listen there’s a you know there’s a mismatch between you know the base map and the hosted feature service it’s not important for this exercise but it is something you might want to keep in mind if you’re gonna edit data you really want all of your data layers to be in the same coordinate system but I’m just gonna continue okay so we’re going to go ahead and we’re going to create features I’m gonna pick up electric meters point and I’m just going to I tell you what I’m just gonna drop one two three electric meters okay not going to worry about filling out any of the attributes I’m just gonna drop the points okay well we’ve done that we’re gonna save our edits and we are going to stop editing okay so I have added those three new electric meters to the database the temporary database that exists on my local desktop and to show you what’s going on what I’ll do now is I’ll pull in that same data in ArcGIS online okay so I’m done adding layers here I configured this earlier so we’re seeing the same thing here let me set the transparency for the aerial image okay we’ll set that to about 50% so things pop out just just like we did in the desktop but we’re seeing the same we’re seeing the same data layer the Georgia power meters and you notice I in desktop I added three meters in this area but they’re not showing up in ArcGIS online so I am going to minimize this and we’re back looking at desktop I have closed out my edit session after adding these three electric meters so now what I’m going to do is I’m going to synchronize the change the addition of these three meters with the hosted feature service in ArcGIS online so to do that I go back to the layer in the table of contents I go back to edit features and I’m going to synchronize local edits with server all right if I click that button what’s happening now is desktop is pushing that change to the geo database back up to the hosted feature service in ArcGIS online and it’s adding those three new meters so to check this let’s go back to the web map so we’re back to the web map we’re looking at the electric meter so here’s an electric meter here’s an electric meter but notice there’s nothing here but the change will show up once i refresh the map and to refresh a map in ArcGIS online you don’t actually have to hit refresh you just have to pan or zoom a little bit and it’ll automatically refresh the map and bring in any data changes so I’m just going to do that i’m just i’m just gonna shift the map a little bit so it’ll refresh and boom notice those three have now been added to the hosted feature service and appear in my web map that just shows you how dynamic this environment is any change you make in one environment is automatically reflected in another so we made a change in desktop synchronize that change with ArcGIS online and those changes were immediately visible in the web map so it works the same way with deletion so we created these three new electric meters we synchronize the change as soon as you do that synchronization what happens is you break that synchronization relationship between the local geo database the temporary geo database on your desktop and the hosted feature service in ArcGIS online so if I wanted to go in and delete these what I have to do now is I have to create a new local copy for editing and that’s what I’m doing here alright so I’ve created a new local copy for editing I am going to start editing and again it’s gonna throw up that little error that says my spatial references don’t match I’ll say not a problem continue alright so I grab my selection button for edit box those out hit delete they’re gone I save my edits I stop editing I go back I right-click I go to edit features and I’m going to sync once again synchronize local edits with server ok I’ve synchronized those local edits now let’s pull up the web map so and in the web map they still show up but once again if i refresh the map what’ll happen is they’ll they’ll they’ll be removed from the hosted feature service or actually should say they’re already removed from the hosted feature service I just have to refresh the map for that change to show and let’s do that so I’m just gonna just gonna move it around a little bit okay and it’s gonna make a liar out of me oh there it is okay I had to zoom out actually okay so zoomed out zoom back in they’ll notice those three are now gone they’ve been removed on synchronization they were removed from the hosted feature service okay so that was just a short demonstration of how you can edit your hosted feature service data in arcgis for desktop it’s our recommendation if you have a lot of edits that you need to do against a hosted feature service while you can do those edits through the web interface it can be pretty tedious because you can only edit one feature or one element at a time our best practice is to do what I just did you bring that data down to the desktop and then you have the full suite of desktop editing tools available to you okay you have all of these tools including the advanced editing tools to do what you need to against that data and then you just synchronize those changes back up with the hosted feature service in ArcGIS online it’s just a it’s a much more efficient way to do bulk editing all right well as always if you have any questions feel free to get ahold of us here at the GIS group at the Department of Aviation we’ll be more than happy to answer your questions or walk you through or talk you through any questions or issues you might have thank you

Share on

There are no comments

Leave a Reply

Your email address will not be published. Required fields are marked *