예제 #1
0
def generate_geojson(hasc):
    H = Hasc(hasc)
    
    return Response(H.json("geojson"),  mimetype='application/json')
예제 #2
0
def find_nearby_areas(hasc):
    H = Hasc(hasc)
    return H.near()
예제 #3
0
def generate_bbox(hasc):
    H = Hasc(hasc)
    return H.bbox()
예제 #4
0
def generate_centroid(hasc):
    H = Hasc(hasc)
    return H.center()
예제 #5
0
def list_subunits(hasc):
    H = Hasc(hasc)
    return H.subunits()