getboundingpolygon implemented, only handles rgrid/cgrid and polygon is just the outline of grid