|
|
@ -15,6 +15,7 @@ int gmt_module_init(void* p) |
|
|
|
if(0==gmtapi) return 1; |
|
|
|
if(0==gmtapi) return 1; |
|
|
|
if(0==ret) ret=callgmtmodule(gmtapi,"psclip","-C -P -K",&header,gmt_filter_headfoot); |
|
|
|
if(0==ret) ret=callgmtmodule(gmtapi,"psclip","-C -P -K",&header,gmt_filter_headfoot); |
|
|
|
if(0==ret) ret=callgmtmodule(gmtapi,"psclip","-C -P -O",&footer,gmt_filter_headfoot); |
|
|
|
if(0==ret) ret=callgmtmodule(gmtapi,"psclip","-C -P -O",&footer,gmt_filter_headfoot); |
|
|
|
|
|
|
|
if(0==ret) callgmtmodule(gmtapi,"psclip","--show-datadir",&datadir); |
|
|
|
GMT_Destroy_Session(gmtapi); |
|
|
|
GMT_Destroy_Session(gmtapi); |
|
|
|
if(0!=ret) return ret; |
|
|
|
if(0!=ret) return ret; |
|
|
|
|
|
|
|
|
|
|
@ -23,6 +24,7 @@ int gmt_module_init(void* p) |
|
|
|
|
|
|
|
|
|
|
|
RegisterFunction("GMT_Header",GMT_Header); |
|
|
|
RegisterFunction("GMT_Header",GMT_Header); |
|
|
|
RegisterFunction("GMT_Footer",GMT_Footer); |
|
|
|
RegisterFunction("GMT_Footer",GMT_Footer); |
|
|
|
|
|
|
|
RegisterFunction("GMT_Datadir",GMT_Datadir); |
|
|
|
RegisterFunction("GET",Get<ObjectGMTCoord>); |
|
|
|
RegisterFunction("GET",Get<ObjectGMTCoord>); |
|
|
|
RegisterFunction("GET",Get<ObjectGMTRegion>); |
|
|
|
RegisterFunction("GET",Get<ObjectGMTRegion>); |
|
|
|
RegisterFunction("GET",Get<ObjectGMTProjection>); |
|
|
|
RegisterFunction("GET",Get<ObjectGMTProjection>); |
|
|
|