Re: [OpenMap Users] Slope Generator Issue

From: Don Dietrick <dietrick_at_bbn.com>
Date: Wed, 23 Feb 2005 17:22:52 -0500

Hi Lonnie,

You're right, major is ignored as a result of an oversight. The
default is COLUMN_MAJOR, though. It's the COLUMN_MINOR that isn't
implemented. The SlopeGenerator is also based on the SW corner, like
DTED.

Is your row data from top to bottom or bottom to top? I think
SlopeGenerator is expecting bottom to top, and left to right for
columns.

- Don

On Feb 23, 2005, at 10:48 AM, Lonnie Goad wrote:

> Hello OpenMap developers,
>
> ††††††††††† I am trying to create a graphic given raw elevation values
> using OMGrid, SlopeGenerator, and OMGridData.Short.† I am creating my
> short[][] in COLUMN_MAJOR format and have created a layer for
> displaying my creation.† The problem is that no matter what I set my
> dataís major to (or the gridís major) my data is coming out wrong.† It
> basically needs to pivot on the SW corner which would indicate the
> wrong major is being used.† I took a look at the SlopeGenerator code
> and notice on line 130 that a variable for the major is being defined
> but it then is never used.† Could this be the problem?† I have just
> started to review the code, but, if anyone else already has a heads up
> on this, I would appreciate it.
>
> †
>
> Thanks,
>
> †
>
> ************************
>
> Lonnie Goad - Programmer
>
> OptiMetrics Inc.
>
> 2107 Laurel Bush Rd. Suite 209
>
> Bel Air, Md. 21015
>
> LGoad_at_OptiMetrics.org
>
> http://www.OptiMetrics.org
>
> (410)569-6081 ext: 105
>
> fax: (410)569-6083
>
> †
>


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, dietrick_at_bbn.com
BBN Technologies, Cambridge, MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Wed Feb 23 2005 - 17:24:02 EST

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:06 EDT