GenericMappingTools / GenericMappingTools/gmt

Julia gmtselect -R screws the segments

Open
#7,435 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C
Stars
979
Forks
414
Avg merge
17h 26m
Merged PRs (30d)
54

Description

Is it the same sort of shit as the -g?
Because this works fine on CLI
```
gmt pscoast -Dc -Rd -M -W > cl.dat
gmt gmtselect cl.dat -R-180/-70/-90/90 > cc.dat
```
but seems to ignore the multi-segment nature on GMT.jl
```
cl = coast(dump=:true, res=:c, region=:global);
cc = gmtselect(cl, R=(-180,-70,-90,90));
imshow(cc)
```
![GMTjl_j](https://user-images.githubusercontent.com/537321/235737058-c1e141a6-1194-4285-b0df-28b2c2aabb84.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.