|
POST
|
Hi James, What network load balancing and/or web adaptor setup do you have? I think in Esri's view, a HA multi-machine site would require multiple web adaptors to route requests to GIS server machines in a round-robin fashion, and should also detect when one machine is unavailable. A network load balancer is also necessary to communicate with your pool of GIS server machines. File-based data sources should be copied locall to each machine, not accessed over the network, for fast access. Finally, the file server that stores your configstore and server directories should be configured for high availablility/redundancy. Have a look at this doc: Multiple-machine deployment with ArcGIS Web Adaptor—ArcGIS Server Administration (Windows) | ArcGIS Enterprise. I hope this helps - this stuff is confusing. One question to consider might be, what is your service level agreement, aka the percentage of ArcGIS Server site uptime required to fulfill the business requirements of your organization? Micah
... View more
12-21-2017
10:41 AM
|
1
|
0
|
946
|
|
POST
|
Hi NicolasGIS, Can you point me to where in the ArcGIS Documentation this is (that replicas can't be created when indexed attributes are hidden)? I suspect this is the issue I am seeing but don't see where in the documentation this is described. Thanks, Micah
... View more
12-20-2017
03:35 PM
|
0
|
1
|
1470
|
|
POST
|
Hi Sunnie, If you are using a feature layer, you can do it this way: Expand the layer in the table of contents and click on the three dots: In the menu, click Create Labels - if you don't see this it's probably because you are working with a map image layer or some other type of layer that does not allow you to create labels based on the feature data In the text drop-down, choose New Expression (at the bottom of the list) In the expression window, mix and match fields and String elements to create your perfect multi-field label expression: Note that these expressions are built using ArcGIS Arcade. Plenty of help docs exist to help you become an expert! Good luck, Micah
... View more
12-12-2017
01:46 PM
|
4
|
2
|
9423
|
|
POST
|
Hi Courtney, Dan's got you covered for using the codeblock parameter within Calculate Field. It's not clear to me if your assignment requires you to use that parameter. If not, you could just run: arcpy.CalculateField_management("Converted_Graphics", "field1", "!field1![:-2]", "PYTHON_9.3") Keep at it. The GIS programming stuff gets easier with time, trial/error, and repetition. Micah
... View more
12-11-2017
11:30 AM
|
1
|
2
|
1673
|
|
POST
|
It hasn't been updated for a while but I have found useful materials on ArcPy Café as well.
... View more
12-10-2017
07:56 AM
|
2
|
0
|
827
|
|
POST
|
Heya Brooks, Thank you for asking. I passed the test, which was hard. The GISCI policy prohibits me from giving too much info on the questions. The study guide linked above was a nice supplement to my own study guide. Good luck! Micah
... View more
12-03-2017
05:55 PM
|
4
|
3
|
1856
|
|
POST
|
Yeah in that case I concur with Dan - try setting a Project Coordinate System on your data frame and see if that makes the numbers match up better.
... View more
11-06-2017
12:14 PM
|
0
|
2
|
2117
|
|
POST
|
Hi Jayanta, Here's a couple enhancements I'd make: First, list the feature classes using Walk—Help | ArcGIS for Desktop. List Feature Classes is great but only lists the FCs at the root level of your geodatabase. If you have feature datasets containing additional feature classes, they will be missed by list feature classes. Here's how to use Walk for your script: workspace = r"Path\xyz.sde"
fcs = []
walk = arcpy.da.Walk(workspace, datatype="FeatureClass")
for dirpath, dirnames, filenames in walk:
for filename in filenames:
fcs.append(os.path.join(dirpath, filename)) Then you can print (or do whatever you like with) the geometry types like this: for fc in fcs:
geometryType = arcpy.Describe(fc).shapeType
print(geometryType) As for writing to the CSV, have a look at Using the CSV module in Python. I've never used it but it looks pretty straightforward. Micah
... View more
10-27-2017
12:54 PM
|
1
|
0
|
4730
|
|
POST
|
Hey Jeff, You'll need to apply that function in the main calc expression box: seq_num_max(!ColorCode!) That should do it.
... View more
10-16-2017
08:03 AM
|
1
|
5
|
3746
|
|
POST
|
I think this would do it: In field calculator Codeblock (Python): def Calculate(repeatingValue):
interval = 1
if cntr < 3:
cntr += interval
else:
cntr = 1
return cntr Then in your expression it would be Calculate(!YourFieldName!) Micah
... View more
10-13-2017
04:28 PM
|
1
|
0
|
3746
|
|
POST
|
What is the character length of your request URL? Are you using GET or POST?
... View more
10-13-2017
12:01 PM
|
0
|
0
|
2199
|
|
POST
|
I think Dan Patterson nailed it - you gotta save the layer file. lyr.save()
... View more
10-13-2017
10:59 AM
|
0
|
0
|
1635
|
|
POST
|
Hi Jose, If the dataset names are the same try: lyr.replaceDataSource(newSdePath, "SDE_WORKSPACE", lyr.datasetName, True) or: lyr.replaceDataSource(newSdePath, "SDE_WORKSPACE", "#", True) The empty double-quotes for the dataset_name parameter could be causing your validation to fail. Micah
... View more
10-13-2017
10:43 AM
|
1
|
0
|
4487
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 10-13-2017 09:58 AM | |
| 1 | 10-27-2017 12:54 PM | |
| 1 | 10-13-2017 04:28 PM | |
| 5 | 08-14-2017 01:58 PM | |
| 1 | 10-16-2017 08:03 AM |
| Online Status |
Offline
|
| Date Last Visited |
04-26-2021
03:16 PM
|