|
POST
|
I'm not sure how this happened or how to fix it. I'm working in Survey123 Connect. I've created this survey a while ago. But suddenly the web form is not loading. The loader never goes away. I don't see any errors in in Connect and it also publishes without errors. Not sure if this helps but here's what I'm seeing in FF dev tools:
... View more
12-23-2021
11:31 AM
|
0
|
1
|
2165
|
|
POST
|
Hi @ShanaBritt , Yes, I've seen that too. It was in my script already, actually. I understood that it should be used especially in a stand-alone script outside of Pro.
... View more
12-20-2021
08:04 AM
|
0
|
0
|
9523
|
|
POST
|
@ABishopThanks, that is an option I have to explore. I just stumbled onto something that works. Run the Geocode Addresses geoprocessing tool with your parameters. Right click the "completed" green ribbon > Copy Python Command. Then copy this into your script. This is how it looks after setting the results to variables. Funny, the URL never changed. But the parameters don't look the same as the help page example. #ArcGIS World Geocoding Service URL
locator = "https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/ArcGIS World Geocoding Service"
#Locator parameters
fieldMap = ("'Address or Place' adcal VISIBLE NONE;Address2 <None> VISIBLE NONE;Address3 <None> VISIBLE NONE;Neighborhood <None> VISIBLE NONE;City city VISIBLE NONE;County <None> VISIBLE NONE;State state VISIBLE NONE;ZIP zip VISIBLE NONE;ZIP4 <None> VISIBLE NONE;Country <None> VISIBLE NONE")
gcName = "wasteRecyclingReport_geocode"
in_table = os.path.join(defaultDB, "wasteRecyclingReport")
geocodeResult = os.path.join(defaultDB, gcName)
arcpy.geocoding.GeocodeAddresses(in_table,locator,fieldMap, geocodeResult, "STATIC", None, "ROUTING_LOCATION", None, "ALL")
... View more
12-16-2021
01:48 PM
|
1
|
0
|
9536
|
|
POST
|
Hi @VictorBhattacharyya , Are you aware of any tutorials on this?
... View more
12-16-2021
12:56 PM
|
0
|
2
|
3498
|
|
POST
|
@ShanaBrittHello, in this script they use arcpy.mapping.CreateGISServerConnectionFile(). This is apparently an Arcpy Mapping function used in ArcMap. I'm using Pro and the script errors on that function: AttributeError: module 'arcpy' has no attribute 'mapping' There's since been an idea posted about getting this to work in Pro. Just checking if there was any news on this. https://community.esri.com/t5/arcgis-pro-ideas/add-creategisserverconnectionfile-to-arcpy-for/idi-p/1099996
... View more
12-15-2021
02:23 PM
|
0
|
1
|
2916
|
|
POST
|
Hello, I'm using example 4 of this help page to go off of: https://pro.arcgis.com/en/pro-app/latest/tool-reference/geocoding/geocode-addresses.htm# Excuse my ignorance, but I'm not sure what the full URL should be to access the ArcGIS World Geocoding Service. I'm guessing this is just a base URL in the example, so I'm looking for some direction as to what a complete URL would like? #ArcGIS World Geocoding Service URL
locator = r"https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/ArcGIS World Geocoding Service"
#Locator parameters
fieldMap = ("\'Address or Place\' adcal VISIBLE NONE;Address2 <None> VISIBLE NONE;Address3 <None> VISIBLE NONE;" +
"Neighborhood <None> VISIBLE NONE;City city VISIBLE NONE;County <None> VISIBLE NONE;" +
"State state VISIBLE NONE;ZIP ZIP zip VISIBLE NONE;ZIP4 <None> VISIBLE NONE;" +
"Country <None> VISIBLE NONE")
gcName = "wasteRecyclingReport_geocode"
geocodeResult = os.path.join(out_location, gcName)
arcpy.geocoding.GeocodeAddresses(intable, locator, fieldMap, geocodeResult) If you run that you get: ---------------------------------------------------------------------------
ExecuteError Traceback (most recent call last)
~\AppData\Local\Temp/ipykernel_15300/42733642.py in <module>
7 gcName = "wasteRecyclingReport_geocode"
8 geocodeResult = os.path.join(out_location, gcName)
----> 9 arcpy.geocoding.GeocodeAddresses(intable, locator, fieldMap, geocodeResult)
C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\geocoding.py in GeocodeAddresses(in_table, address_locator, in_address_fields, out_feature_class, out_relationship_type, country, location_type, category, output_fields)
517 return retval
518 except Exception as e:
--> 519 raise e
520
521 @gptooldoc('PackageLocator_geocoding', None)
C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\geocoding.py in GeocodeAddresses(in_table, address_locator, in_address_fields, out_feature_class, out_relationship_type, country, location_type, category, output_fields)
514 from arcpy.arcobjects.arcobjectconversion import convertArcObjectToPythonObject
515 try:
--> 516 retval = convertArcObjectToPythonObject(gp.GeocodeAddresses_geocoding(*gp_fixargs((in_table, address_locator, in_address_fields, out_feature_class, out_relationship_type, country, location_type, category, output_fields), True)))
517 return retval
518 except Exception as e:
C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\geoprocessing\_base.py in <lambda>(*args)
510 val = getattr(self._gp, attr)
511 if callable(val):
--> 512 return lambda *args: val(*gp_fixargs(args, True))
513 else:
514 return convertArcObjectToPythonObject(val)
ExecuteError: Failed to execute. Parameters are not valid.
ERROR 000005: Could not open the address locator.
Failed to execute (GeocodeAddresses).
... View more
12-10-2021
09:19 AM
|
0
|
4
|
9614
|
|
POST
|
It looks like you can use the function with ESRI World Geocoding Service according to example 4 from that page? I'm basically looking to do the same thing as @mpboyle. Out of ignorance, I can't figure out what to use for the locator URL. I have ArcGIS Developer account and I'm able to generate an API key, but I don't know enough to be able to utilize it. This is how it looks in the example, but that URL throws a 403. locator = r"https://geocode-api.arcgis.com/arcgis/rest/services/World/GeocodeServer/"
... View more
12-09-2021
02:20 PM
|
0
|
0
|
2075
|
|
BLOG
|
Hi @IsmaelChivite There's a prompt that shows up in my published web survey when an address isn't recognized. I'm using v. 3.13. I went into organizational settings > utility services and made sure our geocoding service was listed. It is, and it is even ordered on top of the ESRI World Geocoding Service. And I'm also pulling addresses from a CSV. With all these settings in place I can't seem to avoid this prompt that will surely confuse the end-users.
... View more
12-08-2021
07:04 AM
|
0
|
0
|
16443
|
|
POST
|
Hi @BarbaraWebster1 , I suspected the geocoder. So, is my only option to change all the addresses the don't match what I'm assuming is the ArcGIS World Geocoding Service addresses? Or is there a way to change the geocoder? We have one we use in our maps and apps: Edit: I've since found this tips and tricks doc that talks about geocoding. And our organization's geocoding utility service is already configured with a local geocoding service. The prompt suggestions, however, do not seem to honor the Will County service?
... View more
12-07-2021
11:02 AM
|
0
|
4
|
3223
|
|
POST
|
So it appears to be an AGOL issue if you fixed any issue in Survey123. I have a suspicion the error is because you are using special characters in your field names-- you have accent marks on some letters (e.g. Razón). I'd suggest creating new fields without the accent marks or any other special character(s). Have you seen this help doc? https://support.esri.com/en/technical-article/000016280
... View more
12-07-2021
10:47 AM
|
0
|
0
|
2667
|
|
POST
|
Ok, I'm trying to fill in the blanks. Hit save in your XLSForm. If you don't already have it open, open your survey in Survey123 Connect app. Do you see any errors? Or when you Publish your survey to AGOL from Connect are you seeing any errors?
... View more
12-07-2021
08:16 AM
|
0
|
1
|
2683
|
|
POST
|
Hi, I'm working in Survey123 Connect and the end user will be filling the survey out using the web form. I don't necessarily have an error, but what I'm seeing I can't readily explain. I have a CSV file that the XLSForm is pulling from to autocomplete contact info fields, which includes addresses. This contact info is in a group. Additionally, I do not have a map question included in the survey, so to get the coordinates I have a hidden geopoint field that gathers that info. In the web form, when you select a business from the dropdown the contact info gets automatically filled out as it should, but then this suggestive text suddenly appears. I have no idea what's causing this. I used the FireFox dev tool to see what's behind this, and there is apparently a search-widget suggestion causing this. There is no need for this since I already have all the addresses I need in the CSV file. How do I stop this from happening? I've also attached my XLSForm. Thanks for any help! Edit: I've also opened all the sub-files in my survey folder-- C:>users>me >ArcGIS>My Survey Designs> Unless I'm missing something, the only reference to the word "search" was in the *.webform file. And I have no idea if that's related. "id": "/Waste_Recycling_Report/intro/location1",
"inputTools": [
"pin",
"search",
"locate"
],
... View more
12-06-2021
12:51 PM
|
0
|
7
|
3277
|
|
POST
|
Could you explain your survey and data a bit more? If you don't have a map question your data might be showing up at 0,0 (over near Africa) when you view it in the map viewer.
... View more
12-06-2021
12:30 PM
|
0
|
1
|
2701
|
|
POST
|
Hi Barbara, Thank you! That's what I was looking for. When testing, the point was geocoded correctly. But, something strange is also happening. There is a hint of sorts being generated in the form when you put in an address. "Looking for ...?" appears where in the XLSForm I have the geopoint row. The only thing I can think of that may have an impact on this behavior is that the address field is in a group with other contact info and that info is autocompleted and pulled from a CSV table . But still, I don't know where this text "Looking for" is coming from? The XLSXForm is attached. Edit: I've started another post regarding this: https://community.esri.com/t5/arcgis-survey123-questions/survey123-search-widget-suggest-show/m-p/1123135#M39064
... View more
12-06-2021
08:42 AM
|
0
|
1
|
3016
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | a month ago | |
| 1 | 05-04-2026 08:45 AM | |
| 1 | 04-20-2026 01:20 PM | |
| 1 | 07-24-2025 01:27 PM | |
| 1 | 11-13-2025 08:22 AM |
| Online Status |
Offline
|
| Date Last Visited |
yesterday
|