Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.

Re: VisADLineStripArray

Hi Leah,

> Could someone point me towards an example of how to use
> VisADLineStripArray?
>
> I'm trying to draw a coastline on my display.  I have a list of coordinates
> describing various points along the coast and I'd like to connect the dots.

You could theoretically draw coastlines as VisADLineStripArrays
using ScalarMaps to Shape (see Test47.java and Test46.java in
visad/examples), but its much easier to draw them as a UnionSet
of Gridded2DSets with manifold dimension = 2. This is what
visad.data.mcidas.MapForm does for displaying coastlines from
McIDAS map files. See the Rivers.java program in visad/examples
for an example. Note the Sets have MathType:

  Set(RealType.Latitude, RealType.Longitude)

Good luck,
Bill


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