|
|
|
@ -211,8 +211,9 @@ def query(filter_dummy, query):
|
|
|
|
|
r.close()
|
|
|
|
|
return json.dumps(l)
|
|
|
|
|
|
|
|
|
|
@app.route(baseURL+'/map/<containerID>/<annotate>', defaults={'annotate': None})
|
|
|
|
|
def getMap(containerID, annotate):
|
|
|
|
|
@app.route(baseURL+'/map/<containerID>')
|
|
|
|
|
@app.route(baseURL+'/map/<containerID>/<annotate>')
|
|
|
|
|
def getMap(containerID, annotate=None):
|
|
|
|
|
s = 'select map, overlay from containers where id = :id;'
|
|
|
|
|
r = db_engine.execute(text(s), id=containerID)
|
|
|
|
|
l = []
|
|
|
|
|