>  Docs Center  >  ENVI API  >  GeoServer Configuration Template
ENVI

GeoServer Configuration Template

GeoServer Configuration Template

Copy and paste the following text into a new file named geoserver_conf.json. Specify the connection details needed to access and use a GeoServer instance on your machine. Place the file in the resource/server folder of your ENVI installation path.

 

// ***************************************
// *  Define data needed to access and
// *  use a GeoServer instance on this
// *  machine.
// ***************************************
 
{
 
//  -----------------------------------------------
//  If clients are accessing GeoServer via a proxy,
// provide this information here.
//  -----------------------------------------------
 
//     "PROXY_HOST":     "proxy_hostname",
//     "PROXY_PORT":     80,
//     "PROXY_PROTOCOL": "http",
 
//  -----------------------------------------------
//  Define how to access this geoserver from a
//  process on this machine.
//  -----------------------------------------------
 
"HOST":     "hostname",
"PORT":     80,
//     "PROTOCOL": "http",
 
//  -----------------------------------------------
//  Define the GeoServer Workspace to use. 
//  -----------------------------------------------
"WORKSPACE": "myworkspace"
 
//  -----------------------------------------------
//  Specify credentials if GeoServer requires them.
//  -----------------------------------------------
//     "CREDENTIALS": {
//         "USER": "user",
//        ,"PASS": "password",
//    }
 
}



© 2019 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us