read_features
Read vector spatial features from files (GeoJSON, Shapefile, FileGDB, GeoPackage) with optional filters, returning as GeoJSON FeatureCollection.
Instructions
Lee features de una capa y los devuelve como GeoJSON FeatureCollection.
Args: path: Ruta al archivo o directorio espacial. layer: Nombre de la capa (None = primera capa). limit: Número máximo de features a retornar (default 10). where: Filtro SQL OGR, ej: "POBLACION > 5000 AND TIPO = 'urbano'". bbox: Filtro espacial [xmin, ymin, xmax, ymax] en el CRS de la capa.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bbox | No | ||
| path | Yes | ||
| layer | No | ||
| limit | No | ||
| where | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |