|
IDEA
|
Yes! Please! This is the most annoying thing ever! I can't fathom why anyone needs KML to be auto-enabled in the ESRI environment.
... View more
10-11-2017
04:00 AM
|
0
|
0
|
524
|
|
POST
|
Yes, but the problem continues...can't "bake" AD login credentials into a .py that's tied to Windows Task Scheduler, can't add a service account to the admin role, all AD logins are by PIV-card only....the real solution here would be to create a "Backup" role in the ArcGIS Server web-tier security scheme, and allow site backups to be triggered by service accounts coming from AD, not a PSA. I can easily generate a token at the admin interface, but the backup scripts are running nightly, automated. This was working fine 'till I started paying attention to the "Highly Secure" doc.
... View more
09-20-2017
10:12 AM
|
0
|
0
|
1537
|
|
POST
|
Thanks, but there's a catch: to generate a token you need a user name and pw....and if the PSA is initially disabled, using the PSA login results in " Failed to log in. Invalid username or password specified." when trying to generate a token. BTW, this is in an https-only, Windows Active Directory-Web Adapter only, environment.
... View more
09-20-2017
08:33 AM
|
0
|
2
|
1537
|
|
POST
|
So we're required to follow all of the ArcGIS Server Security "Best Practices", which include disabling the PSA account...which now results in Back up and restore your ArcGIS Server site configuration—ArcGIS Server Administration (Windows) | ArcGIS Enterprise no longer working, as it complains that either the u and p is missing when I don't include, or when I do include it, fails and complains they're wrong. Anybody else have a work-around for this? Some .py code that will enable, then disable, the PSA as part of the routine?
... View more
09-20-2017
07:55 AM
|
0
|
4
|
1672
|
|
POST
|
Wireshark, although, Fiddler generally will output what you need. You'll need to install your domain root cert in either app in order to see the requests, though
... View more
09-15-2017
12:11 PM
|
0
|
1
|
3545
|
|
POST
|
"As for the Creative Cloud alternative, I think there's already some sort of limitation with that option (doesn't work with local layers? or something like that)." You are correct, the "Creative Cloud" tool only allows you to consume content that is online, not "Local Layers". You can no longer create custom queries of the same local layer for different rendering effects in AI, unless you first take significant time out of your workflow to publish them online.
... View more
09-15-2017
09:15 AM
|
0
|
0
|
3181
|
|
IDEA
|
But this tool can't be added to the, say, Edit Toolbar as the Simple Data Loader can in ArcMap. Second, the Simple Data Loader would automatically pick up matching schema, and use pick-lists where it didn't match, or give me the choice to default to null. This is far more cumbersome and time-consuming with the append tool.
... View more
09-01-2017
11:58 AM
|
0
|
1
|
5155
|
|
IDEA
|
But this tool can't be added to the, say, Edit Toolbar as the Simple Data Loader can in ArcMap. Second, the Simple Data Loader would automatically pick up matching schema, and use pick-lists where it didn't match, or give me the choice to default to null. This is far more cumbersome and time-consuming with the append tool.
... View more
09-01-2017
11:58 AM
|
0
|
1
|
4718
|
|
POST
|
ooooo....10 km is way too short. Is that a hard-coded limitation?
... View more
08-01-2017
04:17 AM
|
0
|
1
|
4416
|
|
IDEA
|
Essentially what you get when you login to GA. I feel like it is a rather simple process to attach a GA tracking ID to all the content in my Org...which is what the original idea is for. Being limited to a very few metrics based on a custom UI wouldn't be helpful at all. For example, for some content, we may be linking the GA review to an event, such as a social media post, and want to see how many hits were generated by FB, and how many of those resulted in map views longer than 3 minutes (user acquisition and engagement). Or, I want to see how many non-english speakers are hitting my story maps (do we need to do spanish translation on all of them?). How many users bail after less than 1 minute that are using Ipads? What page do they go to next? We have GA tracking ability on a custom, in-house Leaflet-based map viewer, and let me tell you, the data we get from that is incredibly helpful in focusing development efforts.
... View more
07-31-2017
01:32 PM
|
7
|
0
|
6906
|
|
BLOG
|
I'm having this same problem: In a survey with attachments (pictures) and a related table (repeat question), it will create the SDE tables on the first run, BUT, will not populate the picture attachment table (as the attachment table has no create date field, and there is no way to add it via AGOL), and, subsequent runs of the script fail with (table already exists), which is confusing, as I thought the script was supposed to check if the table exists, and if it does, just populate it.
... View more
07-25-2017
04:01 AM
|
0
|
0
|
23155
|
|
POST
|
Per this, https://community.esri.com/thread/185431-append-tool-and-field-mapping-help-examples?q=field%20mapping , I tried this: target_layer = "C:/blah blah blah.sde/blah.DBO.blah"
append_layer = renamefgdb+'\yada_yada_yada'
fieldmappings = arcpy.FieldMappings()
fieldmappings.addTable(target_layer)
fieldmappings.addTable(append_layer)
list_of_fields_we_will_map = []
list_of_fields_we_will_map.append(('PIC_ID', 'globalid'))
list_of_fields_we_will_map.append(('objectid', 'objectid'))
for field_map in list_of_fields_we_will_map:
field_to_map_index = fieldmappings.findFieldMapIndex(field_map[0])
field_to_map = fieldmappings.getFieldMap(field_to_map_index)
field_to_map.addInputField(append_layer, field_map[1])
fieldmappings.replaceFieldMap(field_to_map_index, field_to_map)
#field_to_map_index = fieldmappings.findFieldMapIndex("globalid")
#field_to_map = fieldmappings.getFieldMap(field_to_map_index)
#field_to_map.addInputField(append_layer, "PIC_ID")
arcpy.Append_management(append_layer, target_layer, "NO_TEST", fieldmappings, "") and it fails with Traceback (most recent call last):
File "C:/PRODUCTION/GRSM_VEG_AA_SRV_LOAD/ARCHIVE_AA_S123_TEST.py", line 67, in <module>
field_to_map = fieldmappings.getFieldMap(field_to_map_index)
File "C:\Program Files (x86)\ArcGIS\Desktop10.3\ArcPy\arcpy\arcobjects\arcobjects.py", line 328, in getFieldMap
return convertArcObjectToPythonObject(self._arc_object.GetFieldMap(*gp_fixargs(args)))
RuntimeError: FieldMappings: Error in getting field map from field mapping for GetFieldMap I've already worked around the globalid's changing....my destination table has a field called "globalid", but it is not a "globalid" field, so the source globalid writes nicely into it, and doesn't change. "GIS_ID" is defined as the "globalid" in the destination schema. Really need to get the source OID to write into the destination OID without changing.....
... View more
07-24-2017
12:30 PM
|
1
|
0
|
4373
|
|
POST
|
Using Python 2.7.8, I'm trying to use the default field mappings for all fields except for 2 (PIC_ID and Object ID). The two tables are essentially identical, the tinkering with the globalid is something I have to do in order to preserve the globalid part of an attachment relationship when syncing an AGOL feature service to an on-premise SDE, and not something I'm looking to change. The below snippet works when I'm just altering one field out of the mapping: target_layer = "C:/blah blah blah.sde/blah.DBO.blah"
append_layer = renamefgdb+'\yada_yada_yada'
fieldmappings = arcpy.FieldMappings()
fieldmappings.addTable(target_layer)
fieldmappings.addTable(append_layer)
field_to_map_index = fieldmappings.findFieldMapIndex("globalid")
field_to_map = fieldmappings.getFieldMap(field_to_map_index)
field_to_map.addInputField(append_layer, "PIC_ID")
fieldmappings.replaceFieldMap(field_to_map_index, field_to_map)
arcpy.Append_management(append_layer, target_layer, "NO_TEST", fieldmappings, "") However I have an operational requirement to maintain the objectid during append: that is, the objectID's coming from the append source need to be the same when they go to the target layer. But when I do something like this, or many many many variations thereof, it fails. target_layer = "C:/blah blah blah.sde/blah.DBO.blah"
append_layer = renamefgdb+'\yada_yada_yada'
fieldmappings = arcpy.FieldMappings()
fieldmappings.addTable(target_layer)
fieldmappings.addTable(append_layer)
field_to_map_index = fieldmappings.findFieldMapIndex("globalid")
field_to_map_index = fieldmappings.findFieldMapIndex("objectid")
field_to_map = fieldmappings.getFieldMap(field_to_map_index)
field_to_map.addInputField(append_layer, "PIC_ID")
field_to_map.addInputField(append_layer, "OBJECTID")
fieldmappings.replaceFieldMap(field_to_map_index, field_to_map) So is it possible to add ObjectID to a field mapping in python, and if so, how?
... View more
07-24-2017
11:01 AM
|
0
|
9
|
5657
|
|
IDEA
|
I'll be blunt: Plotting wide-format (where you have to plot multiple strips and tape them together) wall-sized maps from Arc Map...sucks. You have to test (with expensive paper), many combinations of margin, no margin, clip margin, overlap, etc....when using the Windows/ArcMap print driver, further complicated by what type of plotter you're using, what version of the print driver. Kicking things out to Acrobat, which has far superior print controls when wide format plotting, doesn't really work when your plot has a raster basemap. The worst part is, if there was something wrong with the last strip (e.g you're doing 10, 6-foot long (44 inch wide) strips for a wall map), and lets say, the paper ran out half way through the last one (or the print head ran dry), guess what....YOU CAN'T JUST PRINT THE LAST STRIP!!!!!!!!!!! Arrrghhhhh!!!!!!! (like a pirate). There is a long list of things Pro can't do that Arc Map can, but maybe there's one thing Pro can do that Arc Can't: Configure and Manage wide-format plots with the same functions that Adobe products can.
... View more
07-24-2017
05:37 AM
|
4
|
0
|
712
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-17-2022 12:19 PM | |
| 1 | 03-14-2019 06:24 AM | |
| 1 | 07-12-2018 09:29 AM | |
| 1 | 06-27-2019 12:08 PM | |
| 2 | 09-23-2019 11:03 AM |
| Online Status |
Offline
|
| Date Last Visited |
04-26-2026
07:12 AM
|