ERROR 001020: Input series error. Input series parameters are not complete?Python script using SAGA and arcpy...
bash aliases do not expand even with shopt expand_aliases
In the Lost in Space intro why was Dr. Smith actor listed as a special guest star?
What happens if both players misunderstand the game state until it's too late?
What is this mysterious *green square* on my Content Editor?
If I tried and failed to start my own business, how do I apply for a job without job experience?
Do the speed limit reductions due to pollution also apply to electric cars in France?
Is it possible to narrate a novel in a faux-historical style without alienating the reader?
What could cause an entire planet of humans to become aphasic?
Boss asked me to sign a resignation paper without a date on it along with my new contract
Taking an academic pseudonym?
Will the duration of traveling to Ceres using the same tech developed for going to Mars be proportional to the distance to go to Mars or not?
Reason for small-valued feedback resistors in low noise Op Amp
Can someone explain European graduate programs in STEM fields?
Disk space full during insert, what happens?
Is there any way to play D&D without a DM?
How can changes in personality/values of a person who turned into a vampire be explained?
Are all power cords made equal?
How do I narratively explain how in-game circumstances do not mechanically allow a PC to instantly kill an NPC?
Is layered encryption more secure than long passwords?
What does "south of due west" mean?
Why don't programs completely uninstall (remove all their files) when I remove them?
How do I add a strong "onion flavor" to the biryani (in restaurant style)?
How can I handle players killing my NPC outside of combat?
What does an unprocessed RAW file look like?
ERROR 001020: Input series error. Input series parameters are not complete?
Python script using SAGA and arcpy for converting 'on the fly' LAS point cloud to shapefile?Add feature layer to display with in a script tool for desktop mapping 'App'ArcPy Graph function creates empty graph output?Arcpy TabletoExcel input errorExporting jpeg around polygon boundary using Python?Optional script input parametersgetting syntax error name 'parameters' is not defined?Using output parameters as input parameters in Python Script Tools?ArcGIS Script Tool Input Parameters giving ErrorExecuteError: Failed to execute. Parameters are not valid error when SelectLayerByAttribute run in Python 2.7
I am creating graphs using ArcPy and facing this error while I give the input layer from the mxd.
In case, if I give the input from direct shapefile, then graphs are generated.
The code I have written is given by:
import arcpy, os, sys
relpath = os.path.dirname(sys.argv[0])
arcpy.env.overwriteOutput = True
#Reference mxd
mxd = arcpy.mapping.MapDocument(relpath + r"map.mxd")
index_layer1 = arcpy.mapping.ListLayers(mxd, "index_layer1")[0]
input_data = "E:PythonUtilitymap dataIndex_Layer.shp"
required_graphs = ['NCI_2011_', 'N_SI_2011_', 'N_IDDI_201', 'N_IDDI_202',
'N_CI_2014_', 'N_SI_2014_', 'N_IDDI_203']
input_template = "E:PythonUtilitygraphssample.grf"
#Getting required graphs
for x in required_graphs:
print "Creating graph of " + x
# Create the graph
graph = arcpy.Graph()
# Add a horizontal bar series to the graph
graph.addSeriesBarHorizontal(index_layer1, x)
# Specify the title of the left axis
out_graph_bmp = "E:/PythonUtility/graphs/_{}".format(x) +".jpg"
graph.graphAxis[0].title = ""
# Specify the title of the bottom axis
graph.graphAxis[2].title = ""
# Specify the title of the Graph
graph.graphPropsGeneral.title = x
# Output a graph, which is created in-memory
arcpy.MakeGraph_management(input_template, graph, "graph_{}".format(x))
# Save the graph as an image
arcpy.SaveGraph_management("graph_{}".format(x), out_graph_bmp,
"IGNORE_ASPECT_RATIO", 592, 1388)
arcpy arcmap graph
add a comment |
I am creating graphs using ArcPy and facing this error while I give the input layer from the mxd.
In case, if I give the input from direct shapefile, then graphs are generated.
The code I have written is given by:
import arcpy, os, sys
relpath = os.path.dirname(sys.argv[0])
arcpy.env.overwriteOutput = True
#Reference mxd
mxd = arcpy.mapping.MapDocument(relpath + r"map.mxd")
index_layer1 = arcpy.mapping.ListLayers(mxd, "index_layer1")[0]
input_data = "E:PythonUtilitymap dataIndex_Layer.shp"
required_graphs = ['NCI_2011_', 'N_SI_2011_', 'N_IDDI_201', 'N_IDDI_202',
'N_CI_2014_', 'N_SI_2014_', 'N_IDDI_203']
input_template = "E:PythonUtilitygraphssample.grf"
#Getting required graphs
for x in required_graphs:
print "Creating graph of " + x
# Create the graph
graph = arcpy.Graph()
# Add a horizontal bar series to the graph
graph.addSeriesBarHorizontal(index_layer1, x)
# Specify the title of the left axis
out_graph_bmp = "E:/PythonUtility/graphs/_{}".format(x) +".jpg"
graph.graphAxis[0].title = ""
# Specify the title of the bottom axis
graph.graphAxis[2].title = ""
# Specify the title of the Graph
graph.graphPropsGeneral.title = x
# Output a graph, which is created in-memory
arcpy.MakeGraph_management(input_template, graph, "graph_{}".format(x))
# Save the graph as an image
arcpy.SaveGraph_management("graph_{}".format(x), out_graph_bmp,
"IGNORE_ASPECT_RATIO", 592, 1388)
arcpy arcmap graph
1
Can you make your error text instead of an image so it can be searched? The error is saying it doesn't like one of the tool inputs, most likely the "graph_{}".format(x) parameter. Add a print statement , print "graph_{}".format(x), just before the tool is called to see what you are passing.
– Dowlers
Jul 10 '17 at 18:57
add a comment |
I am creating graphs using ArcPy and facing this error while I give the input layer from the mxd.
In case, if I give the input from direct shapefile, then graphs are generated.
The code I have written is given by:
import arcpy, os, sys
relpath = os.path.dirname(sys.argv[0])
arcpy.env.overwriteOutput = True
#Reference mxd
mxd = arcpy.mapping.MapDocument(relpath + r"map.mxd")
index_layer1 = arcpy.mapping.ListLayers(mxd, "index_layer1")[0]
input_data = "E:PythonUtilitymap dataIndex_Layer.shp"
required_graphs = ['NCI_2011_', 'N_SI_2011_', 'N_IDDI_201', 'N_IDDI_202',
'N_CI_2014_', 'N_SI_2014_', 'N_IDDI_203']
input_template = "E:PythonUtilitygraphssample.grf"
#Getting required graphs
for x in required_graphs:
print "Creating graph of " + x
# Create the graph
graph = arcpy.Graph()
# Add a horizontal bar series to the graph
graph.addSeriesBarHorizontal(index_layer1, x)
# Specify the title of the left axis
out_graph_bmp = "E:/PythonUtility/graphs/_{}".format(x) +".jpg"
graph.graphAxis[0].title = ""
# Specify the title of the bottom axis
graph.graphAxis[2].title = ""
# Specify the title of the Graph
graph.graphPropsGeneral.title = x
# Output a graph, which is created in-memory
arcpy.MakeGraph_management(input_template, graph, "graph_{}".format(x))
# Save the graph as an image
arcpy.SaveGraph_management("graph_{}".format(x), out_graph_bmp,
"IGNORE_ASPECT_RATIO", 592, 1388)
arcpy arcmap graph
I am creating graphs using ArcPy and facing this error while I give the input layer from the mxd.
In case, if I give the input from direct shapefile, then graphs are generated.
The code I have written is given by:
import arcpy, os, sys
relpath = os.path.dirname(sys.argv[0])
arcpy.env.overwriteOutput = True
#Reference mxd
mxd = arcpy.mapping.MapDocument(relpath + r"map.mxd")
index_layer1 = arcpy.mapping.ListLayers(mxd, "index_layer1")[0]
input_data = "E:PythonUtilitymap dataIndex_Layer.shp"
required_graphs = ['NCI_2011_', 'N_SI_2011_', 'N_IDDI_201', 'N_IDDI_202',
'N_CI_2014_', 'N_SI_2014_', 'N_IDDI_203']
input_template = "E:PythonUtilitygraphssample.grf"
#Getting required graphs
for x in required_graphs:
print "Creating graph of " + x
# Create the graph
graph = arcpy.Graph()
# Add a horizontal bar series to the graph
graph.addSeriesBarHorizontal(index_layer1, x)
# Specify the title of the left axis
out_graph_bmp = "E:/PythonUtility/graphs/_{}".format(x) +".jpg"
graph.graphAxis[0].title = ""
# Specify the title of the bottom axis
graph.graphAxis[2].title = ""
# Specify the title of the Graph
graph.graphPropsGeneral.title = x
# Output a graph, which is created in-memory
arcpy.MakeGraph_management(input_template, graph, "graph_{}".format(x))
# Save the graph as an image
arcpy.SaveGraph_management("graph_{}".format(x), out_graph_bmp,
"IGNORE_ASPECT_RATIO", 592, 1388)
arcpy arcmap graph
arcpy arcmap graph
edited 14 mins ago
PolyGeo♦
53.5k1780240
53.5k1780240
asked Jul 9 '17 at 14:38
Farhan MustafaFarhan Mustafa
43
43
1
Can you make your error text instead of an image so it can be searched? The error is saying it doesn't like one of the tool inputs, most likely the "graph_{}".format(x) parameter. Add a print statement , print "graph_{}".format(x), just before the tool is called to see what you are passing.
– Dowlers
Jul 10 '17 at 18:57
add a comment |
1
Can you make your error text instead of an image so it can be searched? The error is saying it doesn't like one of the tool inputs, most likely the "graph_{}".format(x) parameter. Add a print statement , print "graph_{}".format(x), just before the tool is called to see what you are passing.
– Dowlers
Jul 10 '17 at 18:57
1
1
Can you make your error text instead of an image so it can be searched? The error is saying it doesn't like one of the tool inputs, most likely the "graph_{}".format(x) parameter. Add a print statement , print "graph_{}".format(x), just before the tool is called to see what you are passing.
– Dowlers
Jul 10 '17 at 18:57
Can you make your error text instead of an image so it can be searched? The error is saying it doesn't like one of the tool inputs, most likely the "graph_{}".format(x) parameter. Add a print statement , print "graph_{}".format(x), just before the tool is called to see what you are passing.
– Dowlers
Jul 10 '17 at 18:57
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "79"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
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
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f246944%2ferror-001020-input-series-error-input-series-parameters-are-not-complete%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Geographic Information Systems Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
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
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f246944%2ferror-001020-input-series-error-input-series-parameters-are-not-complete%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
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
Required, but never shown
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
Required, but never shown
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
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
Can you make your error text instead of an image so it can be searched? The error is saying it doesn't like one of the tool inputs, most likely the "graph_{}".format(x) parameter. Add a print statement , print "graph_{}".format(x), just before the tool is called to see what you are passing.
– Dowlers
Jul 10 '17 at 18:57