|
POST
|
Thank you Xander, I appreciate the help. For now I'm using your suggestion of two redundant layers for labeling, and that's good enough for now.
... View more
02-05-2018
08:39 AM
|
1
|
0
|
3984
|
|
IDEA
|
Is there anything you can do in ArcMap to replicate giving the entire dataset a time zone? I know you can use the Time tab in layer properties to change it for one or two date fields, but I have some datasets that require three or more date fields and this causes problems in ArcGIS Online. For example, three separate date fields for Incident Start Date, Incident End Date, and Incident Reported Date.
... View more
01-22-2018
08:32 AM
|
2
|
0
|
3130
|
|
POST
|
So the issue is that I'm actually using HTML tags within an Arcade expression, and the Arcade is being recognized by AGO while the HTML within is not? Frustrating, but I think I understand now. Thanks for the information.
... View more
01-22-2018
07:27 AM
|
0
|
2
|
3984
|
|
POST
|
I've been designing some maps in ArcGIS Pro for printing (with the hope of creating identical web map versions) and, seeing that Arcade expressions can carry over into ArcGIS Online, went through the time and effort to figure out and incorporate arcade expressions into my labels. I then shared my layers to my ArcGIS Online account and found that (among many other things) my Arcade label expressions were not recognized or supported. Wasn't the whole point of Arcade to have a universal expression language across the platform and make sharing content between different applications quick and seamless? Below are some screenshots of what it should look like vs what came up in ArcGIS Online, as well as the expression I am using. If this is a limitation of ArcGIS Online? If so, can we get some documentation on what is and isn't supported? The only thing I saw in my prior research was that multi-line label expressions were not supported, and it's frustrating to have to find the limitations yourself through trial and error. I'm glad we're getting progress in the web map labeling department, but I thought universal meant universal. Arcade Label expression: "<FNT size = '12'>" + Replace($feature.fsp_labels_SITE_NAME, 'State Park', 'SP') + "</FNT>" + " " + "<FNT size = '25'>" + $feature.fsp_labels_NUM + "</FNT>" What I'm trying to do is replace some words with abbreviations and then use two different font sizes. The replace function worked, so I'm guessing it's just an issue of using two font sizes in one label? There really needs to be some better documentation on this stuff for users to refer to. #
... View more
01-17-2018
07:48 AM
|
2
|
8
|
4635
|
|
POST
|
That looks about what I'm trying to do. When I get a chance to try it out, I will post an update here. Thanks!
... View more
09-28-2017
02:04 PM
|
0
|
0
|
2104
|
|
POST
|
I have a table of proposals which includes a field for counties that the proposal will affect. Unfortunately, the COUNTY field has multiple counties in it, separated by a comma. (Pic is from an excel attempt). What I want to do is find a way to create a duplicate rows so that each only has one county in the county field. (The end result is that I need to have a map of counties that will be symbolized by the number of proposals affecting them.) So the highlighted Proposal 4 above would turn into something like this: Then I can join to a county shapefile and easily get a count. It's simple enough in Excel to split a cell into columns and then transpose them into rows, however I need to pull the additional data from the other fields as well. There are 1500 rows, so I need an automated way to do this either in ArcMap or through Excel. Or perhaps I'm going about this all wrong and there is a way to relate the table to a county shapefile based on a comma separated field? Any help would be appreciated!
... View more
09-21-2017
08:08 AM
|
1
|
3
|
2911
|
|
POST
|
I ended up using another method because I just couldn't figure out what the heck was wrong here. Didn't seem to be able to read any field I tried, so must not be an issue specific to subtype. Instead I broke it into two steps: calculated the numeric codes into my string field, then used the .replace() function to swap out the codes and descriptions. Would still be curious to know why I couldn't get the if/else statements to work, though.
... View more
08-23-2017
12:55 PM
|
0
|
0
|
1565
|
|
POST
|
There are only the two fields: "ftype_int" which is the 'short' field that has the subtype values, and "ftype" which is the 'text' field I'm trying to calculate to. Plugging in some of the other unrelated fields from the table into my "else" statement, I've noticed that everything gives me a <Null> value for my ftype field. The only thing that hasn't given me a <Null> return is telling it to print something specific like "nope". Thanks for taking the time
... View more
08-23-2017
09:05 AM
|
0
|
1
|
1565
|
|
POST
|
def myFunc(ftype_int):
if (ftype_int == 4):
return "Generic Karst"
else:
ftype_int myFunc(!FTYPE!) Hm, modifying my "else" statement to the above gives me a <NULL> value in my FTYPE field.
... View more
08-23-2017
08:44 AM
|
0
|
3
|
1565
|
|
POST
|
I have a pair of data sets with identical schemes; one is a sort of reference layer (A) and the other one is an editable working layer (B). These data sets eventually make their way into a web map for Collector. There is a field using subtypes that help restrict domains for other fields, which looks like: Code Description 1 Access 2 Anthropocentric 3 Float 4 Generic Karst 5 Other 6 Outcrop My workflow includes appending the data in layer (B) to layer (A). The problem is that the subtype field displays its numeric code instead of its description in pop-ups for the web map. For ease of use I need the description to display, so I wanted to calculate the description into a second text field. Eventually this will be a python script, but for testing purposes I've been using the field calculator in ArcMap to check that the code is right before I incorporate it into my larger script. The below example successfully runs without error, but instead of returning the description in my "if" statement, I'm always getting the "else: nope". Pre-logic script code def myFunc(ftype_int):
if (ftype_int == 4):
return "Generic Karst"
else:
return "nope" Expression myFunc(!FTYPE!) In place of the (ftype_int == 4) I've tried (ftype_int == "4"), (ftype_int == "Generic Karst"), (ftype_int == "4 - Generic Karst"), but# have had no luck. How do I get the field calculator to properly read the values in the subtype field? Hope this makes sense. Thanks
... View more
08-23-2017
08:00 AM
|
0
|
5
|
1821
|
|
POST
|
I have a feature class that is broken up into subtypes and domains for each subtype. For example, say I have "Tree" as a subtype fields, and then the next field points to a domain specific to that subtype with values like "Oak", "Cypress", "Palm" etc. When I'm in the Collector app and want to add a new point, you get your list of subtypes (Tree, Bush, Grass, etc) to choose from, and the points are symbolized based on those subtypes. However, I'd like to symbolize points based on the specific domains, (Oak, Cypress, Palm, etc.). The problem here is that symbolizing by domains means that when I go to collect a new point I have to scroll through a cumbersome list of species types like (Oak, Cypress, Palm, Mulberry, Azalea, Bluegrass, Milkweed, etc etc) just to get started, instead of a nice short list of: Tree, Bush, Grass. This also causes my subtypes to be listed by their numeric codes -- instead of their string descriptions -- when entering data into the fields. Is there a way to symbolize the points based on their domain values, but collect in the app based on subtype?
... View more
05-02-2017
07:50 AM
|
1
|
3
|
4310
|
|
POST
|
Figured it out myself, but I'll leave this up in case anyone else has the same issue. The problem was a simple oversight as usual, and I have the REST service coming from a server that was not accessible externally (doh!). It worked on the Windows 10 app obviously because that was on the internal network. Switching to an externally accessible server fixed it.
... View more
04-13-2017
06:33 AM
|
0
|
1
|
2475
|
|
POST
|
I'm currently trying to build a demo app for field collection using a REST service (feature server) with sync enabled, subtypes/domains, and attachments. This feature service (not locked down) is added to a web map with edit capabilities, is shared to a group, and then needs to be opened in the Collector app. On the moblie app, (Android Galaxy S6 Active) the map appears in my list of maps, will open, but never loads the editable layer. I have no button for adding new data, and looking at the layers screen, the checkbox for the layer is unchecked and will not let me enable it. The layer is listed there, though. If I try and download the map first over wifi (or my cell signal, for that matter) I get an error that "One or more of the layers could not be loaded. The map cannot be downloaded." This error also occurred for over wifi and out in the open with full signal. I tested with a coworkers iPhone and ran into the same problem, except that the map gave me an error about the layer immediately upon loading the map and said it couldn't make a network connection. It also listed the URL for the layer. The weird thing is that everything works perfectly fine on my desktop using the Windows (10) Store version of Collector for ArcGIS. I can add points, and all the drop-downs work correctly, add attachments, and these changes apply to the feature service correctly. It's works without a hitch. Any idea what's going on here? I've attached two screenshots of the app, one showing the mobile with no option to add points and another with the desktop Windows app working correctly. My mobile app is version 10.4.2 and the Windows app is 10.4.1 .
... View more
04-12-2017
01:45 PM
|
0
|
2
|
3151
|
|
POST
|
Using a rest service through a web map, I have these layer headings that appear both in the web map when the ToC is expanded as well (more annoyingly) the Story Map Series I'm using the web map with. I can't find a way to remove or even change the text in these headings through ArcMap, the Web Map, or the Story Map Series. Any ideas?
... View more
03-09-2017
01:44 PM
|
0
|
2
|
1819
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 2 weeks ago | |
| 1 | 4 weeks ago | |
| 1 | 09-17-2025 10:59 AM | |
| 1 | 09-17-2025 11:03 AM | |
| 3 | 3 weeks ago |
| Online Status |
Offline
|
| Date Last Visited |
Monday
|