|
POST
|
Hello. In my web map, I'd like to create a point symbol that uses both color and shape based on two attributes. My data has two attributes of interest: 1) Tree species (three that we care about) 2) Recommended treatment type (three we care about) I'd like to style the points like this: COLOR All Species1 trees are yellow All Species2 trees are brown All Species3 trees are green SHAPE All trees with Treatment1 are oval All trees with treatment2 are square All trees with Treatment3 are triangles For example: Species1 with Treatment1 - symbol should be yellow oval Species1 with treatment2 - symbol should be yellow square Species2 with Treatment1 - symbol should be brown oval Species3 with Treatment3 - symbol should be green triangle and so on. How can I implement that symbology pattern? Ideally, i'd like to not have to have the data layer on the map twice, but that's not a firmly fixed requirement. Is this a place where Arcade can help out? Thank you
... View more
10-30-2024
09:17 AM
|
0
|
3
|
1694
|
|
POST
|
Thanks @RClavero . The three links you provided were helpful. They sent me down the path of getting to know online URL encoders a bit more than i had known them before. Eventually, i stumbled on an encoded URL that seemed to do the trick (for example, this is the third link in my original post fully encoded): https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/reverseGeocode?f=pjson&featureTypes=&location=%7B%20%22x%22%3A%2011563503%2C%20%22y%22%3A%20148410%2C%20%22spatialReference%22%3A%20%7B%20%22wkid%22%3A%203857%20%7D%20%7D That request got me a valid response from the service. I'm gonna call that a win, and move on. Thanks again for your help
... View more
10-15-2024
09:18 AM
|
0
|
0
|
2255
|
|
POST
|
Hi @RClavero . Thanks for taking a look at my question. I reviewed the requests, and I feel pretty good about the syntax. I reran the second one with an exact copy / paste. The browser did its URL encoding with a final URL of https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/reverseGeocode?location={x:%20103.876722,%20y:%201.3330736}. I got the same response http.400 'Error occurred while processing result
... View more
10-14-2024
11:27 AM
|
0
|
0
|
2282
|
|
POST
|
Hi. The documentation for the ArcGIS REST API reverseGeocode operation says that the `location` parameter can take one of three forms: location=103.8767227,1.3330736 location={x: 103.876722, y: 1.3330736} location={ "x": 11563503, "y": 148410, "spatialReference": { "wkid": 3857 } } In my testing, only the first option works. Option 2 and 3 return 'Error occurred while processing request' with no error message and a description 'http.400' For my testing, i'm using the URL from the Examples within the documentation page, and switching out the various options for `location` and dropping the 'token' parameter. Like this: https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/reverseGeocode?f=pjson&featureTypes=&location=-117.205525,34.038232 https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/reverseGeocode?f=pjson&featureTypes=&location={x:103.876722,y:1.3330736} https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/reverseGeocode?f=pjson&featureTypes=&location={ "x": 11563503, "y": 148410, "spatialReference": { "wkid": 3857 } } Only the top one is successful. Is the documentation off, or is there a bug in the reverseGeocode endpoint? Thank you.
... View more
10-11-2024
12:35 PM
|
0
|
5
|
2364
|
|
POST
|
I got the behavior i was after by adding in a choice_filter for Question 2. that ended up limiting the answers based on the Question 1 answer. Probably a better way to go that what i was trying to do.
... View more
10-08-2024
04:17 PM
|
0
|
0
|
1796
|
|
POST
|
Hello. In my survey I have two select_one questions (and one 'debugging note'). I'm auto-answering the second question based on the answer to the first question. But, it's possible that the user will want to manually override the auto-selected second question. For example, if the answer to Question 1 is 'Selection 2', then the answer in Question 2, must be 'Option B'. However, if the answer to Question 1 is 'Selection 1', then the answer to Question 2 is most often 'Option A', but rarely the answer could be 'Option C'. I'm using a 'Calculation' in Question 2 to set the auto answer. The process is working great as long as the user doesn't do a manual override. If the user selects the 'manual override' Option C in Question 2, and then goes back to Question 1 to select a new answer, the 'calculation' doesn't work anymore. In my debugger note, i can see that the Selected Value is updating whenever the question answer is updated, but the calculation isn't executing. How can I make the the auto-selection in Question 2 happen after any change in Question 1?
... View more
10-08-2024
11:51 AM
|
0
|
1
|
1836
|
|
POST
|
Hi @Jesse . Sorry for the delay - i've been out for a while. My Arcade is very rusty, but i think you can return the literal html code that you need for the link in the Arcade expression. Off the top of my head, something like return '<a href="your-url" style="text-decoration:underline">link text</a>' might work for you.
... View more
07-29-2024
02:19 PM
|
1
|
1
|
2930
|
|
POST
|
@ChristopherCounsell Thanks for the info and suggestion. I created a new 'Idea' here https://community.esri.com/t5/arcgis-online-ideas/allow-attachments-to-be-placed-anywhere-within-an/idi-p/1506704 @RhettZufelt Thank you for the suggested work-around. I'll share that with our users to see if it helps with their workflow.
... View more
07-18-2024
08:50 AM
|
0
|
0
|
1405
|
|
IDEA
|
When working on an Edit form in map viewer, any attachments always appear at the bottom of the edit form. Our users have asked to have attachments appear at the top of the form - it helps them fill out some of the subsequent fields. Similar to pop-ups where Attachments can be placed anywhere, Edit forms should allow placement of attachments anywhere in the form.
... View more
07-18-2024
08:44 AM
|
5
|
0
|
583
|
|
POST
|
Hello. I'm working on an Edit form in map viewer. Currently any attachments appear at the bottom of the edit form. Our users have asked to have attachments appear at the top of the form - it helps them fill out some of the subsequent fields. Is it possible to show attachments at the top of the edit form? I can put the attachments at the top of the pop up, but that doesn't have any impact on the edit form. Any thoughts on how to do this? Thank you
... View more
07-11-2024
04:51 PM
|
0
|
3
|
1506
|
|
POST
|
Hello. In the Map Viewer if you right click, a "What's Here" button is displayed. If you click the button, i reverse geocode operation is initiated, and a popup is displayed that contains the address and coordinates of the place you you clicked. Is there a way to customize / override the contents of that popup? What i'd like to do is create a link to a Google map street view for those coordinates. If there's no way to customize the popup, are there any other ways i can accomplish the same thing - click a point on the map (right or left) and display a popup with a link to a google map street view? Maybe Arcade or some such? Thank you.
... View more
06-25-2024
05:02 PM
|
0
|
1
|
2255
|
|
POST
|
Hello. I am working in the Data tab on the Survey123 website. I'd like to filter my survey results based on several lookup values, for example, 'Company Name'. When I click the drop-down list that is supposed to show all the values from the domain associated with 'Company name', there are no values shown. And, the 'Apply' button is deactivated. I can manually enter a text value, but the 'Apply' is not enabled. You can see this behavior in the screen cap below. There is a coded value domain associated with 'Company name' and the domain has values. Unfortunately no values appear in the drop down list for the company name filter. This behavior applies to all survey questions that have a domain associated with them. Is this a bug, or the expected behavior?
... View more
06-10-2024
11:28 AM
|
1
|
0
|
737
|
|
POST
|
Hi @EarlMedina Thanks again for your suggestion. I ended up doing a truncate / append. Instead of using the edit_features() method on the FeatureLayer, i am using the append() method on my Table (my data has no spatial component). There's a bit more futzing around with uploading and deleting the source csv file, but its working for now. If you've got some extra time (and no worries if you don't!), could you explain more about how i could of done this with a pandas data frame. I was intrigued by your comment: This example assumes you have geometry to parse. If you don't then use "df" instead of "sedf" I poked around a bit, but couldn't figure out how to use the data frame as the source for the 'edit_features()'. I Thank you.
... View more
05-29-2024
01:58 PM
|
0
|
1
|
2524
|
|
POST
|
Thank you @EarlMedina . Option 2 sounds way better. I'll give that a try and let you know how it goes.
... View more
05-29-2024
08:18 AM
|
0
|
0
|
2533
|
|
POST
|
Hello. I am using the FeatureLayerCollection.manager.overwrite() function to overwrite an AGOL hosted feature service with the contents of a csv file. Something like this: lookup_table = connection_to_agol.content.get(file['agolItemId'])
feature_layer_collection = FeatureLayerCollection.fromitem(lookup_table)
response = feature_layer_collection.manager.overwrite(csv_file) This is working as expected, but all field aliases and descriptions for the hosted feature service are also overwritten when i overwrite the data. I'd like to not have to re-create that information every time the feature service is updated programmatically. Is there a different approach i can use to overwrite the data from a csv file while preserving the field aliases and descriptions? thank you
... View more
05-28-2024
05:35 PM
|
0
|
4
|
2624
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 2 weeks ago | |
| 8 | 04-14-2026 03:22 PM | |
| 1 | 02-24-2021 12:15 PM | |
| 2 | 01-05-2026 10:04 AM | |
| 1 | 09-30-2025 01:30 PM |
| Online Status |
Offline
|
| Date Last Visited |
yesterday
|