RE: BOUNCE visad-list@xxxxxxxxxxxxx: Message too long (>40000 chars) (fwd)

Ben,

Please send all questions to visad-list@xxxxxxxxxxxxx
instead of just me. For example, someone else will have
to answer your last question about clipping Shape files
by rectangles. So send to visad-list and keep messages
small.

Your problem looks to me like some kind of problem
combining the ScalarMaps appropriate for your two data
objects.

Good luck,
Bill

On Sun, 16 Feb 2003, Ben Podoll wrote:

> I am sending this again as I just noticed that all the junk text from
> the old images converted to text was still in the last email I just sent
> so I took that out and am resending this just incase...
>
> *********************************
>
> Ok sorry about that.
>
> I put them on your server located at:
>
> ftp://ftp.ssec.wisc.edu/pub/incoming/
>
> I prefixed the file names with "ben_":
>
> ben_image1.gif
> ben_image2.gif
> ben_image3.gif
> ben_image4.gif
>
> For the description of each image refer to the body of last email.
>
> Thanks,
> ~Ben
>
> ********PREVIOUS EMAIL BELOW******
>
> Bill,
>
> That is what I originally tried, but I couldn't seem to get the two to
> work together. I have attached some screen shots of my dilemma. Maybe
> something will catch your eye that makes sense.
>
> Image1.gif = my program that displays a portion of the shapefile and
> this works fine.
>
> Image2.gif = my program that displays the temperature in contours across
> the same lat/lon area, this one works fine.
>
> Image3.gif = I combine the two by adding a reference to the Image2.gif
> data from the Image1.gif application. A white box appears... I double
> checked and the white box is covering exactly the same points as the
> Image2.gif application. So I am not sure what the problem is. Any ideas?
>
> Image4.gif - I took off the constructor that only views a portion of the
> shapefile and let it display everything, and if you look closely on the
> East coast the little white box is still there and it looks to be in the
> correct spot on that display as well.
>
> Also I noticed that image1.gif and image3.gif have a little different
> skewed view of the shapefile?
>
> And one final thing I am wondering about, I use the ShapefileAdapter
> constructor with a Rectangle2D parameter to only show a portion, and it
> won't cut the borders (Is that by design)
>
> ~Ben
> benjamin.podoll@xxxxxxxxxxxxx
> bspsoftware.dyndns.org
> Phone & Fax 701-772-7152
>
> -----Original Message-----
> From: owner-visad-list@xxxxxxxxxxxxx
> [mailto:owner-visad-list@xxxxxxxxxxxxx] On Behalf Of Bill Hibbard
> Sent: Sunday, February 16, 2003 6:38 AM
> To: Ben Podoll
> Cc: visad-list@xxxxxxxxxxxxx
> Subject: Re: UnionSet Question
>
> Hi Ben,
>
> Just link both vals_ff and your UnionSet both to the
> DisplayImpl, using two ccalls to addReference().
>
> I assume you are not asking to draw contours of your
> UnionSet, since it has manifold dimension = 1 and
> cannot be contoured.
>
> Good luck,
> Bill
>
> On Sat, 15 Feb 2003, Ben Podoll wrote:
>
> > Hi,
> >
> > I have a program that simply displays contours in 2 dimensions across
> a
> > lat and lon grid. I am using LinearLatLonSet as my domain and then
> just
> > setting my FlatField values accordingly...
> >
> > //-------------------------------------------------------
> > FunctionType func = new FunctionType(dom_tup, variable);
> >
> > LinearLatLonSet domain_set = new LinearLatLonSet(...);
> >
> > float[][] flat_samples = <function call to get my samples>
> >
> > FlatField vals_ff = new FlatField(func, domain_set);
> > vals_ff.setSamples(flat_samples, false);
> > //-------------------------------------------------------
> >
> > And everything works fine.
> >
> > I also have a program that uses a ShapefileAdapter to open a shapefile
> > and gives me a UnionSet. I can give a Rectangle2D object in the
> > constructor so that the UnionSet it returns is covering the same area
> as
> > my previous program.  This program works fine too.
> >
> > What I want to do is combine them so the contours overlay the
> shapefile,
> > and I have been struggling trying to figure out how to go about doing
> > this. I see that the UnionSet from the shapefile is made up of 3
> > SampledSets and then each one of those is made up of some
> Gridded2DSets.
> >
> > So I am wondering if anyone can give me a pointer on how to going
> about
> > combining my first and second programs?
> >
> > Thanks,
> > Ben
>
>
>


  • 2003 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: