IDEA
|
Configure Edit widget to pull from a map service or database connection to populate attributes. Users could choose from a dropdown list of values when editing in a web application to populate the attributes of features they create.
... View more
01-24-2020
12:51 PM
|
2
|
0
|
367
|
IDEA
|
Configure Edit widget to pull from a map service or database connection to populate attributes. Users could choose from a dropdown list of values when editing in a web application to populate the attributes of features they create.
... View more
01-24-2020
12:51 PM
|
3
|
0
|
498
|
BLOG
|
I can open spyder: but I do not see it in my programs?
... View more
11-20-2019
10:53 AM
|
0
|
0
|
18655
|
BLOG
|
Can you provide some detail on uninstalling spyder? Thanks, Chris.
... View more
11-20-2019
08:26 AM
|
0
|
0
|
18655
|
POST
|
A few of our Feature Service records are missing in the WAB attribute table widget. I am also getting "Request canceled" error. {_ssl: undefined, description: "Request can...", dojoType: "cancel", log: false, message: "Request can...", name: "CancelError", response: Object {...}, responseText: undefined, stack: undefined........
... View more
11-12-2019
12:53 PM
|
0
|
0
|
1285
|
POST
|
function FindLabel ( [RouteID],[Acres] )
{
var dict = [{route:"002",label:"N-2",
route:"004",label:"N-4",
route:"013",label:"N-13",
route:"020",label:"US-20",
route:"073",label:"US-73",
route:"075",label:"US-75",
route:"083",label:"US-83",
route:"084",label:"N-84",
route:"136",label:"US-136",
route:"159",label:"US-159",
route:"183",label:"US-183"}];
for (var route in dict)
{
var routeLabel = dict[route]["label"];
route = dict[route]["route"];
if (route == [RouteID])
return routeLabel + "\n" + parseInt([Acres]) + " Acres"
}
} The above code is only labeling the last highway value in the dictionary when used in the label class expression advanced editor. Can anyone tell me why that is so, and how to label all the highways in dictionary? I think I need to loop through a list of the [routeLabel]s, but when i try to add for routeLabel in route loop, it is not returning anything. I guess i am not constructing the right objects?
... View more
11-05-2019
10:55 AM
|
0
|
0
|
402
|
POST
|
1. I used GIMP (free image processing software, as i do not have a license for any image processing software) to create an image. 2. Format a point feature class symbol 3 Save the Point Feature Class Symbol to a style
... View more
10-31-2019
01:10 PM
|
0
|
0
|
3021
|
POST
|
I used this to create the view: USE [Our Database]
GO
EXEC database.sde.set_current_version 'the version'
/****** view info******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO but when I script out the view to a new query window, the exec is not there: USE [Our Database]
GO
/****** view info******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO is there something else I need to do? Thanks.
... View more
08-30-2019
07:12 AM
|
0
|
0
|
521
|
POST
|
I am able to do that in a ssms query window, but the view I created always reads from default. I would like to be able to specify which version of the geodatabase the view reads from. Thanks.
... View more
08-30-2019
06:13 AM
|
0
|
2
|
521
|
POST
|
If I have a view of versioned data how do i get the view to return data before the feature class it references is reconciled with the default version of the geodatabase?
... View more
08-29-2019
01:29 PM
|
0
|
4
|
589
|
POST
|
apologies, I added the default value string before the return line. Change to what you would like the value to be. var material = $feature["material"];
var materialLabel = When(
material == 0,"Unknown",
material == 13,"Aluminum",
material == 14,"Steel",
material == 15,"Cast Iron",
material == 16,"Plastic",
'defaultValue')
return materialLabel Thanks, Chris.
... View more
07-30-2019
07:10 AM
|
0
|
1
|
988
|
POST
|
Try adding this expression: var material = $feature["FieldName"];
var materialLabel = When(
material == 10,"Steel",
material == 11,"Aluminum",
material == 12,"Plastic")
return materialLabel
... View more
07-30-2019
05:20 AM
|
0
|
3
|
988
|
POST
|
I would like to display text in a pop-up that is based on a dictionary. Can i write an arcade if statement that compares the attribute to the dictionary "value", then return the dictionary "label" in the pop-up? I am not very familiar with javascript and unsure how to test for the attribure value equal to the dictionary "value". for example, I have this so far: var dict = [{label: "N-1", value: "001"}, {label: "N-2", value: "002"}, {label: "N-4", value: "004"}, {label: "N-5", value: "005"}], for(var k in dic){ var kValue = dic .value; var kLabel = dic .label; var routeid = $feature.FIRST_RouteID; var popup = IIF(routeid == kValue ,kLabel,"NoVal"); return popup; } this is returning "N-1" when i test the result, but does not work when clicking on a feature. It must not be looping through the dictionary like I think it should? I solved this by changing my array variable and using the When function like so: var routeid = $feature["FIRST_RouteID"]; var routeLabel = When( routeid == "001","N-1", routeid == "002","N-2", routeid == "004","N-4", routeid == "S93A","S93A", 'n/a') return routeLabel Thanks, Chris
... View more
05-31-2019
02:16 PM
|
0
|
2
|
1868
|
POST
|
https://www.exprodat.com/blogs/creating-layer-files-with-python-4/ this worked for my in pycharm. i used the arcpy.mp module and lyrx layer files. I also referenced a path to my aprx project.
... View more
05-09-2019
12:11 PM
|
0
|
0
|
1022
|
Title | Kudos | Posted |
---|---|---|
2 | 04-06-2022 11:58 AM | |
1 | 04-15-2020 09:24 AM | |
3 | 01-24-2020 12:51 PM | |
2 | 01-24-2020 12:51 PM | |
1 | 01-31-2019 11:48 AM |
Online Status |
Offline
|
Date Last Visited |
01-16-2024
04:36 PM
|