swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GIS and Swarm


From: M Lang / S Railsback
Subject: Re: GIS and Swarm
Date: Mon, 30 Sep 2002 07:29:57 -0600

Li An wrote:
> 
> Thanks. Can Swarm work with Arc/Info data directly without converting data
> to matrix format? There should be a study group with focus on the
> integration of GIS and Swarm--anyone knows where it is? Thanks a lot. Li

Yes there *should* be a GIS-Swarm working group, and there are a few
people doing things. Hopefully Paul Box will also address your question
- he seems to be the most active in using GIS data in Swarm. See:
http://www.gis.usu.edu/swarm/index.html

I have only a bit of experience but:  GIS data are usually in a format
with 3 numbers per row: X, Y, value. It is very easy in Swarm to read
such files and create an object in a Swarm Grid2D object for each row. 

We have a code class that reads in a GIS file where the X and Y values
are UTM coordinates, does some transformations on the coordinates, and
creates a grid cell object in a Grid2d for each row of the GIS file. The
transformations are necessary because you want the Grid2D coordinates to
start at zero, and because Y coordinates increase south to north in UTM
but vice versa in Swarm's display classes. 

I'd be happy to send our code but I suspect Paul Box has something
similar and cleaner. 

Steve R.

-- 
address@hidden
Lang, Railsback & Assoc.
250 California Ave., Arcata CA 95521
707-822-0453; Fax 822-1868

                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]