POST
|
Hi all, I am trying to create a script to Geocode a list of addresses from a .CSV file, but keep getting an Execute Error. I am using the ArcGIS World Geocoding Service as my locator. I am attempting to run this through jupyter Note books. The first set of parameters seem to take no problem: When I add in the last parameter I get an error: Anyone have any idea what I am doing wrong? I also want to add Global IDs, and finally Append this layer to an existing one.
... View more
05-07-2020
11:23 AM
|
0
|
0
|
414
|
POST
|
I recently update my Survey123 app on my Windows 7 laptop. When I open the application I get a pop up that says "Unable to connect. Position source access error". When I click "Ok", none of the buttons for the surveys I currently have downloaded will work. I can update and download new forms. But when i click on a survey nothing happens. I am using version 3.5.177.
... View more
09-23-2019
07:22 AM
|
0
|
1
|
361
|
BLOG
|
Hello all, Is it possible to pass multiple filed parameters from the map into one field in the survey? For example: In my map I have a field called "From Location" and a field called "To Location". I would like to pass both into one field in the Survey123 form called "From/To". So far I have tried something like "field:from_to=({From_Location}&" "&{To_Location})" Please let me know if this is possible and what my syntax should look like. Thank you
... View more
07-29-2019
07:46 AM
|
1
|
0
|
49343
|
POST
|
I have a survey in which I have a geopoint question set up to be required, forcing users to set their location. However, You are able to submit with out even clicking on the geopoint question. This needs to be a requirement because half of the purpose of the survey is to be able to locate where it was filled out for future reference. Is there any known issue with make the geopoint a required field?
... View more
04-18-2019
01:50 PM
|
0
|
1
|
259
|
POST
|
I have a survey in which the "today()" default does not work, even though I have this set up in my form. Has there been any recent changes that may have caused this. Below is a screen shot of what I have: Does the fact that I made it required have anything to do with it?
... View more
04-18-2019
01:39 PM
|
1
|
5
|
3912
|
POST
|
I am trying to figure out a way to set up some email notifications through the app I have built in App Studio. The app is built over a Survey123 form. The first email I want to be sent is to an admin, who would automatically get an email any time a new form was submitted. I was able to setup a webhook to send an email, but the email will only send if the form is submitted via Survey123. No email will send however if you submit the form through the app or the AppStudio Player app. I have also up an auto email for when a form is edited showing a certain status. One of the fields is submission status, so when the status is set to actioned, an email notification is sent out to a specified email group. Same situation as above. The email is only sent when the form is filled out in Survey123, and not in the AppStudio, or stand alone app. Also, the "relevant" items in Survey123 show up in the AppStudio and stand alone app no matter what option is selected. Ex. if an item is set to be relevant only if "yes" is selected from a previous question, the relevant question does not even appear in Survey123. However, in AppStudio Player, and in the stand alone app itself, the relevant question displays no matter the answer given, or even if it is left blank. Any ideas on why this capability does not push through?
... View more
04-08-2019
01:26 PM
|
0
|
1
|
497
|
POST
|
Hello Friends, I am trying to sign and build an app for iOS in Esri AppStudio but I the directions in the doc (Sign your app—AppStudio for ArcGIS | ArcGIS ) don't outline the process very well. The Bundle Id auto populates. Where do I find, and what is a Provisioning Profile? All I can find on it is, "Provisioning profile—Indicates the devices where you plan to run your app", and "Download your mobile provisioning profile (for example, ios_developer.mobileprovision) from the iOS Dev Center." Same questions when it comes to Cloud Make??? I am attempting to do this on my Dell laptop. I do have an iPad as well if that is necessary.
... View more
03-28-2019
02:23 PM
|
0
|
3
|
1095
|
POST
|
I am trying to create a script to: Geocode a .CSV file using ArcGIS World Geocoding Service Add global IDS Append the new feature layer to an existing feature layer Here is the code I have come up with by going through the various tool reference's # Import module
import arcpy
import sys
import os
# Set work environment
arcpy.env.workspace = r"C:\Users\vmrenfor\EIRP\EIRP_Sewer_Locates\EIRP_Sewer_Locates\Dapps 2019\Dapps 2019.gdb"
# Set local variables:
address_table = r"C:\Users\vmrenfor\CSVs\CIVIC\Dapp#_16365.csv"
address_locator = "ArcGIS_World_Geocoding_Service.loc"
address_fields = "Address Address;City City;County County;State State;ZIP Postal Code"
geocode_result = "Dapp16365"
#Geocode Addresses from csv
arcpy.GeocodeAddresses_geocoding(address_table, address_locator, address_fields,
geocode_result, 'STATIC')
#Add Global IDs
arcpy.env.workspace = r"C:\Users\vmrenfor\EIRP\EIRP_Sewer_Locates\EIRP_Sewer_Locates\Dapps 2019\Dapps 2019.gdb"
arcpy.AddGlobalIDs_management("Dapp16365")
#Append
arcpy.env.workspace = r"https://services.arcgis.com/T2graiaSQnlmwwmp/arcgis/rest/services/2019_Taplin/FeatureServer"
arcpy.Append_management(["Dapp16365"],
"Sewer Locate Card")
But I get the following error: Traceback (most recent call last):
File "<string>", line 17, in <module>
File "c:\program files\arcgis\pro\Resources\arcpy\arcpy\geocoding.py", line 332, in GeocodeAddresses
raise e
File "c:\program files\arcgis\pro\Resources\arcpy\arcpy\geocoding.py", line 329, in GeocodeAddresses
retval = convertArcObjectToPythonObject(gp.GeocodeAddresses_geocoding(*gp_fixargs((in_table, address_locator, in_address_fields, out_feature_class, out_relationship_type, country, location_type, category), True)))
File "c:\program files\arcgis\pro\Resources\arcpy\arcpy\geoprocessing\_base.py", line 496, in <lambda>
return lambda *args: val(*gp_fixargs(args, True))
arcgisscripting.ExecuteError: Failed to execute. Parameters are not valid.
ERROR 000732: Input Address Locator: Dataset ArcGIS_World_Geocoding_Service.loc does not exist or is not supported
ERROR 000005: Could not open the address locator.
Failed to execute (GeocodeAddresses).
So it appears I am not properly accessing the geocoder to begin with. Skipping ahead to the Append, I am not sure how to include matching the schema's? The tool reference guide is pretty confusing. In the Geoprocessing tool window I have: GlobalID GlobalID Status USER_Sewer_Status Address USER_Address Work_Group USER_Work_Group City USER_City Gas_Constr USER_Gas_Construction_Status .............
... View more
01-29-2019
08:59 AM
|
0
|
1
|
3757
|
POST
|
>>> Import arcpy
>>> Import datetime
>>> now = datetime.datetime.now()
>>> arcpy.env.workspace = "https://services.arcgis.com/T2graiaSQnlmwwmp/arcgis/rest/services/Target_Address_7_6_Backup/FeatureServer"
>>> arcpy.env.maintainAttachments = True
>>> arcpy.TeatrueClassToFeatureClass_conversion("Target Address New",
r"C:\Users\vmrenfor\Consumers Folders\VSR\BackupExports\VSR Back up\VSR Back up.gdb",
"Target_Address_{}".format(now.strftime("%m_%d_%Y")))
Sorry, I'm not a coder, I just script a lot. So maybe that is better?
... View more
01-04-2019
10:21 AM
|
0
|
1
|
599
|
POST
|
>>> Import arcpy
>>> Import datetime
>>> now = datetime.datetime.now()
>>> arcpy.env.workspace = "https://services.arcgis.com/T2graiaSQnlmwwmp/arcgis/rest/services/Target_Address_7_6_Backup/FeatureServer"
>>> arcpy.TeatrueClassToFeatureClass_conversion("Target Address New",
r"C:\Users\vmrenfor\Consumers Folders\VSR\BackupExports\VSR Back up\VSR Back up.gdb",
"Target_Address_{}".format(now.strftime("%m_%d_%Y")))
>>> arcpy.env.maintainAttachments = True Is this what my script should look like? Attachments are still not coming through.
... View more
01-04-2019
09:44 AM
|
0
|
3
|
599
|
POST
|
Unfortunately I don't have the "..." option. See my comment screen below.
... View more
01-04-2019
09:24 AM
|
0
|
1
|
244
|
POST
|
Hello, I am trying to field calculate selected features only in ArcGIS Online. Alternatively, I suppose I could also use an if type expression to alter only blank/null fields. Is this possible, and if so how?
... View more
12-28-2018
09:03 AM
|
0
|
7
|
2016
|
POST
|
I added the parentheses at the end on the function and that allowed it script to run. The resulting Feature Class does not contain the attachments though, where as when I ran the script without the date time part the attachments all came through.
... View more
12-18-2018
11:32 AM
|
0
|
6
|
599
|
POST
|
Thanks for the link! Yes, I am specifying a feature service as the work space because that is where I want to pull from. The layer was created in AGO, so it does not reside in a geodatabase on my computer anywhere.
... View more
12-18-2018
11:28 AM
|
0
|
0
|
244
|
Title | Kudos | Posted |
---|---|---|
1 | 07-29-2019 07:46 AM | |
1 | 04-18-2019 01:39 PM | |
1 | 09-28-2018 07:19 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|