first pass on overpass api, still getting an error with columns

This commit is contained in:
John Krauss
2017-01-03 15:39:01 +00:00
parent d7552031f6
commit ff50c5e2bf
8 changed files with 88 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
CREATE OR REPLACE FUNCTION cdb_observatory.OBS_GetOverpass(query text)
RETURNS table (lat Numeric, lon Numeric, "type" TEXT, id Numeric, tags TEXT) as $$
from observatory.osm import get_overpass
return get_overpass(query)
$$ LANGUAGE plpythonu;