# How to draw state boundaries within the India

**URL:** https://forum.generic-mapping-tools.org/t/how-to-draw-state-boundaries-within-the-india/2137
**Category:** Q&A
**Tags:** gmt
**Created:** [September 27, 2021, 1:56pm UTC](https://forum.generic-mapping-tools.org/t/how-to-draw-state-boundaries-within-the-india/2137 "2021-09-27T13:56:52Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Brock1729](https://avatars.discourse-cdn.com/v4/letter/b/74df32/32.png) [@Brock1729](https://forum.generic-mapping-tools.org/u/Brock1729)
#### Post date: [September 27, 2021, 1:56pm UTC](https://forum.generic-mapping-tools.org/t/how-to-draw-state-boundaries-within-the-india/2137/1 "2021-09-27T13:56:53Z")

</div>

Hi,  
i have a problem with the state boundaries addition in the bathymetry plot of South India. i am using GMT 6.0.0 [64-bit]. In the coast modules i have seen the N argument which helps in drawing national boundaries, but for state boundaries it is specified that it is only within America, still i have added N1 and N2 arguments & it’s not working, if i have to draw state boundaries in India then what will be the procedure or syntex?

Here’s my Script:

```
#!/bin/sh
#gebco_2020_n6.0_s-18.0_w110.0_e142.0.nc
#Code for Plotting the Bathymetry from grid file
gmt begin region_Plot ps

### bathymerty grid and imaging ###
gmt basemap -R72/82/8/22 -JM6.5i -Ba4f0.5g1 \
-BWSne+t"Topography map of the South India Western Ghats"
gmt grdimage gebco_2021_n22.0_s8.0_w72.0_e82.0.nc \
-R72/82/8/22 -JM6.5i -I -Cglobe
gmt colorbar -Dx8c/-1.19c+w20c/0.3c+jBC+h -B500+l"Relief(in m)"

### station points marking ###
cat station3 |awk '{print $4,$3}' > tmp4.xy
gmt psxy tmp4.xy -R72/82/8/22 -JM6.5i -St0.25i -Gblue

### plotting lines ###
cat line |awk '{print $2,$1}' > t.dat
gmt plot t.dat -W2p,red
cat line2 |awk '{print $2,$1}' >> t.dat
gmt plot t.dat -W2p,red

### region marking ###
cat station4 |awk '{print $2,$1,$3,$4,$5,$6}' > label5.dat
gmt text label5.dat -R72/82/8/22 -JM6.5i -F+f+j+a -D0.12i/0i

### adding black coastlines/boundaries ###
gmt coast -R72/82/8/22 -JM6.5i -N1/thickest -N2/thinnest -W0.15p,black -Dh

gmt end show
```

---

<div class="post-metadata">

### Author: ![Joaquim](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/joaquim/32/16_2.png) [@Joaquim](https://forum.generic-mapping-tools.org/u/Joaquim)
#### Post date: [September 27, 2021, 10:39pm UTC](https://forum.generic-mapping-tools.org/t/how-to-draw-state-boundaries-within-the-india/2137/2 "2021-09-27T22:39:58Z")

</div>

You can’t with GMT provided data. Neither GSHHG or DCW have India state boundaries.

But trivial to do with GMT Julia wrapper. Almost only replace “AND” by “IND” in [https://www.generic-mapping-tools.org/GMT.jl/dev/gallery/GADM/gadm/](https://www.generic-mapping-tools.org/GMT.jl/dev/gallery/GADM/gadm/)
