I'm looking to create a map of Afghanistan and I am in the middle of resampling binary geographic data into topojson format. The trouble is that my research of WSEN borders has returned nothing and I do not know how to adapt this section of the code to my area of interest.
For instance, in the makefile/d3.js tutorial I'm trying to learn from uses this syntax to display France:
# boxing: crop.tif: ETOPO1_Ice_g_geotiff.tif gdal_translate -projwin -005.50 051.30 10.00 041.00 ETOPO1_Ice_g_geotiff.tif crop.tif # ulx uly lrx lry // W N E S // -005.50 051.30 010.00 041.00
The author must assume the users have this as background knowledge, but sadly I do not and I could not find any more information on how WSEN borders work. To me, a rectangle whose vertices are coordinate pairs would make sense, but perhaps there is a reason for using the WNES border format?
How do I compute WSEN borders for the general case and what tools do I need for the task?