sample_features
Preview a spatial layer by returning a few sample features and optional geometry, so you can inspect real data before writing queries or rendering maps.
Instructions
Return a few example features of a layer (random for small tables) to see real data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | How many features (1-50). | |
| layer | Yes | ||
| geometry | No | 'auto' (default): full geometry if small, else representative points; 'full'; 'centroid'; 'none' (attributes only). The complete geometry is always kept server-side under result_id for render_map. | auto |