|
POST
|
This script can be scheduled to run at an interval of your choosing using Windows Task Scheduler. The workflow for this script is documented here: Configure incident updates - Public Safety Incident Maps | ArcGIS for Local Government
... View more
10-10-2016
10:49 AM
|
0
|
0
|
1369
|
|
POST
|
Shivani Deonarine This is an old thread, but the answer is yes, Esri has several web app templates for crowdsourcing data that support comment threads on individual features and workflows for verifying the feedback: Crowdsource Reporter | ArcGIS for Local Government Crowdsource Polling | ArcGIS for Local Government Crowdsource Manager | ArcGIS for Local Government
... View more
10-10-2016
10:46 AM
|
0
|
0
|
916
|
|
DOC
|
Hello everyone. I'll try to detail this issue the best I can. I'm using this template to find sports facilities in Lisbon. When I use the routing functionality sometimes the end point is too far from the facility as you can see in this picture: Using DevTools in Chrome I found out the problem in a reverseGeocode call: Now I need to know the exact line where this is called. I searched...searched...and found it: .../js/library/widgets/commonHelper/directionWidgetHelper.js OK. Now what is the _esriDirectionsWidget? At this point the "only" thing I need is to find how to change distance parameter. I searched a little bit in the JavaScript API and I found out this: Directions | API Reference | ArcGIS API for JavaScript where you can find a parameter called searchOptions that prior to 3.14 was named geocoderOptions (it doesn't refer that some options are not available in the past...) Viewing the Search object there is a parameter called locationToAddressDistance Search | API Reference | ArcGIS API for JavaScript Perfect! I have a _esriDirectionsWidget.options.geocoderOptions in the code. I just need to add locationToAddressDistance parameter and it's done. No it isn't... The result was the same... Then I tryed to move on to JS API v3.14. I got multiple errors but changing from _esriDirectionsWidget.options.geocoderOptions to _esriDirectionsWidget.options.searchOptions and adding locationToAddressDistance parameter this issue was solved. I got other multiple errors and preferred to revert to JS API v3.13. Of course that I need to solve this issue for my client so I back to basics and downloaded the Directions.js file from JS API v3.13 and changed the value where is needed: _reverseGeocodePoint:function(a,c){var b=new s;if(a&&this.get("activeGeocoder")){var k=c||a,r=this.get("activeGeocoder").distance||100;this._task.outSpatialReference=this._defaultSR;this.get("map")&&(this._task.outSpatialReference=this.get("map").spatialReference);this._task.locationToAddress(a,r,e.hitch(this,function(a){a={results:[this._hydrateResult(a)],geometry:k};this.onFindResults(a);b.resolve(a)}), e.hitch(this,function(a){b.reject(a)}))}else b.reject("Geocoder:: no point or active geocoder defined");return b.promise} Before fix this I tried multiple ways to override activeGeocoder object in Directions object but without success. This post have three objectives: 1) Help people to solve if they have the same issue 2) Try to understand if someone had this issue and solve it in a cleaner way 3) Check if someone on Esri Inc side help me to understand if this is a bug, and if they pretend to solve it, or just a error from my side. and explain how to solve it. Many thanks for any help from your side. Best regards. This document was generated from the following discussion: Park Locator Template - GeoLocator distance parameter issue
... View more
10-10-2016
10:43 AM
|
0
|
0
|
1807
|
|
POST
|
Carl Holt I realize this is old, but you might get more information by asking this in the ArcGIS for Survey 123 group https://community.esri.com/groups/survey123
... View more
10-10-2016
10:29 AM
|
1
|
0
|
774
|
|
POST
|
inarqpyc: Can you provide some more details? are you using the Survey 123 app?
... View more
10-10-2016
10:22 AM
|
0
|
0
|
689
|
|
POST
|
Vicente Solis Each of the solutions listed there come with a suggested data structure either in a geodatabase or AGOL layers (as appropriate) complete with sample data. For example, here's what's included with the Crash Analysis solution: Crash Analysis | ArcGIS for State Government If that's not what you are looking for, perhaps provide a bit more information on the conference and session you attended or the goal of the schema you are interested in. There are quite a few geodatabase schemas suggested by Esri for a variety of purposes.
... View more
10-04-2016
03:03 PM
|
0
|
0
|
2017
|
|
POST
|
Vicente Solis are you looking for the Solutions site? Transportation | ArcGIS for State Government
... View more
10-04-2016
09:59 AM
|
0
|
2
|
2017
|
|
POST
|
deshegis Although I'm sure it is possible to re-write the forms part of the Reporter app, this would require extensive changes to the application code that go well beyond what can be supported by Esri. The form in Reporter is styled like the GeoForm app, but it is not a widget that can be easily swapped out for another.
... View more
09-20-2016
09:03 AM
|
0
|
0
|
724
|
|
POST
|
Patrick Forrest This sounds like it is likely a configuration issue. Could you contact Support? They will be able to help you troubleshoot this issue. Feel free to post the solution here to help others, but somethings are just easier to sort out with a conversation rather than dozens of messages back and forth My guess is that Bobby Kimball 's original issue was using a Global ID field rather than GUID field on the comment table, but it is unlikely that that would cause the issue you are seeing. More info on global identifier fields
... View more
09-16-2016
03:58 PM
|
0
|
0
|
828
|
|
POST
|
Lizd711 : I've tried to reproduce this behavior and it seems to be working for me. Could you contact Support to see if they can track down the source of this issue?
... View more
09-15-2016
10:44 AM
|
0
|
0
|
2470
|
|
POST
|
leavargas Manager is a separate application that can be used to review and update the attributes of data collected in applications such as GeoForm, Crowdsource Reporter, Survey 123, and Collector. It works the same with data from any source as long as it is stored in an editable AGOL/Portal/Server service, so even though the documentation doesn't mention GeoForm specifically, the steps apply just the same. In general, you'll want to : Create a group in your organization. Create a Manager app by sharing the group and choosing the Crowdsource Manager template. Learn more about creating apps from groups. I suggest accepting the default configuration to start with, but you can always come back and edit it later. Add the layer used for data collection to the map, save the map, and share it with your new group. This way, you can set popups (which are used for editing/display permissions), filters, symbology, etc for your data managers independent of what your data collectors need to see and access. Open the app. If there are features in the service, click one from either the table or the map to open the report details and any non-image attachments in the lower left panel. Clicking the pencil on this panel will allow you to edit the attributes. If the data contains a related table, you will also have access to a tab in this panel to review & edit that content, and if the feature has any photo attachments you will see a tab to review that content as well. These are the very basic steps covering very basic functionality. The doc goes into a lot more details on the app configuration options as well as tips for setting up the maps and layers to expose more capabilities. These all apply regardless of the source of the data.
... View more
09-15-2016
09:42 AM
|
0
|
0
|
5148
|
|
POST
|
jamatney The search is configured from the Details page of each map. It's an attribute search rather than a location search, so you'll need to specify which layers and fields you'd like to search in. I'll add that info to the doc
... View more
09-14-2016
08:55 AM
|
2
|
2
|
1660
|
|
POST
|
Have you looked at Crowdsource Reporter and Crowdsource Manager? Reporter is the public-facing application for submitting information/attachments. It supports social sign-ins as well as anonymous access. To collect photos, simply enable attachments on the feature layer. Reporter is a group app, designed to support multiple maps shared with a group in AGOL/Portal which can help your users organize their submissions into buckets. It also works very well with a single map shared to the group if you have a simple data structure. Manager is the back-end application for reviewing submissions. It works with GeoForm as well if you choose that as your front-end. Here is documentation on both apps: Crowdsource Reporter | ArcGIS for Local Government Crowdsource Manager | ArcGIS for Local Government
... View more
09-14-2016
08:23 AM
|
1
|
2
|
5148
|
|
POST
|
jamatney I see from your comment on the What's New in AGOL blog that you've found the Crowdsource Polling application. GeoNet is more searchable for others who are looking for similar solutions so I'm going to reply here rather than there. At this point in time there are no plans to allow commenters to edit their comments in in Polling, but those comments are editable through the Crowdsource Manager application which, at the next release med-September, will also allow the creation of related records. As you mentioned on the blog, related records are also now editable through the item details page. Depending on your overall workflow, Crowdsource Manager might be a better fit for your workflow. It is a group app - designed to read a collection of maps from a group in AGOL, but it works just as well if the group only has a single map in it. -Allison
... View more
09-01-2016
05:31 PM
|
2
|
0
|
1873
|
|
POST
|
David Buehler I played around with this this afternoon and came up with the following that illustrates what I was trying to describe above. This could help organize a whole series of incrementing identifiers for an app like Reporter. import arcpy
# workspace containing fc and table
workspace = r''
# Feature class needing id values in field Report_ID
fc = r''
# table that manages ID values. 3 fields:
# - RPTTYPE - text field - an index for the type of report getting an id assigned so multiple ids can be managed in one table
# - NEXTVAL - long int - the next value to use in the id sequence
# - INTERVAL - long int - the number of values to jump between id values
tbl = r''
# value to search for in the RPTTYPE field in the table to find the right sequence
inc_type = 'Parks'
# get next id value and interval from table
with arcpy.da.SearchCursor(tbl, ['NEXTVAL', 'INTERVAL'], where_clause = """RPTTYPE = '{}'""".format(inc_type)) as tblrows:
for row in tblrows:
sequence_value = row[0]
interval_value = row[1]
# Start edit session
edit = arcpy.da.Editor(workspace)
edit.startEditing(False, True)
edit.startOperation()
# find and update all features that need ids
with arcpy.da.UpdateCursor(fc, 'Report_ID', where_clause="""Report_ID is null""") as fcrows:
for row in fcrows:
# Calculate a new id value from a string and the current id value
row[0] = "ConcernID-{}".format(sequence_value)
#row[0] = "ConcernID-{:04d}".format(sequence_value) #alt: pad sequence value with 4 zeros
fcrows.updateRow(row)
# increment the sequence value by the specified interval
sequence_value += interval_value
# update the table values for next time
with arcpy.da.UpdateCursor(tbl, 'NEXTVAL', where_clause="""RPTTYPE = '{}'""".format(inc_type)) as tblrows:
for row in tblrows:
row[0] = sequence_value
tblrows.updateRow(row)
# Close edit session
edit.stopOperation()
edit.stopEditing(True)
... View more
08-29-2016
03:53 PM
|
2
|
1
|
4377
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 07-19-2018 03:01 PM | |
| 1 | 10-14-2016 01:29 PM | |
| 1 | 06-17-2016 09:29 AM | |
| 1 | 10-12-2016 02:15 PM | |
| 1 | 05-18-2017 10:57 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:23 AM
|