|
POST
|
Hello I'm attempting to set up a simple map with ArcGIS Online / Web App Builder. I would like to label a subset of features with the date of creation, but in a customised format. I would like to label them with month-day, eg 'Apr 3'. I am sourcing date from the CreationDate field that is automatically populated as part of my service. I've not come across the 'Arcade' language before and am struggling to understand how to use it. How would I create the expression (and label) above using Arcade? Thank you in advance.
... View more
04-02-2017
11:10 PM
|
0
|
2
|
4228
|
|
POST
|
Thanks Pete, that has done the trick. If I could ask another question - is there a way to have the time recorded in local time? It looks to be reporting in GMT, where I'm working in GMT +11hrs. I've checked my user profile and the time zone is set correctly there. Could it be tied to our organisational account?
... View more
02-08-2017
02:35 PM
|
0
|
1
|
755
|
|
POST
|
Hi I'll preface this by saying that I am new to Collector and still finding my way around. I have set up a project which collects basic point and line data. I would like to be able to automatically capture when (date/time) a feature was created. How would I go about doing this? Is it a setting in AGOL (as part of the service) or would I have to define it when creating my geodatabase and data model? Thanks!
... View more
02-07-2017
06:31 PM
|
0
|
3
|
1310
|
|
POST
|
As a postscript to this, re-created my project with an editable data collection service and it was available in the app immediately. Thanks for the help!
... View more
02-07-2017
06:28 PM
|
1
|
0
|
1710
|
|
POST
|
Yes - it was a web map I created. I'm still getting used to all the terminology! I'm running Collector on iPad Air 2 with latest firmware and I assume latest version of Collector. Have tried manually killing app and forcing a reload etc etc. Based on a suggestion above, I'm thinking the issue is the lack of a editable layer, so I'll check that first / rule out as a cause before I get too concerned.
... View more
02-03-2017
12:36 PM
|
0
|
0
|
1710
|
|
POST
|
Yes I did try that - unfortunately it didn't resolve the issue.
... View more
02-03-2017
12:32 PM
|
0
|
0
|
1710
|
|
POST
|
No - all layers at this point are read only. I do need to create a service for data collection - I'll do this on Monday when I'm back at work and see if that resolves the issue. Is an editable layer a requirement for a web map to be available in Collector? If I think about it, I suppose the name *does* give it away.
... View more
02-03-2017
12:31 PM
|
1
|
2
|
1710
|
|
POST
|
Hello I've just started experimenting with Web apps and Collector. I have created my first web app today (very basic map viewer containing 2 published services). The app works fine on my PC but is not yet visible in Collector (after 8 hours). Should there be a delay between app creation / publication and visibility in Collector, have I missed a crucial step, or is something amiss? I've checked all the simple stuff that I can (web map created in same account Collector is logged in as etc etc). Has anyone else experienced this issue? Thanks
... View more
02-03-2017
03:20 AM
|
0
|
9
|
2640
|
|
POST
|
Thanks Dan.I have combed through the methods and haven't come up with anything that I think will help me, but it is entirely possible that I've missed or misinterpreted something. My working solution for the moment is to compare the layer source (eg J: drive) with the layer location (eg C:) and if there is a difference, flag it for further investigation. I was hoping for a more definitive test if one exists though.
... View more
01-31-2017
07:37 PM
|
0
|
1
|
2403
|
|
POST
|
Hi I have a library of many hundred .lyr files that are distributed to my user base along with a data package. Users will save the data and layer files on various drive letters and directory locations. This works fine as the layer files are generally saved with relative file paths (creating using tool "Save To Layer File" and selecting the 'Store Relative Path' option. I would now like to develop an audit process for the layer file library, and to do so I will walk through the directory structure and iterate through all of the .lyr files. For each file I will check if the data source is current (which I've worked out how to do) and then check that the .lyr file path is relative (which I haven't worked out how to do). Is there an arcpy method that I can check this component of the .lyr file properties? I would imagine it sits somewhere with the layer methods, but I can't see any reference to this property in the documentation. Thanks
... View more
01-31-2017
05:24 PM
|
0
|
13
|
4386
|
|
POST
|
Thanks Jayanta, Christian A bit of investigation last night found an alternate way around the issue. By installing an alternate version of requests (pip install requests[security]) the SSL issue I was facing seems to have been resolved. (Further info at stackoverflow via python requests ssl handshake failure - Stack Overflow ) Good to know that updating Python versions is not recommended! The documentation on the issue (via Jayanta's link) shows 10.3.1 being compatible with 2.7.x and shipping with 2.7.8 if no other version found on install. I interpreted this as potentially being compatible with later versions (ie 2.7.9) but based on my experience recently of trying to install it side by side, and your advice, I would suggest it's not a route worth trying. Thanks again.
... View more
12-28-2016
02:52 PM
|
1
|
1
|
1624
|
|
POST
|
Hello everyone I would like to know if it's possible to run Python 2.7.9 with ArcGIS 10.3.1 (which ships with 2.7.8). The reason I need to use 2.7.9 is I have a couple of other Python tasks that run that use 'requests' for accessing https:// sites. 2.7.9 is a pre-requisite for requests to work with my https: sites of choice. I did try installing 2.7.9 alongside my ArcGIS 10.3.1 install on my last PC, but that was a spectacular failure. I've upgraded my PC (now on a corporate image) so I'm very wary of trying to do the same again, lest I incur the wrath of our IT support people or have to re-image the machine. I'm sure this is possible, I'm just wondering if anyone here has actually done it before! Thanks
... View more
12-27-2016
09:51 PM
|
0
|
4
|
3627
|
|
POST
|
Thanks Dan. I spent an age stuffing around with .replace, your solution is the one that I didn't try! Problem solved.
... View more
09-18-2016
10:51 PM
|
0
|
1
|
3218
|
|
POST
|
Thanks Mody. The issue was (is?) was converting the string I already had to the 'raw' string. Anyway - after lunch and a coffee, I was able to troubleshoot the issue and get a resolution. I've gone back to using arcpy.GetParameter, and then using arcpy.Describe on the geoprocessing object to extract the file name and path, and then using os.path.join to concatenate the two. Convoluted but it seems to be working!
... View more
09-18-2016
10:48 PM
|
0
|
0
|
3218
|
|
POST
|
This probably comes under the category of 'let me Google that for you', but anyway: I'm trying to write an ArcToolbox tool using a Python script I've already created. The script relies on a list of files, of which I've set up in the toolbox parameters as type 'Any' and multivalue = Yes. My issue is that if I use arcpy.GetParameterAsText, the variable returns a string, which can be converted to a list by .split(';'), but then the backslashes used in the file path do strange things to my output. Try as I may, I cannot think of an easy way of converting '\' to '\\' to solve my issue. I've tried using arcpy.GetParameter, but this does not suit my need, as this returns a list of geoprocessing objects, and I need to extract part of the file name for a subsequent step in my process. Unless there's an easy way to convert this GP object to a text name? Feeling a little fragile after the weekend, and my brain is not comprehending this particular issue on a Monday! Please help!
... View more
09-18-2016
08:48 PM
|
0
|
5
|
5093
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 10-30-2019 10:07 PM | |
| 1 | 12-01-2020 09:24 PM | |
| 1 | 01-09-2018 07:17 PM | |
| 1 | 06-08-2016 02:49 PM | |
| 1 | 07-03-2016 11:54 PM |
| Online Status |
Offline
|
| Date Last Visited |
12-01-2020
10:55 PM
|