I finally got things squared away with the .py scripts opening in notepad.
I also discovered that I needed to build a batch file to run the .py scripts so I built one to run the kap2vrt.2.py script and called it kap2vrt, but when I ran the script it gave me this error:
Code:
C:\charts\Rastor\11405>kap2vrt --cut 11405_1.kap
Traceback (most recent call last):
File "C:\OSGeo4W\apps\gdal-16\bin\kap2vrt.2.py", line 123, in <module>
kap2vrt(f)
File "C:\OSGeo4W\apps\gdal-16\bin\kap2vrt.2.py", line 91, in kap2vrt
gcps=flatten([('-gcp', `i[0][1]`,`i[0][2]`,i[1][0],i[1][1]) for i in izip(re
fs, refs_merc)])
File "C:\OSGeo4W\apps\gdal-16\bin\kap2vrt.2.py", line 22, in flatten
return list(chain.from_iterable(listOfLists))
AttributeError: type object 'itertools.chain' has no attribute 'from_iterable'
Just for the heck of it I tried the bsb2gdal.py, built a batch file and got it to
work, not sure why kap2vrt would not
work.......