Just found out that there is a panchayat boundaries explorer on Bhuvan:
https://bhuvan-panchayat3.nrsc.gov.in/ . Only raster images, no vector
boundaries.

Even more interesting is that there is a graphql API that i spotted while
inspecting the network requests. Try out the following curl requests in the
terminal:

List of districts in Assam (state code 18)

curl 'https://bhuvan-panchayat3.nrsc.gov.in/graphql' \
> -H 'Content-Type: application/json' \
> --data-binary $'{"query":"query DistrictQuery($condition:
> DistrictCondition!) {allDistricts(orderBy: DTNAME_ASC, condition:
> $condition) { nodes { dtcode dtname
> }}}","variables":{"condition":{"stcode":"18"}}}'


List of blocks in Assam/Barpeta (state code 18, district code 303)

curl 'https://bhuvan-panchayat3.nrsc.gov.in/graphql' \
> -H 'Content-Type: application/json' \
> --data-binary $'{"query":"query BlockQuery( $condition: BlockCondition!) {
> allBlocks(orderBy: BPNAME_ASC, condition: $condition) { nodes { bpcode
> bpname } }}","variables":{"condition":{"dtcode":"303","stcode":"18"}}}'
>

-- 
Datameet is a community of Data Science enthusiasts in India. Know more about 
us by visiting http://datameet.org
--- 
You received this message because you are subscribed to the Google Groups 
"datameet" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to datameet+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/datameet/CA%2BGKQr0FU4hKb2iX-qsy%2BspDT9pO49TSi1qdEHVRZmVfK2m7vQ%40mail.gmail.com.

Reply via email to