POST
|
After running arcpy.server.UploadServiceDefinition to create a map service in my ArcGIS Enterprise (10.9.1), the documentation indicates I should be able access the out_mapServiceItemID by looking at result.getOutput(2). However, the return value is blank. result = arcpy.server.UploadServiceDefinition(service_definition, "https://arcgisenv/serverWebAdaptor", in_folder_type="EXISTING", in_folder="myfoldername")
result.getOutput(2) #this ends up being '' I'm trying to get the Portal Item ID of the map service that is published using the above service definition. Documentation says it should be available in the derived output (https://pro.arcgis.com/en/pro-app/latest/tool-reference/server/upload-service-definition.htm). In fact every output is blank after the first 2. Any ideas what could be happening?
... View more
09-01-2023
08:51 AM
|
1
|
7
|
701
|
POST
|
For us - this seems to be related to a self signed cert error. If using the Python API, GIS('myportalurl', username, password) fails with ssl validation error unless I add verify_cert=False as a parameter. The problem is, there is no way to do this using Arcpy.SignInToPortal, which is required for programmatically publishing services.
... View more
08-18-2023
06:33 AM
|
0
|
0
|
1053
|
POST
|
I'm working on a map where when a user clicks on a State, they get a chart of congressional district breakdown for that state. So far it's been easy, but I can't customize the colors of my pie chart colors. I would like to have red and blue slices for the district breakdown, but can't figure out how. Any ideas? Furthermore, anyone know how to have tooltips on the chart without hovering over a slice? var clicked = $feature.STATE_ABBR;
var districts = FeatureSetByName($map, "USA 118th Congressional Districts (All Territories)")
var f = Filter(districts, "STATE_ABBR = @clicked")
var party = GroupBy(f, "PARTY", {name: "count", expression: 'PARTY', statistic: "COUNT"});
var chartValues = {};
var chartTitles = [];
for (var blah in party){
chartValues[blah.PARTY]=blah.count
Push(chartTitles, blah.PARTY)
}
return {
type: "media",
title: "Congressional district breakdown by state",
altText: "Congressional district breakdown by state",
attributes: chartValues,
style:{
colors:[
"#f6eff7",
"#dbc9e1",
]
},
mediaInfos:[{
type: 'piechart',
value:{
fields:chartTitles,
tooltipField: "PARTY"
}
}]
}
... View more
07-21-2023
11:21 AM
|
1
|
3
|
539
|
POST
|
I've configured ArcGIS License Server Admin (2022.1) for concurrent use licensing for our Pro users. I'm trying to figure out how to get detailed usage information. In the debug log viewer, I see: This log is intended for debug purposes only. In order to capture accurate license usage data into an organized repository, please enable report logging. Use Flexera's software license administration solution, FlexNet Manager, to readily gain visibility into license usage data and to create insightful reports on critical information like license availability and usage. FlexNet Manager can be fully automated to run these reports on schedule and can be used to track license servers and usage across a heterogeneous network of servers including Windows NT, Linux and UNIX. However, I do not see any documentation on how to do this. Can anyone point me to the right direction here?
... View more
07-21-2023
07:11 AM
|
2
|
2
|
403
|
POST
|
I've configured ArcGIS License Server Admin (2022.1) for concurrent use licensing for our Pro users. I'm trying to figure out how to get detailed usage information. In the debug log viewer, I see: This log is intended for debug purposes only. In order to capture accurate license usage data into an organized repository, please enable report logging. Use Flexera's software license administration solution, FlexNet Manager, to readily gain visibility into license usage data and to create insightful reports on critical information like license availability and usage. FlexNet Manager can be fully automated to run these reports on schedule and can be used to track license servers and usage across a heterogeneous network of servers including Windows NT, Linux and UNIX. However, I do not see any documentation on how to do this. Can anyone point me to the right direction here?
... View more
07-21-2023
07:10 AM
|
2
|
3
|
510
|
POST
|
Thanks @SarahAmbrose - this is what we came to as well. Looking forward to a day when it takes fewer steps, but this is a great solution in the meantime!
... View more
07-18-2023
06:28 AM
|
0
|
0
|
819
|
POST
|
I'm trying to establish some devops patterns around publishing services in ArcGIS Server without a Windows machine with access to our production enterprise geodatabase from which to publish my Pro documents. Currently, from my development machine, I can configure my aprx with my layers pointing to dev tables. I can then get those aprx folders over to my production (Linux) Server via source control, and run a script with arcpy.mp.updateConnectionProperties to swap all my dev tables with production tables. Then i can go through the documented arcpy process to script map service publishing. However, those arpx folders get large, and storing them in source control seems unnecessary. I'm curious how I might instead save an offline service definition file, pass that through source control, and use arcpy to swap out the enterprise geodatabase connection information, and publish that. Any tips or documented workflows someone can point me to?
... View more
07-17-2023
06:33 AM
|
1
|
5
|
1295
|
POST
|
I have a feature layer of geocoded locations - I'd like to perform some drive time analysis on those geocoded locations, but in some cases I have over 50 records geocoded to the same exact point. I do not need to perform drive time on each of those 50 records, just one since it's a unique location. Without using ArcGIS Pro or doing any preprocessing of the data before I geocode, is there a workflow within the analysis capabilities hat can help with this? Normally I might use remove duplicates or dissolve points based on the geocoded address fields, but none of those seem to be available in the map viewer. Any ideas here?
... View more
07-14-2023
09:09 AM
|
0
|
2
|
921
|
POST
|
Thank you @MarceloMarques - I'm curious which versioning I should use in order to _only_ support sync capabilities in my feature services - for distributed collaboration with arcgis online. https://community.esri.com/t5/arcgis-enterprise-questions/minimum-enterprise-geodatabase-table-config-for/m-p/1307914 Thanks!
... View more
07-14-2023
09:02 AM
|
0
|
2
|
1007
|
POST
|
I'm getting some strange behavior when enabling a enterprise geodatabase feature class for versioning to support distributed collaboration. If I use python and arcpy to enable traditional versioning and global ids arcpy.management.RegisterAsVersioned(source_table)
arcpy.management.AddGlobalIDs(source_table) I get an additional table in my enterprise geodatabase - the same name as my source table with _evw appended (mytablename and mytablename_evw for example). However, if I use ArcGIS Pro catalog pane to do the same thing - register as versioned and add global ids, this evw table is not created. My question is is this evw table required if all I am using versioning for is to support distributed collaboration with ArcGIS Online. I'm not even enabling any feature services for editing - just sync
... View more
07-14-2023
06:54 AM
|
0
|
4
|
1075
|
POST
|
We currently have a collaboration setup between Enterprise and AGOL, to support replicating enterprise data to our AGOL users. That is currently the only requirement - no disconnected or multi user editing needed. Just copying our data to AGOL easily. To enable sync for a feature service, my understanding is I had to enable Global IDs on table, as well as versioning (I use traditional versioning, create a replica for each map). Then I can publish the service with sync enabled, and share the feature layer to the collaboration group and voila. However, now I cannot use the TruncateTable operation on my table, which breaks a lot of my ETL functionality. Is there a different way to do this, or do I have to change TruncateTable to the much slower DeleteRows in order to keep my sync capability?
... View more
07-13-2023
07:26 AM
|
0
|
2
|
715
|
POST
|
We have some kafka topics with many partitions - almost 150 in one case. When creating an input connector, I'm curious if I'm able to only subscribe to a single or range of partitions - which would effectively filter the data before it gets to geoevent. My only other option would be to filter after the data gets there - but worried the processing power of our server couldn't handle it effectively. The partitions are split by site - we have over 150 sites, so if I want to pull in data from a subset of sites, being able to subscribe to specific partitions would be helpful.
... View more
06-30-2023
09:30 AM
|
0
|
0
|
285
|
POST
|
A user has a vanilla PostGIS database, and would like to view the data in Pro, as well as publish tables by reference to Enterprise. Is there a list of best practices / requirements to optimize the experience (both in Pro and from the Enterprise web service standpoint)? For example, what we've seen so far in testing is: integer unique identifier column lowercase field names (or at least geometry column needs lowercase field name. I'm curious if there are other important requirements / best practices. For example, setting a spatial index. Same "best practices" question for publishing the table by reference in Enterprise. At minimum, when traversing the table list in the Catalog pane, how do you make the spatial table icons show up with the spatial type (see screenshot)?
... View more
06-02-2023
06:15 AM
|
0
|
0
|
346
|
BLOG
|
Thanks @Anonymous User - I will reach out to you directly if needed - good to know it will be made available in the future.
... View more
05-25-2023
06:56 AM
|
0
|
0
|
95
|
POST
|
It seems like the vessel traffic data being curated by Esri has stopped at May 2020 - this is for the app, but also data in the Vessel Traffic group. Is this something Esri plans on picking back up again, or should we expect to not have more recent data backfilled?
... View more
05-25-2023
06:37 AM
|
0
|
2
|
419
|
Title | Kudos | Posted |
---|---|---|
1 | Wednesday | |
1 | 02-28-2024 07:43 AM | |
1 | 09-14-2022 06:39 AM | |
2 | 07-21-2023 07:11 AM | |
1 | 06-23-2022 07:46 AM |
Online Status |
Offline
|
Date Last Visited |
Thursday
|