Jump to content
Sign in to follow this  
Guest PeterK

Landclass success! A few questions though ...

Recommended Posts

Guest GerrishGray

Thanks for that link, that's very interesting. It gives us a way of distributing modified land class for a small local area without obliterating someone else's equally expert stuff for their own home town on the same 'tile'. FSLandClass owners can do that by swapping 'force' data files, but that relies on people co-operating with each other (as well as owning FSLandClass), which is all a bit unreliable and improbable really. This method with the transparent land class 254 is potentially much more useful and 'universal'.CheersGerrish

Share this post


Link to post
Share on other sites
Guest rbrown3rd

I am totally new at this. I made s few successful landclass files by hand digitizing using Landclass Assistant. I decided to try using the NLCD files as described in your posts.I changed the palette in the .tiff to represent proper FS Texture numbers as gray levels. Reading the indexed .tiff shows that they are correct. I then discarded the color information to create a grayscale image and saved it as a .raw.I cannot get the .bgl to come out right though.My source file is 6750 x 6750 and it covers the area of 82.5 west, 28.125 north by 80.6250 west, 26.7188 north. My .inf file looks like this:[Destination]LOD=5NorthLat=28.125SouthLat=25.3125WestLong=-82.5EastLong=-78.75DestDir=.DestBaseFileName=landclass[source]Type=ClassU8SourceDir=.SourceFile=landclass.rawLat=28.125Lon=-82.5NumOfCellsPerLine=6750NumOfLines=6772CellXdimensionDeg=0.00278CellYdimensionDeg=0.00278I got the Cell sizes by dividing the lat coverage by 6772 and the long coverage by 6750. I just rounded them off.Can someone tell me if there are any obvious errors in what I am doing here?Thanks very much,Bob

Share this post


Link to post
Share on other sites
Guest rbrown3rd

Just checked my files and while my grayscale .tiff file looks great the .raw file is scrambled. It looks like stripes. I have been working in Photoshop and have had no problems with smaller .raw files. The ones I was using to hand digitize land cover were 256 x 256. Is this a size thing? Does size really matter after all?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...