Quantum GIS

Discussion about RailWorks route design.

Quantum GIS

Unread postby davedingler » Thu Jan 02, 2014 5:05 pm

Hey All, I'm looking for a BAT program that will extract the >bld file from the BIL OUTPUT/GDAL_IMG_2.BIL file using the QGIS Raster program.

I have over one hundred files to create the .bld extension in & it is pretty monotonous.

Any help would be appreciated,Thanks,

Dave
davedingler
 
Posts: 129
Joined: Sun Jan 20, 2013 2:44 pm
Location: Friendswood, TX

Re: Quantum GIS

Unread postby Bananarama » Thu Jan 02, 2014 7:01 pm

Cheers!
Marc - 3DTrains

Image
User avatar
Bananarama
 
Posts: 2749
Joined: Sat Feb 14, 2009 1:17 am
Location: Another Planet

Re: Quantum GIS

Unread postby davedingler » Thu Jan 02, 2014 9:31 pm

"Quantum GIS (QGIS)

Start QGIS, and from the Raster menu at the top, select Projections > Extract projection where a small window will open. Click on Select, choose from the Files of type: dropdown All files (*), navigate to the BIL_Output folder, and then select the GDAL_IMG_2_BIL.bil file created in the initial conversion step mentioned above. Once the file is selected, click the Open button to return to the Extract projection window. Finally, click the OK button. Note that the process is very quick - this is because only the final 4th file to the ReDem puzzle is needed and is very small.

In the BIL_Output folder youll find a new file created by QGIS called GDAL_IMG_2_BIL.wld. Rename the file to "GDAL_IMG_2_BIL.blw". Note that both WLD and BLW files are of the same type (ASCII world files), except that ReDem expects to find a BLW and wont find or read a WLD one"


Thanks Hack, I'm able to get to the step outlined above with no problem except the process of going through the 4 or 5 steps to get to the final one to get the GDAL_IMG_2_BIL.WLD file to change it to a .BLW file to do the REDEM process. Being an old lazy guy and about 100 folders left to do, I'd like to have the computer do this for me and was looking for a batch file that might be able to do it.

Dave
davedingler
 
Posts: 129
Joined: Sun Jan 20, 2013 2:44 pm
Location: Friendswood, TX

Re: Quantum GIS

Unread postby Bananarama » Fri Jan 03, 2014 4:21 pm

Doing a Google search, there's a ton of batch renaming utilities available. :D
Cheers!
Marc - 3DTrains

Image
User avatar
Bananarama
 
Posts: 2749
Joined: Sat Feb 14, 2009 1:17 am
Location: Another Planet


Return to Route Design

Who is online

Users browsing this forum: No registered users and 1 guest