File:Uzbin valley ambush-map 1.svg

Original file ‎(SVG file, nominally 888 × 715 pixels, file size: 1.09 MB)

Description Uzbin Valley ambush
Source Own work
Author David.Monniaux and Rama
Permission
(Reusing this file)
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 1.0 Generic license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you alter, transform, or build upon this work, you must distribute the resulting work under the same license as the original.

Makefile

Makefile for the map, PDF version. First obtain a GeoTIFF digital elevation model of the zone from SRTM.

# elevation.tif is SRTM 3 seconds arc

#PROJECTION=-JT69.849142/34.661914/20c
PROJECTION=-JY69.849142/34.661914/20c
RANGE=-R69.80/69.88/34.64/34.69

all:	rawmap.pdf fancymap.pdf

.PHONY: all

%.pdf : %.eps
	epstopdf $<

rawmap.eps: elevation.cdf elevation.cpt shading.cdf
	gmtset PAPER_MEDIA A4+ PAGE_ORIENTATION portrait 
	grdimage elevation.cdf -K -Sb -E100i -Ishading.cdf -Celevation.cpt $(PROJECTION) > $@
	grdcontour -O -C20 -A100 -S4 $(PROJECTION) elevation.cdf >> $@

fancymap.eps: elevation.cdf elevation.cpt shading.cdf
	gmtset PAPER_MEDIA A4+ PAGE_ORIENTATION portrait BASEMAP_TYPE fancy ANNOT_FONT_SIZE_PRIMARY 10 OBLIQUE_ANNOTATION 32 LABEL_FONT_SIZE 10
	grdimage elevation.cdf -K -Sb -E100i -Ishading.cdf -Celevation.cpt $(RANGE) $(PROJECTION) > $@
	grdcontour -O -K -C20 -A100 -S4 $(RANGE) $(PROJECTION) elevation.cdf >> $@
	psbasemap -Lfx3c/1c/34.67/2k -B1m -O $(RANGE) $(PROJECTION) >> $@

elevation.cdf:	elevation.tif
	gdal_translate -of GMT $< $@

shading.cdf: elevation.cdf
	grdgradient $< -Gshadingtemp.cdf -E315/45
	grdmath shadingtemp.cdf 0.7 ADD 1.7 DIV = $@

contour.ps: elevation.cdf
	grdcontour -C20 -A100 -S4 $(PROJECTION) elevation.cdf >$@

colored.ps: elevation.cdf elevation.cpt shading.cdf
	grdimage elevation.cdf -Sb -E100i -Ishading.cdf -Celevation.cpt $(PROJECTION) > $@

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

creator

some value

author name string: Rama
Wikimedia username: Rama
URL: http://commons.wikimedia.org/wiki/User:Rama

copyright status

copyrighted

copyright license

Creative Commons Attribution-ShareAlike 1.0 Generic

source of file

original creation by uploader

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current17:59, 4 November 2009888 × 715 (1.09 MB)Rama{{Information |Description= |Source= |Date= |Author= |Permission= |other_versions= }}
15:31, 3 November 2009888 × 715 (1.23 MB)Rama{{Information |Description=Uzbin Valley ambush |Source=Self-made |Date= |Author=David.Monniaux and Rama |Permission={{Cc-by-sa}} |other_versions= }} Category:Uzbin Valley ambush
14:28, 3 November 2009709 × 858 (2.23 MB)Rama{{Information |Description=Uzbin Valley ambush |Source=Self-made |Date= |Author=David.Monniaux and Rama |Permission={{Cc-by-sa}} |other_versions= }} Category:Uzbin Valley ambush
The following pages on the English Wikipedia use this file (pages on other projects are not listed):

Global file usage

The following other wikis use this file:

  • Usage on fr.wikipedia.org
    • Embuscade d'Uzbin
Retrieved from "https://en.wikipedia.org/wiki/File:Uzbin_valley_ambush-map_1.svg"