I am on an ArcGIS Pro account
I am trying to create assignments from a feature using the examples from GitHub and keep getting a KeyError 'Location'. I am a novice with python so any help will be greatly appreciated!!
Solved! Go to Solution.
The location field can be any text value, it doesn't have to be an address. If you have a code or you could use that, or just hard-code it to something in your script.
@JMox does your feature layer have a field called "Location" in it? If not that's why you'd see this error. You may need to use another field. The fields are also case sensitive.
I have been wrestling with the location. My points are in the middle of nowhere and don't have an address. When I do geocode, they all have the same address.
How do I deal with this
The location field can be any text value, it doesn't have to be an address. If you have a code or you could use that, or just hard-code it to something in your script.
Thanks!!