Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.
By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.
I found a new (and hidden) way to copy the file's path in Windows Explorer
It's the NIR channel.Bad news: it looked like Day 3 of rain for Noah and his Ark
set path=C:\Users\Mary Beth\Downloads and "%path%\source1.jp2" "%path%\source2.jp2" ?
It's the NIR channel.
The (several) sub-topics under discussion in this thread:
qdal_translate -b 1 -b 2 -b 3 -of GTiff -co INTERLEAVE=PIXEL "path\to\input.tif" "path\to\output.tif"
My discovery is probably new to no one but me...
Now that I know it can extract watermask data from the NIR/alpha channel, is the GDALwarp process you recommended in Post #17 still my best option for burning in a watermask?
is there an efficient way to automatically adjust brightness, contrast, vibrancy/saturation outside of doing it for each TIFF file in a photo editing program?
gdalwarp -of GTiff -co "INTERLEAVE=PIXEL" -t_srs "+proj=latlong +datum=WGS84" -r cubic "%remote%\keystone_NAD83.tif" "%remote%\SE_keystone_WGS84.tif"
::
::extract the geo data to be put back in after the nconvert step
listgeo -d "%remote%\NW_keystone_WGS84.tif" > "%remote%\NW_keystone_WGS84.gtf"
::
::the nconvert command, to see all the nconvert options type: nconvert -help > nchelp.txt
"%nconvertpath%\nconvert.exe" -overwrite -balance 1 5 -10 -brightness -5 -contrast 40 -sharpen 20 -replace 0 0 0 2 2 2 "%remote%\NW_keystone_WGS84.tif"
::
::finally put the geo data back in so GeoTiffToInf can read it
geotifcp -g "%remote%\NW_keystone_WGS84.gtf" "%remote%\NW_keystone_WGS84.tif" "%remote%\NW_keystone_WGS84a.tif"
I was thinking that if I removed the IR layer that it would fix the water issue
Oh, and one more note, on the gdal_rasterize command for turning your watermask.shp into watermask.tif you can use -i to invert it, then you can skip the step of opening the output file in Gimp and inverting it
ImportOGR|path\to\Missouri buildings.shp|*|*|NOREPROJ
ImportOGR|path\to\Urban Areas.shp|*|*|NOREPROJ
#
SplitGrid|AGN|*|FROMFILE="Missouri buildings.shp"
#
AddCellAttribute|*|String;area|rural
AddCellAttributeIfInside|*|FROMFILE="Urban Areas.shp"|String;area|urban
#
SetAGNBuildingHeight|area="rural"|1.0;0.0;0.0;0.0
SetAGNBuildingHeight|area="urban"|0.8;0.5;0.1;0.0
#
CreateAGNGenBuild|FROMFILE="Missouri buildings.shp" AND FAREARAT>0.7 AND FWIDTH<20|{5ae04eb6-934c-4f63-bb48-5e7dee601212}|MAXRATIO=2
CreateAGNGenBuild|FROMFILE="Missouri buildings.shp" AND FAREARAT>0.7 AND FWIDTH>20|{6089A0BD-CED1-4c47-9A9E-64CDD0E16983}
#
ExportAGN|P3D v2|path\to\Texture
What do you mean scenProc component? Who said that it was a component? And what exactly is an "Official component"? scenProc runs scripts.hello bernb,
the script you speak of was created by whomever is working on the tool you mentioned,
it is not an official scenProc component,
Jim, A couple months ago you mentioned this process that I just now found time to experiment with. This results in an RGB file that is just as big as my orthoimagery TIFF. Am I doing something wrong, or do I need to have a 1.5 gigabyte watermask to go with my 1.5 gigabyte scenery?Oh, and one more note, on the gdal_rasterize command for turning your watermask.shp into watermask.tif you can use -i to invert it, then you can skip the step of opening the output file in Gimp and inverting it
gdal_rasterize -i -burn 255 -burn 255 -burn 255 -tr 0.000009266010702 -0.000009266010702 -te -126.02494697 45.07114956 -125.97001807 45.11255936 -ot BYTE "%path%\SBuilder\shapes\fantasy_island_blend.shp" "%path%\PR\fantasy_island_blend.tif"