Access to borders of raster map for python