Module Import alias ImportFrom alias ImportFrom alias alias alias alias alias alias alias Import alias Import alias Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Print Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str FunctionDef arguments args defaults body Return Call NameLoad Str decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args defaults body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd Str NameLoad Str Return Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args defaults body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str NameLoad Str NameLoad Str NameLoad Str NameLoad Str NameLoad Str Call NameLoad NameLoad Str Return Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Return Call NameLoad Str NameLoad decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args defaults body Return Str decorator_list Call AttributeLoad NameLoad attr Str If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A os datetime datetime flask Flask request flash url_for redirect render_template abort N/A pg N/A json N/A app N/A Flask __name__ N/A N/A N/A N/A app config from_pyfile map.cfg N/A N/A dir N/A app config N/A db N/A N/A pg connect N/A N/A app config N/A APP_NAME N/A N/A app config N/A PG_DB_HOST N/A N/A app config N/A PG_DB_PORT None None N/A N/A app config N/A PG_DB_USERNAME N/A N/A app config N/A PG_DB_PASSWORD index N/A N/A N/A N/A N/A N/A render_template index.html N/A N/A N/A app route / parks N/A N/A N/A N/A N/A table_name N/A N/A app config N/A APP_NAME N/A result N/A N/A db query N/A N/A SELECT gid,name,ST_X(the_geom) as lon,ST_Y(the_geom) as lat FROM  table_name ; N/A N/A str N/A N/A json dumps N/A list N/A N/A result dictresult N/A N/A N/A app route /parks within N/A N/A N/A N/A N/A table_name N/A N/A app config N/A APP_NAME N/A lat1 N/A str N/A N/A N/A request args get lat1 N/A lon1 N/A str N/A N/A N/A request args get lon1 N/A lat2 N/A str N/A N/A N/A request args get lat2 N/A lon2 N/A str N/A N/A N/A request args get lon2 N/A limit 25 N/A result N/A N/A db query N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A SELECT gid,name,ST_X(the_geom) as lon,ST_Y(the_geom) as lat FROM  table_name  t WHERE ST_Intersects(         ST_MakeEnvelope( lon1 ,  lat1 ,  lon2 ,  lat2 , 4326), t.the_geom) LIMIT  N/A str limit ; N/A N/A str N/A N/A json dumps N/A list N/A N/A result dictresult N/A N/A N/A app route /parks/within serveStaticResource N/A N/A resource N/A N/A N/A N/A send_from_directory static/ resource N/A N/A N/A app route /static/<path:resource> test N/A N/A N/A N/A N/A <strong>It's Alive!</strong> N/A N/A N/A app route /test N/A N/A __name__ __main__ N/A N/A N/A N/A app run