Author Topic: elevations .elv file  (Read 521 times)

Offline bod

  • Zinc Member
  • *
  • Posts: 15
elevations .elv file
« on: May 05, 2002, 08:15:30 AM »
How is the .elv file stored? I want to multiply all the elevation by 2 or more and don't want to edit every single vortex.

Thanks.

Offline pokie

  • Silver Member
  • ****
  • Posts: 841
      • http://s7.eastlink.ca/~tscott
Re: elevations .elv file
« Reply #1 on: May 05, 2002, 10:45:57 AM »
Quote
Originally posted by bod
How is the .elv file stored? I want to multiply all the elevation by 2 or more and don't want to edit every single vortex.

Thanks.


That's the only I know of.  

You can select an area 41 miles X 41 miles, then you can raise or lower all the vortices the same increment value.

That's one of the advantages of the BMP2MAP program by Jason "AKWabbit" Irby.  You can easily change the entire elevation.

I've been wanting to send an email to AKWabbit to ask how hard would it be to make a program to take the .typ and .elv made by the Editor and convert them into a Grayscale bmp map.

I don't think you'll get a true grayscale .bmp by "Make Map" in the editor and then converting its .bmp to grayscale.

Pokie

Offline bod

  • Zinc Member
  • *
  • Posts: 15
elevations .elv file
« Reply #2 on: May 05, 2002, 01:45:21 PM »
Figured it out. The bytes were swapped, or maybe LabVIEW swaps the bytes by default, i don't know. An array of (swapped or not) 16 bit unsigned integer, (2xmapsize)^2 long.