Skip to content

Instantly share code, notes, and snippets.

@arajkumar
Last active February 23, 2022 12:07
Show Gist options
  • Save arajkumar/1b8b48501041d4e194acd23eb3351e76 to your computer and use it in GitHub Desktop.
Save arajkumar/1b8b48501041d4e194acd23eb3351e76 to your computer and use it in GitHub Desktop.
FMB Sketch
SURVEY_NUM=$1
curl 'https://collabland-tn.gov.in/rest/Collabland/FMBMapServicePDF' \
--data-raw "state=33&giscode=S1204004${SURVEY_NUM}&plotno=&scale=0&width=500&height=500" \
--compressed | jq -r '.success' | base64 -D > $PWD/FMB-${SURVEY_NUM}.pdf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment