Skip to content

Commit

Permalink
refine maskimage with size 4018x2528
Browse files Browse the repository at this point in the history
  • Loading branch information
justb4 committed Mar 23, 2015
1 parent 46682af commit 5d6dedd
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
10 changes: 6 additions & 4 deletions bonnebladen/bin/bonnetrans-all-jaar.sh
Expand Up @@ -13,30 +13,32 @@ SETTINGS_SCRIPT="settings.sh"
while read fileName
do
./bonnetrans.sh $fileName ${BONNE_DATA_YEAR_DIR}/1900
done < ${BONNE_DATA_YEAR_DIR}/1900/files.txt
done < ${DATA_DIR}/1900-files.txt

echo "Maak index.shp aan met gdaltindex in ${BONNE_DATA_YEAR_DIR}/1900"
pushd ${BONNE_DATA_YEAR_DIR}/1900
/bin/rm -f index.*
gdaltindex index.shp *.tif
popd


while read fileName
do
./bonnetrans.sh $fileName ${BONNE_DATA_YEAR_DIR}/1925
done < ${BONNE_DATA_YEAR_DIR}/1925/files.txt
done < ${DATA_DIR}/1925-files.txt

echo "Maak index.shp aan met gdaltindex in ${BONNE_DATA_YEAR_DIR}/1925"
pushd ${BONNE_DATA_YEAR_DIR}/1925
/bin/rm -f index.*
gdaltindex index.shp *.tif
popd

while read fileName
do
./bonnetrans.sh $fileName ${BONNE_DATA_YEAR_DIR}/1949
done < ${BONNE_DATA_YEAR_DIR}/1949/files.txt
done < ${DATA_DIR}/1949-files.txt

echo "Maak index.shp aan met gdaltindex in ${BONNE_DATA_YEAR_DIR}/1949"
pushd ${BONNE_DATA_YEAR_DIR}/1949
/bin/rm -f index.*
gdaltindex index.shp *.tif
popd
1 change: 1 addition & 0 deletions bonnebladen/bin/bonnetrans-testarea.sh
Expand Up @@ -12,5 +12,6 @@ SETTINGS_SCRIPT="settings.sh"

echo "Maak index.shp aan met gdaltindex in ${BONNE_DATA_HOME}/friesland-trans"
pushd ${BONNE_DATA_HOME}/testarea-trans
/bin/rm -f index.*
gdaltindex index.shp *.tif
popd
2 changes: 1 addition & 1 deletion bonnebladen/bin/create-maskimage.sh
Expand Up @@ -17,7 +17,7 @@ SETTINGS_SCRIPT="settings.sh"
. $SETTINGS_SCRIPT

# Maak mask file met alleen de "zwarte randen"
convert -colorspace sRGB -size 4019x2527 xc:none -fill ${BONNE_MASK_COLOR} \
convert -colorspace sRGB -size 4018x2528 xc:none -fill ${BONNE_MASK_COLOR} \
-draw 'polygon 0,0 0,2466 17,0' \
-draw 'polygon 106,0 4018,26 4018,0' \
-draw 'polygon 4018,27 4000,2526 4018,2526' \
Expand Down
Binary file modified bonnebladen/data/bonnemask.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5d6dedd

Please sign in to comment.