def generate_geojson(hasc): H = Hasc(hasc) return Response(H.json("geojson"), mimetype='application/json')
def find_nearby_areas(hasc): H = Hasc(hasc) return H.near()
def generate_bbox(hasc): H = Hasc(hasc) return H.bbox()
def generate_centroid(hasc): H = Hasc(hasc) return H.center()
def list_subunits(hasc): H = Hasc(hasc) return H.subunits()