← Documentation hubCurrent published guide

pass-through.json

Credential-free example configuration.

{
  "dataSources": {
    "default": {
      "type": "csv",
      "path": "data/sample.csv",
      "idField": "id",
      "geometryColumn": "geom",
      "geometryEncoding": "wkt",
      "crs": 4326,
      "axisOrder": "xy",
      "queryMode": "pass-through",
      "freshness": { "mode": "stat" },
      "schema": {
        "version": "cities-v1",
        "policy": "strict",
        "fields": [
          { "name": "id", "type": "BIGINT" },
          { "name": "name", "type": "VARCHAR" },
          { "name": "population", "type": "BIGINT" },
          { "name": "geom", "type": "VARCHAR" }
        ]
      }
    }
  },
  "maxRecordCount": 2000,
  "database": { "memoryLimit": "512MB", "threads": 2, "poolSize": 1 },
  "server": { "host": "127.0.0.1", "port": 3000 }
}