Registering spatial database

Feedback


Log in to iServer Manager (http://<server>:<port>/iserver/manager), click "Clusters">"Data Registration". "Data Storage List" shows all the  registered data stores. Click on storage ID of a data store, you can view the detailed storage configuration information. To register a spatial database, click "Register data storage".

Specific configurations:

Note: When registering data storage, if the iServer service is not on the same machine as the HBase cluster, you need to add the ip and host name of the machine where each node of the HBase cluster locates to the hosts file of the machine where the iServer service locates.

Alternatively, You can register a spatial database through modifying Data catalog service configuration file.  Add the following contents in iserver-datacatalog.xml to complete registering:

    <datastore>
      <datastoreType>SPATIAL</datastoreType>  
      <name>postgresql2</name>  
      <type>POSTGRESQL</type>  
      <connectionInfo> 
        <dataBase>postgres2</dataBase>  
        <engineType>POSTGRESQL</engineType>  
        <password>iserver</password>  
        <server>192.168.17.116</server>  
        <user>iserver</user>  
        <connect>false</connect>  
        <exclusive>false</exclusive>  
        <openLinkTable>false</openLinkTable>  
        <readOnly>false</readOnly> 
      </connectionInfo>
    </datastore> 

Where, datastoreType, name, type are the required parameters; in connectionInfo node, dataBase, password, server, user are required paramters.