Skip to content

Commit

Permalink
Added get map bbox function
Browse files Browse the repository at this point in the history
  • Loading branch information
Mappboy committed Sep 18, 2016
1 parent b26d4be commit 73142b1
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion frisson/frisson.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,4 +138,16 @@ def georeference(input_filename, output_filename, control_points, opts):


def get_map_bbbox(filename):
pass
"""
$GDAL_PATH/gdalinfo $INPUT_WARPED_TIF
$DO_STUFF_TO_PARSE "Lower Left" "Upper Right"
:param filename:
:return:
"""
args = [
path.join(environ["GDAL_HOME"], "gdalinfo"),
filename,
"Lower Left",
"Upper Right"
]
return call(args)

0 comments on commit 73142b1

Please sign in to comment.