This task registers a vector with an OGC server so that it can be rendered on a web client. It does not upload vectors to the server, nor does it allow any editing or data manipulation. GeoServer must be able to access the same file system as this task.
Instead of setting properties, you can use the GeoServer Configuration Template to define connection details. This file is in JSON format. Specify the connection details in this file, then save it as geoserver_conf.json and place it in the resource/server folder of your ENVI installation path. If you choose to set properties to define the connection details, those settings will override any values defined in the configuration file.
Result = ENVITask('RegisterVectorWithGeoServer')
Input properties (Set, Get): HOST, INPUT_VECTOR, PASSWORD, PORT, PROTOCOL, PROXY_HOST, PROXY_PORT, PROXY_PROTOCOL, USERNAME, WORKSPACE
Output properties (Get only): OUTPUT_FEATURE
Properties marked as "Set" are those that you can set to specific values. You can also retrieve their current values any time. Properties marked as "Get" are those whose values you can retrieve but not set.
This task inherits the following methods from ENVITask:
This task inherits the following properties from ENVITask:
This task also contains the following properties:
Specify a string with the hostname for GeoServer communications. The host can be a machine name or IP address.
Specify a vector to register with GeoServer. Shapefiles are the only supported vector types at this time.
The name of the feature coverage that will be created. The returned asset is assigned a unique layer name.
Specify a string with the password if GeoServer requires credentials.
Specify an integer port number for GeoServer communications.
Specify a string with the protocol for GeoServer communications. Examples include 'http' and 'https'.
Specify the host name returned to the client. The client use this name when forming OGC requests. A proxy is an upstream server that acts as a router for all requests coming into or out of a server.
Specify a string with the port returned to the client. The client use this port when forming OGC requests.
Specify the protocol returned to the client. The client use this protocol when forming OGC requests. Examples include 'http' and 'https'.
Specify a string with the username if GeoServer requires credentials.
Specify a string with the workspace for GeoServer registration. If you do not define a workspace, this task will create one called envi. The workspace name cannot contain spaces.
ENVITask, ENVIVector, RegisterRasterWithGeoServer Task