Re: Installing coastline data

Paul Wessel <[email protected]> Mon, 12 May 2014 14:30:23 -1000
Newsgroups gmane.comp.gis.gmt.user
Message-ID <[email protected]>
Clearly the cmake step failed for you since it says GSHHG_PATH-NOTFOUND instead of the actual path, and the extension is blank [should be .nc].
What does the GSHHG_PATH line in your cmake/ConfigUser.cmake file look like?

On May 12, 2014, at 2:19 PM, FORUM8 國家 逸冬 <[email protected]> wrote:

> Dear Paul
> 
> I installed GMT4 this computer. But I changed OS CentOS4 to CentOS5. And
> this time,
> I compiled and installed GMT5. I using Ver. 5 executable.
> 
> $ which pscoast
> /opt/GMT/5.1.1/bin/pscoast
> 
> 
> -- -Vd output begin --
> pscoast: Projected values in meters: -389618 389618 3.67553e+06 4.6237e+06
> pscoast: 1. GSHHG: GSHHGDIR set, trying GSHHG_PATH-NOTFOUND/binned_GSHHS_h
> pscoast: 1. GSHHG: Failure, could not access
> GSHHG_PATH-NOTFOUND/binned_GSHHS_h
> pscoast: GMT: 1. GMT_getsharepath trying current dir
> pscoast: GMT: 4. GMT_getsharepath trying SHAREDIR subdir
> /opt/GMT/5.1.1/share/conf
> pscoast: GMT: 5. GMT_getsharepath failed
> pscoast: GMT: 1. GMT_getsharepath trying current dir
> pscoast: GMT: 4. GMT_getsharepath trying SHAREDIR subdir
> /opt/GMT/5.1.1/share/coast
> pscoast: GMT: 5. GMT_getsharepath failed
> pscoast: 3. GSHHG: Trying via sharepath
> pscoast: GMT: 1. GMT_getsharepath trying current dir
> pscoast: GMT: 4. GMT_getsharepath trying SHAREDIR subdir
> /opt/GMT/5.1.1/share/coast
> pscoast: GMT: 5. GMT_getsharepath failed
> pscoast: 4. GSHHG: Failure, could not access any GSHHG files
> pscoast: GSHHG version 2.2.0 or newer is needed to use coastlines with GMT.
> Get and install GSHHG from ftp://ftp.soest.hawaii.edu/pwessel/gshhg/.
> pscoast: high resolution shoreline data base not installed
> pscoast: No databases available - aborts
> pscoast: Entering GMT_Destroy_Session
> -- -Vd output End --
> 
> 
> (2014年05月13日 04:00), Paul Wessel wrote:
>> Try adding -Vd to your pscoast command and post the output.  
>> Did you earlier have GMT 4 installed? Are you sure your path has been changed to give you GMT 5 executables? Your pscoast example looks like GMT4 syntax.
>> -p
>> 
>> On May 11, 2014, at 11:10 PM, FORUM8 國家 逸冬 <[email protected]> wrote:
>> 
>>> Dear Paul
>>> 
>>> I didn't set GSHHG_ROOT. I didn't replaced the
>>> 
>>> gshhg-gmt-nc4-2.2.4 dir. I installed each *.nc file to $GMT_SHAREDIR/coast/.
>>> 
>>> 
>>> 
>>> 
>>> (2014年05月12日 17:57), Paul Wessel wrote:
>>>> Did you set GSHHG_ROOT to that directory?  Or perhaps you placed the gshhg-gmt-nc4-2.2.4 dir inside the coast dir? If so get rid of that dir, i.e., just put the files directly inside share.
>>>> 
>>>> On May 11, 2014, at 10:12 PM, FORUM8 國家 逸冬 <[email protected]> wrote:
>>>> 
>>>>> Dear GMT Forum
>>>>> 
>>>>> I installed GMT Ver. 5.1.1 on CentOS 6.5. I got following error message
>>>>> when I ran following command.
>>>>> I downloaded
>>>>> ftp://ftp.soest.hawaii.edu/pwessel/gshhg/gshhg-gmt-nc4-2.2.4.tar.gz. And
>>>>> I install the
>>>>> all file in the directory made by extracting to $GMT_SHAREDIR/coast/.
>>>>> 
>>>>> Please teach me what wrong.
>>>>> 
>>>>> pscoast -Jm2.4 -R136/143/31.5/38.5 -Ba1.0f0.5g1.0/a1.0f0.5g1.0 -G220 -W1
>>>>> -Dh -P -V > tmp.eps
>>>>> pscoast: GSHHG version 2.2.0 or newer is needed to use coastlines with GMT.
>>>>> Get and install GSHHG from ftp://ftp.soest.hawaii.edu/pwessel/gshhg/.
>>>>> pscoast: high resolution shoreline data base not installed
>>>>> pscoast: No databases available - aborts
>>>>> 
>>>>> Mailing list for GMT discussions of all kinds.  If you are not sure you have found a bug, discuss it here first.
>>>>> To formally report bugs or request features, please register and add New Issue on gmt.soest.hawaii.edu
>>>>> To unsubscribe, send the message "signoff gmt-help" to [email protected]
>>>>> Note: gmt-help will become obsolete on Sept 1, 2014 - please use forum on gmt.soest.hawaii.edu instead.
>>>> Mailing list for GMT discussions of all kinds.  If you are not sure you have found a bug, discuss it here first.
>>>> To formally report bugs or request features, please register and add New Issue on gmt.soest.hawaii.edu
>>>> To unsubscribe, send the message "signoff gmt-help" to [email protected]
>>>> Note: gmt-help will become obsolete on Sept 1, 2014 - please use forum on gmt.soest.hawaii.edu instead.
>>>> 
>>> --------------------------
>>> HAYATO Kuniie
>>> FORUM8 Co.Ltd.
>>> UC-1 Dev.-Grp. 1
>>> Mail: [email protected]
>>> --------------------------
>>> 
>>> Mailing list for GMT discussions of all kinds.  If you are not sure you have found a bug, discuss it here first.
>>> To formally report bugs or request features, please register and add New Issue on gmt.soest.hawaii.edu
>>> To unsubscribe, send the message "signoff gmt-help" to [email protected]
>>> Note: gmt-help will become obsolete on Sept 1, 2014 - please use forum on gmt.soest.hawaii.edu instead.
>> Mailing list for GMT discussions of all kinds.  If you are not sure you have found a bug, discuss it here first.
>> To formally report bugs or request features, please register and add New Issue on gmt.soest.hawaii.edu
>> To unsubscribe, send the message "signoff gmt-help" to [email protected]
>> Note: gmt-help will become obsolete on Sept 1, 2014 - please use forum on gmt.soest.hawaii.edu instead.
>> 
> 
> Mailing list for GMT discussions of all kinds.  If you are not sure you have found a bug, discuss it here first.
> To formally report bugs or request features, please register and add New Issue on gmt.soest.hawaii.edu
> To unsubscribe, send the message "signoff gmt-help" to [email protected]
> Note: gmt-help will become obsolete on Sept 1, 2014 - please use forum on gmt.soest.hawaii.edu instead.

Mailing list for GMT discussions of all kinds.  If you are not sure you have found a bug, discuss it here first.
To formally report bugs or request features, please register and add New Issue on gmt.soest.hawaii.edu
To unsubscribe, send the message "signoff gmt-help" to [email protected]
Note: gmt-help will become obsolete on Sept 1, 2014 - please use forum on gmt.soest.hawaii.edu instead.