Пример #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()