Hi again, Doug! (and everyone else using the map stuff...)

Well I got my high and full res maps, but there are several bugs around.
I have not tested everything, but here is a few

1) BOUNDARIES does not work. The call is taken but somehow ignored.

2) RIVER_DETAIL reports an error, but still works.
Illegal option RIVER_DETAIL, ignoring
at /usr/local/lib/perl/5.8.7/PDL/Graphics/PLplot.pm line 1226.

3) Latidude grids are numbered upside-down

Finally; how do I hold the graphics for overplotting? When I use the
"xwin" device I only get a flash of what I plot, and then my program
terminates.

Regards,
Kåre


On Thu, 2007-02-15 at 09:34 -0700, Doug Hunt wrote:

> Hi again, Kare:  What I said in my last email is correct.  I did not 
> include the high res maps in the PDL::Graphics::PLplot::Map distribution 
> to save space.  This module does not use the maps installed by GMT.
> 
> On my system the maps are here:
> 
> /ops/tools/lib/perl5/site_perl/5.8.7/i686-linux-thread-multi/PDL/Graphics/PLplot/Map.pm
> /ops/tools/lib/perl5/site_perl/5.8.7/i686-linux-thread-multi/PDL/Graphics/PLplot/Map
> /ops/tools/lib/perl5/site_perl/5.8.7/i686-linux-thread-multi/PDL/Graphics/PLplot/Map/binned_border_i.cdf
> /ops/tools/lib/perl5/site_perl/5.8.7/i686-linux-thread-multi/PDL/Graphics/PLplot/Map/binned_GSHHS_c.cdf
> /ops/tools/lib/perl5/site_perl/5.8.7/i686-linux-thread-multi/PDL/Graphics/PLplot/Map/binned_border_l.cdf
> /ops/tools/lib/perl5/site_perl/5.8.7/i686-linux-thread-multi/PDL/Graphics/PLplot/Map/binned_river_l.cdf
> /ops/tools/lib/perl5/site_perl/5.8.7/i686-linux-thread-multi/PDL/Graphics/PLplot/Map/binned_river_i.cdf
> /ops/tools/lib/perl5/site_perl/5.8.7/i686-linux-thread-multi/PDL/Graphics/PLplot/Map/binned_GSHHS_i.cdf
> /ops/tools/lib/perl5/site_perl/5.8.7/i686-linux-thread-multi/PDL/Graphics/PLplot/Map/binned_border_c.cdf
> /ops/tools/lib/perl5/site_perl/5.8.7/i686-linux-thread-multi/PDL/Graphics/PLplot/Map/binned_river_c.cdf
> /ops/tools/lib/perl5/site_perl/5.8.7/i686-linux-thread-multi/PDL/Graphics/PLplot/Map/binned_GSHHS_l.cdf
> 
> I would just copy the GMT files binned_*_h.cdf (or whatever the high res 
> files are called) into the PLplot/Map directory and try it again.
> 
> Regards,
> 
>    Doug
> 
> 
> 
> [EMAIL PROTECTED]
> Software Engineer III
> UCAR - COSMIC, Tel. (303) 497-2611
> 
> On Thu, 15 Feb 2007, KreEdvardsen wrote:
> 
> > Dear Doug Hunt.
> >
> > I'm trying to get PDL::Graphics::PLplot::Map to work proper. I've
> > installed GMT locally (not system wide) and have it up running. Paths
> > and env stuff should be correct since the 'pscoast' examples work fine.
> > Unfortunately, I only get 'intermediate' resolution (not 'high' or
> > 'full') but thoe worst thing is that I can't get national borders (and
> > no error message on that one). Coastlines and lakes are drawn perfectly.
> >
> > Here is the error message when trying 'high' resolution:
> > $ pscoast: high resolution shoreline data base not installed
> > $ pscoast: high resolution political boundary data base not installed
> > $ pscoast: No databases available - aborts
> >
> > The code look like this:
> >
> > use PDL;
> > use PDL::Graphics::PLplot;
> > use PDL::Graphics::PLplot::Map
> >
> > $pl = PDL::Graphics::PLplot::Map->new (DEV => "psc", FILE => "map1.ps");
> > $pl->worldmap (PROJECTION => 'AZEQDIST', # Azimuthal Equidistant
> > projection
> >               CENTER  => [15.5, 65],    # map centered at 15.5 deg east
> > lon, 65 deg north lat
> >               RADIUS  => 800,              # 800 kilometer minimum
> > radius
> >               BOUNDARIES => 1,         # National boundaries
> >               #RESOLUTION => 'intermediate');
> >               RESOLUTION => 'high');
> >
> > I've posted a shorter version on the mailing list, but no response. I
> > thought you might be the right one to answere this.
> >
> > All the best,
> > Kare
> >

_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to