final JSONObject jsonLayer = requestData.getJSONObject("attributes").getJSONObject("mapDef").getJSONArray("layers")
.getJSONObject(0).getInternalObj();
for (String gmlDataName : new String[]{"spearfish-streams-v2.gml", "spearfish-streams-v311.gml"}) {
jsonLayer.remove("url");
jsonLayer.accumulate("url", "http://" + host + ":23432" + "/gml/" + gmlDataName);
Values values = new Values(requestData, template, parser, getTaskDirectory(), this.requestFactory, new File("."));
template.getProcessorGraph().createTask(values).invoke();
@SuppressWarnings("unchecked")