ValueError SUGGEST in arcpy.CreateGeocodeSDDraft in Python
up vote
-1
down vote
favorite
I working in a Python packae to automate some processes in ArcGIS Server. We need to re-create some Geocode Service using arcpy. The problem I am facing is using arcpy.createGeocodeSDDraft(), If I try to add the supported_operations in this way ['GEOCODE','REVERSE_GEOCODE','SUGGEST'] the function raise a ValueError becasue of the SUGGEST value, it does not recognice that value, if I remove SUGGEST from the list the sddraft is created with no problems. According to the documentation SUGGEST is valid value for the list.
Any clue about this problem??
arcgis geocode arcpy
add a comment |
up vote
-1
down vote
favorite
I working in a Python packae to automate some processes in ArcGIS Server. We need to re-create some Geocode Service using arcpy. The problem I am facing is using arcpy.createGeocodeSDDraft(), If I try to add the supported_operations in this way ['GEOCODE','REVERSE_GEOCODE','SUGGEST'] the function raise a ValueError becasue of the SUGGEST value, it does not recognice that value, if I remove SUGGEST from the list the sddraft is created with no problems. According to the documentation SUGGEST is valid value for the list.
Any clue about this problem??
arcgis geocode arcpy
Not sure why you are getting an error but it says that ['GEOCODE','REVERSE_GEOCODE','SUGGEST'] is the default value for the supported_operation parameter meaning that if that is the value you want then you can just leave that parameter out of the function call.
– BigGerman
Nov 9 at 17:09
This looks like a question better asked at the Geographic Information Systems Stack Exchange.
– PolyGeo
2 days ago
@BigGerman To apply this workaround is not an option . Sooner or later I should use SUGGEST and I will face the same problem.
– Javier
yesterday
add a comment |
up vote
-1
down vote
favorite
up vote
-1
down vote
favorite
I working in a Python packae to automate some processes in ArcGIS Server. We need to re-create some Geocode Service using arcpy. The problem I am facing is using arcpy.createGeocodeSDDraft(), If I try to add the supported_operations in this way ['GEOCODE','REVERSE_GEOCODE','SUGGEST'] the function raise a ValueError becasue of the SUGGEST value, it does not recognice that value, if I remove SUGGEST from the list the sddraft is created with no problems. According to the documentation SUGGEST is valid value for the list.
Any clue about this problem??
arcgis geocode arcpy
I working in a Python packae to automate some processes in ArcGIS Server. We need to re-create some Geocode Service using arcpy. The problem I am facing is using arcpy.createGeocodeSDDraft(), If I try to add the supported_operations in this way ['GEOCODE','REVERSE_GEOCODE','SUGGEST'] the function raise a ValueError becasue of the SUGGEST value, it does not recognice that value, if I remove SUGGEST from the list the sddraft is created with no problems. According to the documentation SUGGEST is valid value for the list.
Any clue about this problem??
arcgis geocode arcpy
arcgis geocode arcpy
asked Nov 8 at 10:04
Javier
3121411
3121411
Not sure why you are getting an error but it says that ['GEOCODE','REVERSE_GEOCODE','SUGGEST'] is the default value for the supported_operation parameter meaning that if that is the value you want then you can just leave that parameter out of the function call.
– BigGerman
Nov 9 at 17:09
This looks like a question better asked at the Geographic Information Systems Stack Exchange.
– PolyGeo
2 days ago
@BigGerman To apply this workaround is not an option . Sooner or later I should use SUGGEST and I will face the same problem.
– Javier
yesterday
add a comment |
Not sure why you are getting an error but it says that ['GEOCODE','REVERSE_GEOCODE','SUGGEST'] is the default value for the supported_operation parameter meaning that if that is the value you want then you can just leave that parameter out of the function call.
– BigGerman
Nov 9 at 17:09
This looks like a question better asked at the Geographic Information Systems Stack Exchange.
– PolyGeo
2 days ago
@BigGerman To apply this workaround is not an option . Sooner or later I should use SUGGEST and I will face the same problem.
– Javier
yesterday
Not sure why you are getting an error but it says that ['GEOCODE','REVERSE_GEOCODE','SUGGEST'] is the default value for the supported_operation parameter meaning that if that is the value you want then you can just leave that parameter out of the function call.
– BigGerman
Nov 9 at 17:09
Not sure why you are getting an error but it says that ['GEOCODE','REVERSE_GEOCODE','SUGGEST'] is the default value for the supported_operation parameter meaning that if that is the value you want then you can just leave that parameter out of the function call.
– BigGerman
Nov 9 at 17:09
This looks like a question better asked at the Geographic Information Systems Stack Exchange.
– PolyGeo
2 days ago
This looks like a question better asked at the Geographic Information Systems Stack Exchange.
– PolyGeo
2 days ago
@BigGerman To apply this workaround is not an option . Sooner or later I should use SUGGEST and I will face the same problem.
– Javier
yesterday
@BigGerman To apply this workaround is not an option . Sooner or later I should use SUGGEST and I will face the same problem.
– Javier
yesterday
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53205427%2fvalueerror-suggest-in-arcpy-creategeocodesddraft-in-python%23new-answer', 'question_page');
}
);
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Not sure why you are getting an error but it says that ['GEOCODE','REVERSE_GEOCODE','SUGGEST'] is the default value for the supported_operation parameter meaning that if that is the value you want then you can just leave that parameter out of the function call.
– BigGerman
Nov 9 at 17:09
This looks like a question better asked at the Geographic Information Systems Stack Exchange.
– PolyGeo
2 days ago
@BigGerman To apply this workaround is not an option . Sooner or later I should use SUGGEST and I will face the same problem.
– Javier
yesterday