Project

General

Profile

DataBase (dbtype,parameters, maxquerylimit)

Configuration to access a PostgreSQL or SQLite database, for example:

 <DataBase maxquerylimit="365" parameters="dbname=thedatabase host=thehostname  user=theuser password=asecretpassword"/>
 <DataBase dbtype="sqlite" parameters="databasefile.db"/>
  • dbtype can be either sqlite or postgresql. Default is postgresl
  • parameters are the database parameters required for making the connection
  • maxquerylimit is the maximum number of results for a getfeatureinfo call.