[gradsusr] Drawing Shape Files
Stephen McMillan
smcmillan at planalytics.com
Mon Aug 15 16:13:32 EDT 2016
Thanks for providing the information, Andrew. Not knowing anything about
the particular shapefile you used, please try this instead:
draw shp admin98
admin98 may be part of your package. If not, try a different shapefile
that includes Australia territory lines. If you get the territory lines,
then the problem may be with your shapefile, or the pathname or shapefile
settings.
Also, try using different settings for:
set line
set shpopts
Double-check the path to your shapefile as well and make sure you provide
it, if the file is not in your SupportData folder.
Stephen Mc
On Mon, Aug 15, 2016 at 2:29 PM, Andrew Revering <andy at f5data.com> wrote:
> - I'm running OpenGrads version 2.1.a2.oga.1 x86_64
> - Server is CentOS 6.8 x86_64 standard
> - Code and results below (I truncated long file paths for directory
> structure privacy)
>
> > /opt/opengrads/grads -lbc
> ga-> open gfs003.ctl
> Scanning description file: gfs003.ctl
> Data file gfs003.grib is open as file 1
> LON set to 0 360
> LAT set to -90 90
> LEV set to 1 1
> Time values set: 2016:8:15:9 2016:8:15:9
> E set to 1 1
>
> ga-> set lon 90.5 174.5
> LON set to 90.5 174.5
> ga-> set lat -44.2 -7.2
> LAT set to -44.2 -7.2
>
> ga-> d tmp2m
> Contouring: 270 to 305 interval 5
>
> ga-> draw shp AUS_adm1.shp
> ga-> printim test.png
> Created PNG file test.png
>
> The resulting image: http://f5data.net/test.png
> I'm expecting to see territory lines, but they don't show up.
>
> Also, similarly if I try US counties or Canadian Provinces I get the same
> results.
>
>
>
>
> Date: Sun, 14 Aug 2016 16:30:15 -0400
>> From: Stephen McMillan <smcmillan at planalytics.com>
>> Subject: Re: [gradsusr] Drawing Shape Files
>> To: GrADS Users Forum <gradsusr at gradsusr.org>
>> Message-ID:
>> <CA+exxN0uHv5-LtG+RD7Qhm+qj0=ZvifETd0vfJMrYyMNeZy+aw at mail.gm
>> ail.com>
>> Content-Type: text/plain; charset="utf-8"
>>
>> Hi Andrew,
>>
>> I have used both Windows cygwin and the linux versions, and have no
>> problems drawing shapefiles with either.
>>
>> Yes, there's a way to troubleshoot. To provide any useful feedback, it
>> would help if you provided the part of the script or command log that
>> contains your commands and on-screen results after you execute the
>> commands. Also, the version of GrADS you are using with linux.
>>
>> Stephen McMillan
>>
>> On Sun, Aug 14, 2016 at 2:23 PM, Andrew Revering <andy at f5data.com> wrote:
>>
>> > I'm having trouble drawing shapefiles. I can do it on my Windows cygwin
>> > version, but not my linux version.
>> > I'm using draw shp with no error, but also no results. Tried several
>> > different shape files.
>> >
>> > Is there a way to troubleshoot if it's installed and configured
>> correctly?
>> >
>> > Thanks!
>> >
>>
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20160815/61e8eeff/attachment.html
More information about the gradsusr
mailing list