# Help to plot vector data in Transverse Mercator projection

**URL:** <https://forum.generic-mapping-tools.org/t/help-to-plot-vector-data-in-transverse-mercator-projection/6093>\
**Category:** Q&A\
**Tags:** gmt\
**Created:** [July 26, 2025, 6:57pm UTC](https://forum.generic-mapping-tools.org/t/help-to-plot-vector-data-in-transverse-mercator-projection/6093 "2025-07-26T18:57:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![amarux](https://avatars.discourse-cdn.com/v4/letter/a/c67d28/32.png) [@amarux](https://forum.generic-mapping-tools.org/u/amarux)\
**Post date:** [July 26, 2025, 6:57pm UTC](https://forum.generic-mapping-tools.org/t/help-to-plot-vector-data-in-transverse-mercator-projection/6093/1 "2025-07-26T18:57:34Z")

</div>

Hello all,

I’m trying to plot a vector map of Costa Rica using a polygon file projected in EPSG:5367 (CRTM05), which uses a Transverse Mercator projection with coordinates in meters. I’m using GMT version 6.5.0 on Ubuntu 22.04 for this, with the following lines of code:

```auto
gmt begin costa_rica png
    gmt plot -R401658.95/431163.88/1066737.5738/1108277.69735+ue \
           -JT-84/0.0/8c "$cartodir/delimitacion2017_5k.gmt" -W0.8p,black -fp
gmt end show

```

The vector data I am using is in [this file](https://drive.google.com/file/d/1SCJFcTghIk9Eg0ntt6IZ8AAlnja51I-j/view?usp=sharing).

Could you help me to understand what am I missed in this try?

Thanks

---

<div class="post-metadata">

**Author:** ![Andreas](https://avatars.discourse-cdn.com/v4/letter/a/ee7513/32.png) [@Andreas](https://forum.generic-mapping-tools.org/u/Andreas)\
**Post date:** [July 26, 2025, 9:48pm UTC](https://forum.generic-mapping-tools.org/t/help-to-plot-vector-data-in-transverse-mercator-projection/6093/2 "2025-07-26T21:48:52Z")

</div>

Use `-JX|x` since your data is already projected, e.g.:

```auto
gmt plot $(gmt info delimitacion2017_5k.gmt -I1) -Gblack -Jx1:10000000 delimitacion2017_5k.gmt -png costa_rica

```

 ![costa_rica](https://canada1.discourse-cdn.com/flex047/uploads/gmt/original/2X/7/7b07841628dd5aef0413c8e4bd1db9bd3398c241.png)

---

<div class="post-metadata">

**Author:** ![amarux](https://avatars.discourse-cdn.com/v4/letter/a/c67d28/32.png) [@amarux](https://forum.generic-mapping-tools.org/u/amarux)\
**Post date:** [July 26, 2025, 11:19pm UTC](https://forum.generic-mapping-tools.org/t/help-to-plot-vector-data-in-transverse-mercator-projection/6093/3 "2025-07-26T23:19:28Z")

</div>

Thank you very much!
