|
POST
|
Now that sounds like a good idea @LorenzMeyer1 . I was going to just make sure I had my console log open in Chrome so I could see the traffic rolling through. Can you tell me where in the bat file you added the 'echo'? @EricAnderson14
... View more
04-05-2022
01:25 PM
|
0
|
4
|
1444
|
|
POST
|
Hi @XanderBakker - here's some of what I came up with: var intParcel = Intersects(Centroid($feature), FeatureSetByName($map,"County Zoning", ['zoningdesignation'], true));
var fldname = 'zoningdesignation';
var znType = Distinct(intParcel, fldName);
var znCnt = Count(znType);
var znlist = '';
function GetDomainDct() {
var dom = Domain(intParcel, fldname);
var cvs = dom["codedValues"];
var dct = {};
for (var i in cvs) {
var cv = cvs[i];
dct[cv["code"]] = cv["name"];
}
return dct;
}
var rt = GetDomainDct();
if (znCnt > 0){
for (var k in znType) {
znlist = rt[k.zoningdesignation]; //needs to be an array
}
} else {
znlist = 'Zoning Information Missing'
}
return znlist; I was struggling with how to return the function until I realized I needed to set it to a var (via the Arcade Help) and then from that point it was simply a matter of making sure list was set to return an array as well. I have another piece that does not use the centroid, but then removes the self-intersecting zoning type, and returns the types that are adjacent: var lstZoning = FeatureSetByName($map, 'County Zoning', ['zoningdesignation'], true);
var intParcel = $feature;
var numZones = Count(Intersects(lstZoning, intParcel));
var intZoning = Intersects(Centroid(intParcel),lstZoning);
var allZoning = Intersects(intParcel,lstZoning);
var znTypes = Distinct(intZoning, "zoningdesignation");
var allTypes = Distinct(allZoning, "zoningdesignation");
var initialZT = "";
var znlist = '';
function GetInitDomainDct() {
var dom = Domain(intZoning, "zoningdesignation");
var cvs = dom["codedValues"];
var dct = {};
for (var i in cvs) {
var cv = cvs[i];
dct[cv["code"]] = cv["name"];
}
return dct;
}
var rt = GetInitDomainDct();
function GetDomainDct() {
var domAll = Domain(allZoning, "zoningdesignation");
var cvsAll = domAll["codedValues"];
var dctAll = {};
for (var j in cvsAll) {
var cvAll = cvsAll[j];
dctAll[cvAll["code"]] = cvAll["name"];
}
return dctAll;
}
var rtAll = GetDomainDct();
for (var k in znTypes)
{
initialZT = rt[k.zoningdesignation];
}
if (numZones > 0){
for (var m in allTypes){
znlist += TextFormatting.NewLine + rtAll[m.zoningdesignation];
}
} else {
znlist = 'No zoning intersects this parcel'
}
var noZone = 'No zoning types border this parcel'
var newList = TextFormatting.NewLine + Trim(Replace(znlist,initialZT,"")); //Trim removes blank space left from replace
if (IsEmpty(Trim(Replace(znlist,initialZT,"")))){
return noZone;
} else {
return newList;
} The only problem is, is that it has to run things twice. If you have any ideas on how to make this more concise that would be great -
... View more
03-17-2022
01:20 PM
|
0
|
0
|
2364
|
|
POST
|
Its more about what you have to have set up to do a workflow like this: https://learn.arcgis.com/en/projects/calculate-landslide-risk-for-communities-affected-by-wildfires/
... View more
03-08-2022
06:42 AM
|
0
|
0
|
4473
|
|
POST
|
Ah yes thanks @XanderBakker - I was looking at DomainName, but realized I had no method to get a return of descriptions. I'll work on this between dev conference sessions this week and post back what I can put together.
... View more
03-08-2022
05:41 AM
|
1
|
1
|
2387
|
|
POST
|
sure thing @Scott_Tansley I'll post back anything we do, when we do.
... View more
03-07-2022
01:27 PM
|
1
|
0
|
6819
|
|
POST
|
Huh, ok thanks @DEWright_CA . Yes, that would be my approach as well, although I may have them start with the configuration server first, since it has no GIS components on it at all. Then we have a Monitor server, upgrade, test. Web Server, upgrade, test. Portal > 4 AGS machines > 2 Datastore Machines > License Manager > finally the windows vm hosting our sql server . . .
... View more
03-04-2022
10:31 AM
|
1
|
0
|
6918
|
|
POST
|
@Jay_Gregory , it depends what you want to do, or rather what you need Image Server to do. For us, it made sense to run ImageServer from our Federated Site because we are not asking Image Server to perform Image Analysis. We're just using it to serve Image Services from Mosaic Datasets, and we want to be able to manage permissions from portal and for those services to collaborate over to our agol. If we were performing Image Analysis through Server, we would want the Image Server role on a dedicated site. But even then, I would still Federate that site so tools could be run from both Portal and Pro, and not just from Pro.
... View more
03-04-2022
10:25 AM
|
1
|
0
|
4525
|
|
POST
|
Hello - we are running a distributed 10.9.1 Enterprise deployment on VMWare, Windows Server 2016. Our system admins think that they can perform an in-place upgrade of the OS on our VM servers to Windows Server 2019. Is that even possible? According to them, nothing will change, no machine name changes, no DNS name changes. They simply want to upgrade to the 2019 OS. @VinceAngelo , @George_Thompson , @JonathanQuinn any of you ever run across this? Thanks, David
... View more
03-04-2022
09:56 AM
|
0
|
7
|
6967
|
|
POST
|
No @Jay_Gregory you don't need to do any of that. When you register Image Server on an ArcGIS Server site, you first apply the ECP for ArcGIS Server through the authentication wizard. Then you go back into the site, start the authentication wizard again, and apply the ECP for the Image Server role. All server sites contain the Image Server role by default, so they just have to be authorized.
... View more
03-04-2022
09:37 AM
|
0
|
0
|
4557
|
|
POST
|
fyi @XanderBakker , this returns an Illegal Argument error in the Map Viewer Arcade editor. But that's ok because I'm not treating it as an array. However, if you have an idea on how to get DomanName descriptions to return from the Distinct that would help. Because FeatureSetByName here is using the $map profile, I can't seem to get the Distinct to return coded value descriptions, as if I were using the $feature profile....
... View more
02-28-2022
01:13 PM
|
0
|
3
|
2410
|
|
POST
|
Hi again @JeffLegato1 - turns out for us, that this seems to be the result of just an old layer from 2019. Layers that I have re-hosted are behaving correctly in Filed Maps...
... View more
02-28-2022
09:09 AM
|
0
|
1
|
4434
|
|
POST
|
Hi @JeffLegato1 - I wish I had an answer for you but I too am experiencing the same thing at 10.9.1. In my case, at android 12 and the latest field maps version, I am getting the following runtime error: Unable to delete
com.esri.arcgisruntime.io.JsonEmbeddedException: Object ID '5389' is not valid Seems like Field maps wants to treat an ObjectID field as a string field so I don't know
... View more
02-24-2022
11:30 AM
|
0
|
2
|
4438
|
|
POST
|
Hi @Anonymous User , Yes, I could go into the Fields setting, click "Edit" for Field Value Type, set it to "None", and then I was able to update my List of Values (Domain) . . . thanks for that.
... View more
02-14-2022
11:56 AM
|
2
|
2
|
5339
|
|
POST
|
Hi @JohnSasso , those instructions refer to downloading and deploying the application from the Developer Edition. You will need to follow the instructions to add the Developer Edition to your desktop. You can then import the app from your AGOL to the ExB Dev Edition, and then download the published application from there for deployment on your web server
... View more
02-01-2022
05:07 AM
|
0
|
0
|
2964
|
|
POST
|
Hi @DonSjoboen and @XanderBakker - I know you guys were working on something a little different with this a while back but I wanted to share something similar since this post helped me out: var intParcels = Intersects($feature, FeatureSetByName($map, 'Community Flood Zone'));
var fpTypes = Distinct(intParcels, "zonetype");
var fpCnt = Count(fpTypes);
var fplist = '';
if (fpCnt > 0){
for (var k in fpTypes)
{
fplist += ' Zone ' + k.zonetype;
}
} else {
fplist = 'No Flood Zone intersects this parcel'
}
return fplist; In my case, click on a parcel, return flood info from the Intersects. Add a TextFormatting.NewLine at where needed. Thanks- David
... View more
01-28-2022
01:20 PM
|
0
|
5
|
2445
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 4 weeks ago | |
| 1 | 06-26-2026 12:39 PM | |
| 6 | 06-25-2026 07:23 AM | |
| 1 | 06-17-2026 06:04 AM | |
| 1 | 06-08-2026 08:37 AM |
| Online Status |
Online
|
| Date Last Visited |
4 hours ago
|