...
The WMS Tester file (wmstest.jar
) is can be stored anywhere but for the purpose of simplicity we will assume it's been downloaded and stored in your c:\<weave installation folder>
, e.g. c:\weave
. It requires java to run so if you don't have Java installed you can use the Java executable that is installed with Weave (e.g. c:\weave\jre\bin
).
...
Parameter | Description |
---|---|
-f, --file <filename> | Filename of a text file that has a list of base URL's for the WMS services. Each line in the file should contain a single WMS URL. |
-u, --url <url> | The base URL for the WMS service, this can be added more than once, but the -f command can also be used for multiple URL's. |
-e, --envelope minx,miny,maxx,maxy> | The envelope to use to draw the map. This is alternative to -l, and can not be set if -l is set. |
-l, --location <x,y,scale> | The centre location to use to draw the map. This is alternative to -e, and can not be set if -e is set. |
-c, --crs <crs> | The CRS to use for the map requests. The default is EPSG:4326. |
-x, --maxscale <scale> | The maximum scale to use to generate the map. |
-s, --size <width,height> | The width and height, in pixels, of the generated map image. The default is 400,400 |
-D, --dpi <DPI> | DPI to use when creating the map images. The default is 90.71. |
-t, --timeout <timeout> | The network timeout in seconds. The default is 120 |
-n, --nomap | Just retrieve the capabilities document, and do not generate a map request. |
-o, --output <filename> | Output results to a CSV file. |
-d, --dump | Dump the generated images to a file. |
-b, --background <threads> | Create all the connections in the background at the same time, rather than processing the URLs one by one. Including the <threads> value will specify how may tasks to do at once. If not set then all tasks will be performed at once. |
-U, --username <username> | Username to connect with, and must be supplied if the password is set. |
-P, --password <password> | Password to connect with, and must be supplied if username is set. |
-q, --quiet | Do not output results to the console. |
-h, --help | Show this help and quit. |
-V, --version | Print the version of the WMS Tester and exit. |
If neither -l or -e is set then the area to draw will be calculated based on the extent of the layer, but it will be adjusted if a maximum scale range has been applied to the layer, or -x is set. |
...
- Testing an external WMS with background processing to simulate ????? (what situation???)
c:\weave\jre\bin\java -jar c:\weave\wmstest.jar -u http://services.ga.gov.au/gis/services/Aviation_Facilities/MapServer/WMSServer -b 100
...