POST
|
Sorry I misunderstood the original question. And you gotta love those types of mistakes .
... View more
11-21-2016
10:26 AM
|
0
|
0
|
360
|
POST
|
One thing I didn't understand was that when you create a web map and add the Bing basemap to the map, the other default Esri basemaps will still show up in the basemap gallery widget of the custom application. To get the Bing basemap into your map, the below workflow worked for me: Open feature layer in Map Viewer Click "Add" drop down > Click "Add Layer from Web" > Click drop down > Select "A Bing Basemap" Select your desired Bing basemap > Click "ADD LAYER" Save the web map Share the web map using a custom application template that has the basemap gallery widget enabled The application will open up with the chosen Bing maps basemap as the default, but opening the basemap gallery will show all of the other Esri default basemaps as well. The image below is a snippet from one of my custom applications. The hybrid Bing map is shown at the bottom, but all of the other default maps are still there as well. And as Robert mentioned, step 11 in the link provided above is how you enable this functionality. I hope that helps.
... View more
09-20-2016
11:24 AM
|
0
|
4
|
360
|
POST
|
The target feature class is always going to be a single feature class. We don't want to create new ones. Thank you for the suggestion, though!
... View more
08-24-2016
01:24 PM
|
0
|
0
|
662
|
POST
|
I will have to take a look at the append too. Initially looking at the documentation it does seem like what we are needing. I have never used it, but I will look further into it now. Thanks, Joe Borgione and Wes Miller!
... View more
08-24-2016
01:23 PM
|
0
|
1
|
662
|
POST
|
Hello, I would like to create a python script that allows users to automatically input a standardized shapefile and load the data into an SDE feature class. I'm going to create a spreadsheet that will be filled out by users. They will take that spreadsheet and use a conversion software to get the shapefile needed. I want to have a python tool added to our custom toolbar that will allow them to simply input that shapefile and have the tool automatically map the field connections and load the data for the user. I haven't been able to find the appropriate resources online to figure out which tools accomplish this, but doing a tool search in the ArcMap search window doesn't return anything for the various keywords that I've searched. The last thing that I will note is that the feature classes are "non-simple", so we have to use the Load Objects tool when we manually load our data right now. I figured that tool would have a place in the tool box and I could reference it in python, but i have been unable to find a resource for it. System: Windows 7 ArcMap 10.3.1 ArcServer 10.2.2 SDE Geodatabase 10.2.2 Let me know if there is any other information that may be relevant to our system. Thanks, Coy
... View more
08-24-2016
12:31 PM
|
0
|
6
|
1927
|
POST
|
Robert, thank you for sharing the link. That is a lot of work to accomplish a very simple task, but at least it seems pretty straight forward. Thanks again!
... View more
07-19-2016
01:14 PM
|
0
|
7
|
1014
|
POST
|
I have been unable to accomplish this as well. I wanted to bump this thread to see if we could get a current answer. I am simply trying to add the Bing maps basemaps to the basemap widget within my Web App Builder custom application. I have the Bing key entered into our AGOL Organization page, and have no problems accessing the map from Desktop.
... View more
07-19-2016
12:54 PM
|
0
|
9
|
1014
|
POST
|
Thanks for the help, Bruce! Whenever I have some more time to work through this I will try your suggestions.
... View more
06-22-2016
10:03 AM
|
0
|
0
|
173
|
POST
|
That definitely seems like a promising work around. I'm not all that familiar with JSON, so I will need to get up to speed on that. Thanks for the suggestions!
... View more
06-22-2016
10:03 AM
|
0
|
0
|
1091
|
POST
|
Asrujit, that makes sense, but in my particular example, I am referring to accessing the database through a single source, and still seeing upwards of 5 or more connections. For instance, I had everyone log off last night a little early so I could make some changes to some fields that we have in our feature classes, and I had 5 connections that were time stamped at various times throughout the day. Instances that I was no longer using or even had open. At that moment that I was looking, the only thing that I had open was ArcCatalog, and I was only accessing the database through a single connection file. All in all it doesn't really create a problem for me, as I can simply break the locks to ensure that my current instance is the only connection, but I really just want to be sure that there isn't some underlying problem that we are having, or if by breaking those locks I may be harming something that took place earlier in the day.
... View more
06-22-2016
09:27 AM
|
0
|
1
|
571
|
POST
|
I have been having an issue where I'll notice that I have multiple connections open to a single geodatabase. Right now I am showing that I have 5 connections, one of which is greyed out for the current connection. Each computer here has its own name associated with it, so I can tell that all of the connections I am seeing are from my machine. What causes this? Is it a problem? How do I fix it if so? System Information: ArcGIS for Desktop 10.3.1 Windows 7 Machine Microsoft SQL Geodatabase SDE Connection Thanks!
... View more
06-21-2016
02:31 PM
|
0
|
5
|
2543
|
POST
|
I just wanted to bump this discussion in hopes of getting an answer or some sort of direction. If the question is too broad, or doesn't make sense, please let me know. Thanks!
... View more
03-29-2016
07:12 AM
|
0
|
0
|
1091
|
POST
|
My organization is trying move our sharing capabilities to ArcGIS Online. I have fumbled through figuring out how to publish the services, edit the feature layer, configure and create web maps from those feature layers, and then attach them to a custom web application created in Web App Builder. This all works just fine, but my question lays in how to handle situations where a revision needs to be applied to that published service. I have been handling it by way of simply overwriting the existing published service, but I have found that when doing so, I believe I have to then go through the entire process again to set the feature layer settings, reconfigure/recreate a new web map, and then tell the previous web application to reference the new web map, which in turn creates further configuration since I use the edit widget and it gets reset once you change the web map. Information: When we perform revisions, we have a system of version attributes that we use to retain iterations, so I can't simply make the changes through the web application. I have to do them in ArcMap (so I think, anyway). We copy/paste the existing features, and then incrementally increase the version numbers that we use, while subsequently querying out the old version. Then all changes are applied to the newest version. We found out early on that we had to publish the services as hosted services due to our basic Server license. We were having issues with others not being able to see services in Collector when we published to our server itself, and we were told by a technician that we had to publish them as hosted services for others to see them. Not sure if that matters, but I want to include as much information as possible. A GIS user here may typically complete 3-5 projects each day, and may subsequently be required to edit any of those projects once or more times within the following days. That being said, you can see the dilemma that we face if we are going to have to go through the entire workflow of going from ArcMap to web application described above each time a project is completed and/or revised. Additional Question: If an edit is performed in the web map and/or app, how do those edits get sent back to the geodatabase? Does the fact that we are hosting these maps through ESRI prevent us from editing the geodatabase itself when we are viewing via an online interface? I was hoping that once we shared the web maps, any edits done through the web maps/apps would replace the existing attributes in the database so that I could see that change when looking at the data in ArcMap. I have toyed with adding the services to ArcMap via the Add Data button and editing/syncing those edits back to the server, but that is not ideal. That is likely a pretty convoluted set of information and questions, as I don't fully understand the processes and implications of each therein, so please ask anything that may help you better answer what I have asked.
... View more
03-23-2016
12:54 PM
|
3
|
10
|
9104
|
POST
|
Perfect! I figured it was something basic and just some other method, but I couldn't find anything in searching for it. Thanks for the answer, Darren!
... View more
03-11-2016
07:20 AM
|
0
|
0
|
272
|
POST
|
I am running ArcMap 10.3.1, version 10.3.1.4959, on a Windows 7 machine. I have a python script that grabs the layers within a map, and then applies a user input definition query to each of the feature classes. I have recently added 2 database tables that I would also like for the tool to add the definition query to, but I am having trouble in figuring out how to reference the tables. To reference the feature classes, I use the following code: # Import system modules
import arcpy
import arcpy.mapping as map
# Set local variables
inputQuery = arcpy.GetParameterAsText(0)
mxd = map.MapDocument("CURRENT")
layers = arcpy.mapping.ListLayers(mxd)
lyrList = ["FC1", "FC2", "FC3", "FC4"]
# Execute definitionQuery
for lyr in layers:
if lyr.name in lyrList:
lyr.definitionQuery = defQuery
arcpy.RefreshActiveView() Please note that the defQuery variable is acquired in a nested if/then statement, so I excluded the code, and the tool works just fine when not considering the two new database tables. It grabs the four feature classes that are in the layer list, and then applies the definition query. My problem is that I can't seem to replicate this process for tables. The tables are located in the exact same SQL geodatabase, and they are both in the same version level in the map document. I've tried to add the tables to the existing layer list, and I have also tried adding them to their own layer list aside from the feature classes and neither of them work. One thing I did notice is that when I tested the code in the ArcMap Python Window, and I tried to print the layer list, all layers ranging from group layers to feature classes and even including the basemap layers and sublayers got printed just fine...with the exception of the tables, which did not print at all. Is there some sort of limitation regarding database tables, or is there some other method that I must employ in order to grab them and apply the definition query to them? Any help is much appreciated.
... View more
03-10-2016
02:00 PM
|
0
|
2
|
2006
|
Title | Kudos | Posted |
---|---|---|
1 | 06-16-2015 11:55 AM | |
1 | 02-04-2015 02:30 PM | |
2 | 03-23-2015 11:22 AM | |
7 | 03-23-2015 10:09 AM | |
3 | 03-23-2016 12:54 PM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|