Dear GMT developers,
I found that GMT coastlines do not match with coastlines from Google Earth (blue lines in the attachment file). I use GMT 6.1.1, and here are the GMT scripts I used.
reg=127.807/128.385/-3.897/-3.456
gmt pscoast -R$reg -JM7i -Df -K -Wthin -Ba0.25f0.125 -Xc -Yc -Glightgray > coastlines.ps
cat ambon_coastlines.txt | awk ‘NR>1{print $0}’ | gmt psxy -R -J -Wblue -K -O -Wthick >> coastlines.ps
I tried attaching a .txt file but failed, here are coordinates of ambon_coastlines.txt:
-L"ambon_coastlines"
128.165147632 -3.58783982694
128.162074592 -3.58816251171
128.161370759 -3.58742587205
128.159911091 -3.58735764574
128.157571534 -3.58717519574
128.155962698 -3.58761151082
128.15324571 -3.58868194488
128.149892383 -3.58964653793
128.146537315 -3.59004772692
128.145474464 -3.58917193793
128.144182665 -3.5894620153
128.142322831 -3.59058027155
128.138666883 -3.59085060485
128.136037728 -3.5884772187
128.134119709 -3.58619746168
128.132324714 -3.58479936213
128.122953533 -3.58456669839
128.121593982 -3.58647541962
128.116334406 -3.5866079729
128.108865838 -3.58677153771
128.104307445 -3.58383741369
128.100952034 -3.58452508168
128.099403345 -3.58744913891
128.094894573 -3.58572175398
128.09153516 -3.58088587039
128.087062359 -3.58077014379
128.083838625 -3.58190863605
128.080021227 -3.58834273707
128.076943005 -3.58953415799
128.072540054 -3.58996531839
128.060829612 -3.58876449761
128.054891064 -3.58921560024
128.049533771 -3.58965967218
128.047647241 -3.59317085198
128.03746294 -3.59303068729
128.03227053 -3.59252537112
128.029289941 -3.59104405181
128.025358395 -3.59222659468
128.024106945 -3.59714685945
128.021720172 -3.60240289025
128.01831983 -3.60490665704
128.012951748 -3.6080488724
128.008620264 -3.61097704566
128.006003486 -3.61771773277
128.002096474 -3.61819135934
127.99838231 -3.61916842713
127.995276954 -3.6247465042
127.992771548 -3.62927298943
127.98806479 -3.62869077632
127.983371531 -3.63106649026
127.979659171 -3.63589485521
127.974577987 -3.64070736415
127.969531932 -3.64053159834
127.965317767 -3.64092534999
127.964054303 -3.64613696643
127.964061683 -3.65263098094
127.96098741 -3.65550524064
127.958234338 -3.65646761746
127.957216753 -3.66050406585
127.953271545 -3.66448963893
127.94979664 -3.66548890592
127.946831982 -3.66825757468
127.945298393 -3.6708603107
127.941104766 -3.67382903687
127.936097133 -3.67634771579
127.932195379 -3.67709649503
127.92879687 -3.68014958713
127.925163352 -3.67942065766
127.920829182 -3.68134963849
127.920384366 -3.68564025042
127.92238004 -3.69186702447
127.922659635 -3.69559542505
127.92440601 -3.70203689814
127.925108783 -3.7070102913
127.922023294 -3.71069456849
127.918904749 -3.71248833037
127.917244436 -3.71627766411
127.920578434 -3.72759985722
127.92533251 -3.7372677385
127.93095495 -3.74714602128
127.933008806 -3.75130610356
127.933267441 -3.75299995006
127.934609316 -3.75367959877
127.935650013 -3.75595156564
127.936495892 -3.75677005249
127.936634879 -3.75781002291
127.937682957 -3.7590082198
127.93813868 -3.75961104214
127.938550557 -3.76019247142
127.938877943 -3.76088138475
127.939368868 -3.76190989454
127.938896321 -3.7638416598
127.93936328 -3.76533905683
127.939113444 -3.7668652069
127.939828422 -3.76899976665
127.939789185 -3.76986716565
127.940418976 -3.77069658293
127.940523704 -3.77140629031
127.941095353 -3.77125442162
127.941983668 -3.77180045465
127.94209554 -3.77225572716
127.941912052 -3.77301765768
127.942426028 -3.77342772057
127.94281696 -3.77343081649
127.943136336 -3.77452987893
127.944107857 -3.77457031178
127.944791761 -3.77446486565
127.94611586 -3.77442838863
127.946393181 -3.77499186756
127.946672049 -3.7753414744
127.947239958 -3.77547307913
127.947294933 -3.77476269508
127.947961387 -3.77493847278
127.948061367 -3.77551342663
127.949245841 -3.77581490405
127.950290045 -3.7757470249
127.951679196 -3.77561944349
127.952677915 -3.77575130456
127.953104568 -3.77639963157
127.953942013 -3.77709932558
127.954112225 -3.77745621508
127.954461297 -3.77637570108
127.95464492 -3.7751455736
127.954523646 -3.77448133579
127.954632261 -3.77331131364
127.95650577 -3.77276727456
127.958157366 -3.77275275635
127.958795067 -3.77321801684
127.959242722 -3.7739940586
127.959916702 -3.77382143585
127.960363828 -3.77311904916
127.962226136 -3.77288508176
127.964158292 -3.77337902314
127.965757205 -3.77481704044
127.967023512 -3.77772431062
127.967481958 -3.77846936296
127.968789233 -3.77848368631
127.969798761 -3.77940927366
127.970451523 -3.77858039057
127.971531534 -3.77865916343
127.972757458 -3.77995646527
127.974354849 -3.78075420652
127.976394766 -3.78117241802
127.978669277 -3.78132338796
127.980478052 -3.78214500541
127.982105487 -3.78167116395
127.984076184 -3.78128299114
127.9849548 -3.78104327374
127.986109877 -3.78118678922
127.986844289 -3.78057964724
127.989107116 -3.77964720048
127.991403703 -3.77961375115
127.992692543 -3.77981166051
127.993465337 -3.78039286756
127.993526318 -3.78106618329
127.99393144 -3.7815765301
127.993991289 -3.78279264481
127.994886047 -3.78300300853
127.995508596 -3.78190136165
127.9969881 -3.78176306711
127.998591085 -3.78114027627
127.999593614 -3.77956831311
128.001539401 -3.77856405119
128.001766677 -3.7770904122
128.003221197 -3.77642568547
128.005425621 -3.77579084187
128.006597849 -3.7746348913
128.006983633 -3.77180858803
128.007752765 -3.770379953
128.008379494 -3.77022254876
128.008577196 -3.7683234354
128.009758964 -3.76719927591
128.01099994 -3.76728541097
128.012560495 -3.76831639585
128.013387858 -3.76869146001
128.014800329 -3.76848067008
128.01665481 -3.76743442914
128.017520076 -3.76670132477
128.017666691 -3.76618364398
128.017787058 -3.76617381282
128.020147933 -3.76340778331
128.023240951 -3.75646929219
128.024259247 -3.75123053066
128.023597983 -3.74874881085
128.027813532 -3.74627084974
128.033648078 -3.7424113366
128.036203192 -3.73834838938
128.037083843 -3.73443796086
128.048751876 -3.730943427
128.050456657 -3.72901668897
128.055093017 -3.72916573588
128.058599976 -3.72612123903
128.061329701 -3.72309136347
128.06597477 -3.7213464516
128.07042022 -3.72032762078
128.077497433 -3.72204250772
128.079854942 -3.72099776805
128.08177303 -3.72141716015
128.084555615 -3.72285665946
128.089327277 -3.72055539811
128.091453338 -3.71744508123
128.096690595 -3.71504682198
128.100030392 -3.71315904735
128.106674312 -3.69351940657
128.117194022 -3.68522691911
128.120724786 -3.6866652695
128.131498155 -3.6805515043
128.14526802 -3.67265767984
128.158563341 -3.66597225008
128.165129802 -3.66638976525
128.170844218 -3.66187258338
128.179110115 -3.66083366325
128.1837155 -3.6619659104
128.188025874 -3.66367141392
128.196060665 -3.66134045587
128.201070825 -3.65853139598
128.197758375 -3.65301783378
128.194204075 -3.64901644917
128.19331272 -3.64450099581
128.195059437 -3.64101583036
128.199178552 -3.63874711006
128.203242366 -3.63806689946
128.207033975 -3.63626950542
128.209983328 -3.63429957649
128.21224162 -3.63306505812
128.216337893 -3.63356292275
128.219823604 -3.63393527872
128.221806472 -3.63390402706
128.223557238 -3.63510593851
128.224597542 -3.63527176926
128.224689576 -3.63414744022
128.226088576 -3.63294809624
128.227133056 -3.63191646155
128.227972774 -3.63193476277
128.228609874 -3.63173635261
128.229389927 -3.63120635402
128.23018898 -3.63059799818
128.230615829 -3.62955585954
128.23132118 -3.62870244637
128.231615128 -3.62830453324
128.232262722 -3.62807676577
128.233283205 -3.62816353209
128.235168519 -3.62926326716
128.236524607 -3.63019563513
128.238459786 -3.62992242324
128.240461444 -3.63098492957
128.241252155 -3.63269389444
128.241045487 -3.63484587871
128.243381791 -3.63541984292
128.243683561 -3.6368206469
128.243987433 -3.63782835596
128.244982993 -3.63864565
128.24285584 -3.63996176413
128.239868289 -3.64090455244
128.237701938 -3.64349193635
128.235322665 -3.64385691893
128.233302267 -3.64470085948
128.232753409 -3.64835439281
128.231640877 -3.65038232343
128.229381458 -3.65126765711
128.226879785 -3.65323981424
128.224236804 -3.65515994461
128.221261406 -3.65486659253
128.218030466 -3.65490062975
128.215633946 -3.65485758682
128.214171006 -3.6561489405
128.210366018 -3.65803361268
128.208790687 -3.6600669044
128.206301338 -3.66181832239
128.19803874 -3.66554268963
128.192533992 -3.67252206827
128.189200317 -3.67587163511
128.188361383 -3.68056597005
128.184813072 -3.6863809973
128.180384939 -3.68998675062
128.1770451 -3.6928930055
128.174282061 -3.69611253847
128.171754958 -3.70176234359
128.169933361 -3.70274695501
128.166559703 -3.70278034889
128.164141186 -3.7021995429
128.163680755 -3.70134081167
128.16013104 -3.70298129236
128.155070621 -3.70671006842
128.150830468 -3.71238479988
128.148661914 -3.71811214753
128.146792249 -3.72223157862
128.143305223 -3.72741335808
128.139364517 -3.73065215975
128.134328876 -3.73788066079
128.132104479 -3.74354292457
128.129584046 -3.74544907985
128.131496766 -3.7514031395
128.12952998 -3.75609498567
128.125504465 -3.759399012
128.124128972 -3.76176350153
128.121482007 -3.76314538011
128.118801251 -3.76352244914
128.117905281 -3.76419437273
128.113091644 -3.76674849622
128.111862378 -3.76792097686
128.109356524 -3.76898251185
128.107180274 -3.76920092897
128.103591524 -3.77285579618
128.1014382 -3.77601369668
128.099294473 -3.7779651677
128.09764595 -3.77938137548
128.097246187 -3.78127004514
128.095283906 -3.78361609987
128.09345082 -3.78495886953
128.091463112 -3.78600451138
128.090627913 -3.78792721804
128.090030459 -3.79013160676
128.089692415 -3.79213976746
128.089713554 -3.79289344018
128.090899424 -3.79257016607
128.091946475 -3.79363893728
128.093488984 -3.79419997786
128.094007575 -3.7933734332
128.095518619 -3.79373866897
128.097761649 -3.79240949567
128.099390581 -3.7915572447
128.103605958 -3.78884622256
128.107342279 -3.78683498918
128.10890374 -3.78596197276
128.111659955 -3.78512120732
128.113857969 -3.78397082558
128.11549038 -3.78194262874
128.116453963 -3.78099315952
128.120455379 -3.77998600352
128.123009579 -3.77919682141
128.125102424 -3.77809595799
128.126010976 -3.77749250882
128.127591703 -3.7767307203
128.130196998 -3.77610478411
128.133131719 -3.77501929925
128.135430794 -3.77425240802
128.139329793 -3.77334933305
128.143618473 -3.77256382328
128.14639994 -3.77150986
128.147998322 -3.77203269509
128.149365897 -3.77252367633
128.151270011 -3.77126640801
128.152563153 -3.76990182227
128.152610438 -3.76642028331
128.151853023 -3.76551511981
128.151954836 -3.76178629574
128.154997099 -3.75518951996
128.156796198 -3.75102823232
128.167704767 -3.74968543956
128.176560255 -3.74678982784
128.182383233 -3.74415353099
128.186290903 -3.74636509583
128.193197462 -3.74538680646
128.19351474 -3.75113078873
128.203763435 -3.74940721313
128.21489875 -3.74701678148
128.225947453 -3.74811601925
128.229154074 -3.74675800306
128.229869935 -3.74658648051
128.230895439 -3.74635200249
128.231609343 -3.74596294372
128.232171125 -3.74535430917
128.233038411 -3.74437367041
128.234764429 -3.74408915656
128.23989223 -3.74264261933
128.239815944 -3.73862652883
128.247108944 -3.73824493664
128.251669379 -3.73577092458
128.250044394 -3.73401404119
128.25487631 -3.73241026614
128.264580399 -3.72962858373
128.264860965 -3.72548383518
128.266122569 -3.71735651093
128.268106506 -3.7105339307
128.271295106 -3.70437528348
128.275191706 -3.70070891834
128.283088645 -3.69990867292
128.288892421 -3.69594725462
128.296201473 -3.69678312955
128.300214496 -3.69358486388
128.300785542 -3.68191947477
128.29853012 -3.67246651811
128.295919427 -3.66543757549
128.284580073 -3.65261230476
128.268438127 -3.64059499672
128.259508298 -3.63132146303
128.257901829 -3.63182987172
128.256752682 -3.63008465296
128.256743853 -3.6275653344
128.258066507 -3.62222399297
128.260149578 -3.61901444094
128.262893552 -3.61750727948
128.271379805 -3.61841616291
128.276280358 -3.61687754181
128.280120794 -3.61806969439
128.282039104 -3.62190256461
128.283669956 -3.6237317187
128.287064199 -3.62309990836
128.29080952 -3.62148414001
128.294305967 -3.62217397708
128.296214766 -3.62354598371
128.300279273 -3.6238191531
128.306610886 -3.62703668339
128.307575113 -3.6307127136
128.310743788 -3.63240572535
128.321877131 -3.63236928022
128.325699259 -3.63333008549
128.327588474 -3.63368859961
128.328945029 -3.63337702192
128.330221603 -3.63397773231
128.330370666 -3.63464854352
128.332474665 -3.63411097649
128.335837215 -3.63476071195
128.336688664 -3.6362639017
128.337791293 -3.63655804785
128.339911665 -3.63585022823
128.343594397 -3.63542677695
128.347139097 -3.63620552407
128.350907054 -3.63515764953
128.35355674 -3.63357597817
128.355787443 -3.62905672273
128.355562872 -3.62180495991
128.354405427 -3.61669305994
128.353401021 -3.61545675636
128.355322721 -3.61390714329
128.356962201 -3.6116853858
128.357520124 -3.60768960278
128.355571505 -3.60109773333
128.35400228 -3.59814501902
128.351109504 -3.59797185908
128.349924426 -3.59646150192
128.348359833 -3.59559805097
128.34758962 -3.59349016227
128.342053524 -3.59089823227
128.339846585 -3.58984481739
128.337676691 -3.58949124082
128.335440009 -3.58939681893
128.332484891 -3.58927362358
128.32934237 -3.5878647889
128.327753885 -3.58629940591
128.326545552 -3.58478828018
128.326574145 -3.58200234222
128.324993879 -3.58143265074
128.324345828 -3.58040829588
128.325123627 -3.5786348661
128.325712682 -3.57637300296
128.325321874 -3.57417707378
128.325145335 -3.57122009385
128.324131839 -3.57014190983
128.321769153 -3.56857790364
128.3214796 -3.5667981697
128.322063841 -3.56424279177
128.3234437 -3.56135266695
128.325471439 -3.55955398768
128.32624751 -3.5569764827
128.338908995 -3.54818958954
128.342237107 -3.54551461509
128.345310849 -3.54293367561
128.348147907 -3.53898136433
128.349352054 -3.53525682294
128.350827067 -3.53171295948
128.352613156 -3.528730507
128.353179335 -3.52654314039
128.352113547 -3.52564559272
128.352459104 -3.52361627384
128.352264128 -3.5217476116
128.351364702 -3.51947900596
128.350222379 -3.51791023196
128.348333345 -3.51611926122
128.346923041 -3.5121458855
128.345948151 -3.51026459508
128.345399553 -3.50802435183
128.344205536 -3.50599526075
128.34239214 -3.50436496319
128.340280234 -3.50285764537
128.33704386 -3.50193037091
128.334088799 -3.50221599461
128.331130611 -3.5019852059
128.328331331 -3.50265771317
128.325932109 -3.50331002047
128.324581714 -3.50528500873
128.322463889 -3.50697427719
128.320635813 -3.5073442061
128.318753069 -3.50738181515
128.317122597 -3.50784876728
128.315117052 -3.50753534191
128.313379658 -3.50663648543
128.311443448 -3.50473350083
128.310135676 -3.50358547314
128.309307312 -3.5030681344
128.30875599 -3.50131444889
128.308727288 -3.49995077671
128.307459846 -3.49884963481
128.305802581 -3.49885000576
128.302164874 -3.49780633537
128.299238808 -3.4959927006
128.296893734 -3.49431293223
128.295057366 -3.49307359447
128.293450586 -3.49189180502
128.292155354 -3.49136854286
128.287988805 -3.49034895373
128.285717045 -3.49015740173
128.28415507 -3.49116711308
128.281918167 -3.49240035982
128.280405363 -3.49315068035
128.278203605 -3.49398346087
128.27647273 -3.4939224282
128.274888098 -3.49321280822
128.273412435 -3.49240887938
128.272064659 -3.49233205652
128.270195239 -3.49344428921
128.269172469 -3.49394248917
128.267210157 -3.49451946502
128.266780414 -3.4947098032
128.266182516 -3.49479484545
128.265590444 -3.49480869468
128.265489989 -3.4948905724
128.265354389 -3.49489947081
128.265249492 -3.4949668869
128.265008942 -3.49504146258
128.264767226 -3.49512310927
128.264131978 -3.49532163307
128.263686866 -3.49541035614
128.262039008 -3.49527465379
128.260472515 -3.49518578991
128.257610677 -3.49496342981
128.254145409 -3.49647045382
128.252077678 -3.49856392273
128.251405441 -3.49958357682
128.249857155 -3.50024572919
128.24912489 -3.50027620027
128.245535444 -3.50334497596
128.244000448 -3.50540579437
128.240467086 -3.50736903025
128.23814865 -3.50894499693
128.237900564 -3.510250946
128.236157833 -3.51105709741
128.234168815 -3.51182019925
128.23246727 -3.51225630557
128.231430381 -3.5128313538
128.23055302 -3.5141421632
128.229703134 -3.51411584134
128.229118844 -3.51491990732
128.228961515 -3.5157431685
128.227484203 -3.51665254018
128.226150581 -3.51620053852
128.22427108 -3.51572662926
128.223048937 -3.51708406335
128.223714282 -3.51849827408
128.222111088 -3.51851518555
128.220695164 -3.51892668035
128.219891868 -3.52013582444
128.219274466 -3.52237111534
128.217336991 -3.52224850567
128.215891505 -3.52339512121
128.213599925 -3.5249824492
128.213537798 -3.52775282612
128.213215869 -3.53126223972
128.211940968 -3.53484461813
128.209611191 -3.53842122911
128.205863529 -3.53969284222
128.20346365 -3.5405997389
128.202877877 -3.54207349396
128.20095635 -3.54260215411
128.197907166 -3.544667575
128.196771305 -3.54833517992
128.194572187 -3.55086311365
128.192855792 -3.55430884252
128.190284255 -3.55803641187
128.18772881 -3.55839842428
128.186868821 -3.56069376661
128.184008286 -3.56285469816
128.182843003 -3.56515735761
128.180152452 -3.56746504531
128.179382145 -3.57153333462
128.179456955 -3.57703792775
128.178761464 -3.58178747097
128.177030567 -3.58419113679
128.173228672 -3.58531734095
128.168489029 -3.58700681182
128.165147632 -3.58783982694
Please can you help me how to solve the problem?
Cheers,
Rino