Exporting images as .shp files
Use this procedure to export images as shape files (.shp). The output is a zip file containing all the files for the shape file.
-
In the IRIS Focus Map view, set up the view you want to save.
For example, you can save the settings for:
- Weather products
- Map tools such as the cross-section and tracking tools
- Zoom level
- Select .
-
Name the view and select Save.
The new view is added to the Saved Views list for your future use.
-
Configure your web server to access the IRIS Focus image export service:
@Request: POST <server-name>/focus-webapp/api/v2/image-export/shp @Produces: "application/octet-stream"The image is exported as a zip file.
-
Configure the following parameters:
Parameter Description username A valid IRIS Focus username.
For a smooth user experience, Vaisala recommends that you use the dedicated image-export account created at time of installation for exporting images. password IRIS Focus password for the user. time Start time, in ISO-8601 format:
[YYYY]-[MM]-[DD]T[hh:mm:ss.sssZ]
Example: 2024-06-18T16:25:23.000Z
savedViewName The name of the saved view you created. savedViewUser (Optional) Used if you configure a specific user for exporting images (recommended).
-
Instead of steps 4 and 5, you can run the export from the command line by creating a
script and setting-up a
cronjob. For example:
