Connectors
Connectors
A Data Connector connects to your existing geodata — whether that’s a database, a search index, files, or another data source — mirrors and caches it, and serves it as vector tiles. The cache means repeated requests are served directly by the Data Connector, without hitting your data source each time. This lets you add a full vector map view to your app without changing how your data is stored or queried. Your existing filters and search keep working as-is. Setup is done in the browser and takes about 5 minutes. Data Connectors are available for Maptoolkit Enterprise customers.
Overview
flowchart LR
subgraph sources["Your Data Sources"]
Elasticsearch[(Elasticsearch)]
PostgreSQL[(PostgreSQL)]
PMTiles[(PMTiles)]
Solr[(Solr)]
OGD[(Open Government Data)]
end
Elasticsearch --> DC
PostgreSQL --> DC
PMTiles --> DC
Solr --> DC
OGD --> DC
DC["MTK Data Connector"]
subgraph app["Your app or website"]
List[List views]
Map[Map views]
Split[Split List and Map views]
end
DC --> j(( ))
j --> List
j --> Map
j --> Split
classDef junction fill:#666,stroke:#666,color:transparent
class j junction
Features
- Multiple Data Sources Supported: Connect to PostgreSQL, Solr, GeoJSON, Open Government Data, PMTiles, TileProxy, TilePG, InfoMax GraphQL, plain files, custom Javascript, and tag-based aggregation by configuring one of our Backends
- Data Source Grouping: With tags you can group data sources together into one Data Connector. Your app just needs to communicate with one endpoint to fetch all your data.
- Vector Tile Generation: Automatically converts your data into Mapbox Vector Tiles for fast map rendering
- Intelligent Caching: Implements multi-layer caching for optimal performance
- Access Control: Granular permissions system with account-based access control
- Real-time Updates: Configurable reload intervals and automatic data synchronization
- Search Integration: Built-in search capabilities
- Filter Support: Advanced filtering capabilities using JSON expressions
- Grid Clustering: Automatic point clustering for better visualization at different zoom levels
- Tile Optimization: Smart vector tile optimization based on map styles
Authentication
Add your API key as ?api_key=YOUR_API_KEY to every request. See Authentication for details.