Changes between Initial Version and Version 1 of vec2ras


Ignore:
Timestamp:
May 14, 2007, 12:29:05 PM (17 years ago)
Author:
mlucas
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • vec2ras

    v1 v1  
     1= vec2ras =
     2vector to raster conversion
     3{{{
     4vec2ras [options] <vector file>
     5
     6Options:
     7
     8 -k  <kwl>   Takes a keywordlist that describes the
     9             drawing techniques of the vector file and
     10             the output projection.  Please see the -t
     11             option to generate template kwl to edit
     12 -t <template_file> Generates a keywordlist for this app to take in                    with the -k option
     13 -o  <raster file>   Raster output filename
     14                     currently only geotiff output
     15 -d <file_name>      dump vertices to file
     16
     17 <vector file> Currently we only support shape files
     18               .shp .dbf .shx
     19
     20Typical usage example:
     21Assuming you have file my_shape_file.shp to convert.
     22
     23run the command:
     24
     25  vec2ras -t my_shape_file.kwl
     26
     27The above command will output a my_shape_file.kwl which is a template.
     28Edit my_shape_file.kwl for desired output.
     29
     30NOTE:
     31
     32The meters_per_pixel keywords determine the file size.
     33If your shape file covers a large geographic area and you use
     34a meters_per_pixel of 1 you're going to get a huge output file.
     35After editing the my_shape.kwl.
     36
     37run the command:
     38
     39  vec2ras -k my_shape_file.kwl -o my_shape_file.tif my_shape_file.shp
     40
     41You now should have a rasterized shape file called my_shape_file.tif.
     42}}}