Home
Up
 
 

Clip and Download Tool 

   
 

Disclaimer

The Idaho Department of Water Resources is making this source code and documentation available as a public service. The Idaho Department of Water Resources strives to ensure that all technical data and other information made available to the public through its web site are accurate and complete.  Nevertheless, neither the Department of Water Resources nor the State of Idaho, assumes any legal responsibility for the accuracy of the source code or documentation contained in this package.

  This source code is made available to the GIS community free of charge by the Idaho Department of Water Resources.  The Idaho Department of Water Resources does not support this code.

Description

The IDWR download tool comes as a ZIP file that includes instructions for installing the code. This Zip file provides the components and instructions necessary to enable your application to do the following:
  1. create a pop-up menu allowing the user to select the layers to download;         
  2. clip the shape-files and the images for the selected region;
  3. put all of the clipped layers in a zip-file;
  4. deliver the zip-file to the user.

The image-clipping tool does not deliver a clipped image that is the same size as the screen image. Rather, the tool determines the dimensions of the clipped image from the map coordinates of the region chosen by the user, and delivers the clipped image at the full, original resolution. The number of map-units per pixel (e.g. pixel size in meters) must be specified for each image layer in ArcIMSparam.js script.

The clipped and downloaded image will be of the type delivered by the map service: either a JPG, a GIF, or a PNG. Therefore, it may be slightly degraded if the original image is a TIF.  The ArcIMS extract server is used to clip and extract the non-image layers.  Any combination of shapes and images may be requested at one time.

The download software uses two active server pages to monitor the production of the images and zip-file.  The download will not work under Unix unless the Internet server can process ASP, which requires a proprietary software package. 

download tool (version of 9-15-02: minor change to instructions)

   
   
 

"The Shoshone Falls on the Snake River" by Thomas Moran (1900) used courtesy of the Gilcrease Museum