DESCRIPTION
Utility to create an image file of spatial data on a MetVue map window.
USAGE
OPTIONS
-projectFile projectFile
Specifies the project file containing the desired map settings.
-session session
Specifies the name of the session containing the desired map settings.
-mapWindow mapWindow
Specifies the name of the map window containing the desired map settings.
-tinFile tinFile
Specifies the input file that holds the tin or grid data. The default is
to use the settings specified by the projectfile/session/mapwindow.
-tinPath tinPath
Specifies the pathname of TIN or grid data, if the file is DSS. The default
is to use the settings specified by the projectfile/session/mapwindow.
-shapeFile shapefile
Specifies the input shapefile to be drawn. The default is to use the
settings specified by the projectfile/session/mapwindow.
-prjFile file
name of the file containing a wkt that defines the image projection
-zoomExtents "minlat,maxlat,minlon,maxlon"
Specifies the bounding points of the desired image extents in decimal degrees.
The default is to use the settings specified by the projectfile/session/mapwindow.
-outputResolution "width,height"
Output size of the image in pixels. The default is to use the settings specified by
the projectfile/session/mapwindow.
-noLegend
removes the legend from the output image
Specifies the format of the output file. Valid values are gif, jpg and png.
Default is jpg.
-outputFile outputFile
Specifies the output file for the image
SAMPLE COMMAND LINE ARGUMENTS
Create jpg image for a specific map window
-projectFile C:\project.metvue -session session1 -mapWindow mapWindow1
-outputFile C:\image.jpg
Create a png image with a specific projection shapefile and TIN
-projectFile C:\project.metvue -session session1 -mapWindow mapWindow1
-tinFile C:\data.nc -shapeFile C:\basin.shp -prjFile -shapeFile
C:\basin.prj -format png -outputFile E:\image.png
Set custom zoom and resolution
-projectFile C:\project.metvue -session session1 -mapWindow mapWindow1
-zoomExtents "32,40,-104,-86" -resolution "640,480" -outputFile C:\image.jpg
This program may utilize a significant amount of memory depending on datasets specified.
For extra intensive data operations, it may be necessary to increase the memory allocated
to the jvm. This can be performed by setting the -Xmx argument, which can be altered
easily in the "memory_setting" variable in the GridReader.cmd example file provided.