{"schema_version":"1.0","country":"es","country_name":"Spain","topic":"agricultural-parcels","question":"Where can I get agricultural parcels (geometry) in Spain, with declared crop or land use and irrigation, by year?","territory":"es","territory_level":"country","parent_url":null,"published_on":"2026-11-19","research_reviewed_on":"2026-11-16","access_checked_on":null,"answer":{"official_data":"partial","non_official_data":"usable","summary":"FEGA (Ministry of Agriculture) publishes the national 'Cultivo declarado' (CAP declaration lines) as polygons with declared product code and S/R (dryland/irrigated) flag: bulk GeoPackage/SHP for campaign 2025 and an OGC API with campaign 2026 (CC BY 4.0). Land use and irrigation coefficient per SIGPAC recinto are in the FEGA recintos files. Earlier years are not official at national level: use Catalonia (2015-2026), Madrid (2022) or third-party GeoParquet (2021-2023, 2022-2024).","main_caveats":["FEGA sources disagree on what 'cultivo declarado' is: pages say previous campaign (2025) but the OGC API returns expedientes numbered 2026 (17.9M features). Check exp_num before citing a year.","The OGC API recintos collection has no uso_sigpac or coef_regadio fields; those only exist in the ATOM/provincial recintos GeoPackages.","Third-party GeoParquet and Zenodo copies drop parts: Zenodo has no irrigation and one crop per parcel; source.coop keeps only the main crop and an undocumented irrigation_system column.","Declared lines cover only farmers who filed the CAP single application, not every agricultural parcel in Spain.","Regional series differ in code lists and geometry (Aragon CSV has no geometry; Catalonia WFS is EPSG:25831, Madrid EPSG:25830)."],"confidence":"medium","confidence_reason":"National and Catalan sources were downloaded or queried; earlier national years, 10 regions and the Zenodo/source.coop data were only checked by headers, listings or metadata.","attributes":[{"attribute":"parcel_geometry","covered":"yes","source_ids":["s001","s002"],"note":"Polygons per declaration line inside a SIGPAC recinto; national, ETRS89 (REGCAN95 in Canarias).","gap":null,"gap_note":null},{"attribute":"crop_or_land_use","covered":"yes","source_ids":["s001","s002","s003"],"note":"parc_producto (crop code, table cod_producto in the gpkg); SIGPAC uso_sigpac per recinto is assigned, not declared.","gap":null,"gap_note":null},{"attribute":"irrigation","covered":"yes","source_ids":["s001","s002","s003"],"note":"parc_sistexp S/R on declared crops (null on some rows); coef_regadio 0-100 on recintos; Catalonia gives irrigation system type.","gap":null,"gap_note":null},{"attribute":"reference_year","covered":"partial","source_ids":["s001","s002","s004","s005","s006"],"note":"Official national: 2025 bulk + 2026 API only. Earlier years from regions (Catalonia 2015-2026) or third parties (2021-2025).","gap":"not_published","gap_note":"FEGA says HVD covers current and previous campaign only (fega.gob.es sigpac page, ATOM spec PDF); no earlier national campaign found on atom/, sigpac-hubcloud geopackages/ or datos.gob.es."}]},"sources":[{"source_id":"s001","name":"SIGC Cultivo declarado, campaign 2025 (ATOM per municipality and per-province GeoPackage)","publisher":"FEGA, Ministerio de Agricultura, Pesca y Alimentacion","official":true,"landing_url":"https://www.fega.gob.es/orig","data_url":"https://www.fega.gob.es/atom/2025/cd_2025/","access":"direct_download","format":"GeoPackage and Shapefile (zip)","license":"CC BY 4.0 (attribution: Fondo Espanol de Garantia Agraria)","language":"es","has_coordinates":true,"location_precision":"exact","summary":"SIGC Cultivo declarado, campaign 2025 (ATOM per municipality and per-province GeoPackage)","coverage_note":"All Spain (50 provinces), campaign 2025 declarations","data_date":"Campaign 2025; file names carry validity date (e.g. 20250105 Alava, 20250110 Albacete, 20241126 Barcelona); zips regenerated 2026-02-09","caveats":["The complete reading traps, inclusion rules, units and access evidence are in the detail. The main caveats of this card also apply."],"test":{"tested_on":"2026-11-16","method":"download","http_status":200,"problems":[]},"example":{"example_request":"curl -sL -o cd01001.zip 'https://www.fega.gob.es/atom/2025/cd_2025/01%20-%20ALAVA/01001_cd_2025_20250105_gpkg.zip'; python3 -I -c \"import zipfile,sqlite3; zipfile.ZipFile('cd01001.zip').extractall('cd'); c=sqlite3.connect('cd/01001_cd_2025_20250105.gpkg'); print(c.execute('select cd.parc_producto,cp.descripcion,count(*),round(sum(cd.parc_supcult)/10000.0,1) from cultivo_declarado cd left join cod_producto cp on cp.codigo=cd.parc_producto group by 1 order by 3 desc limit 2').fetchall())\"","example_result":"[(1, 'TRIGO BLANDO', 333, 336.0), (5, 'CEBADA', 206, 186.5)]; table cultivo_declarado has 1,052 rows with 874 S and 178 R; bbox lon -2.55..-2.47, lat 42.80..42.86 (inside Alava)."},"members_summary":{"total":null,"listed":2,"tested":2,"data_found":0,"scope_note":"The inherited list is a sample or documented publisher list; successful retrieval has not been separately reclassified in this structural migration. See individual notes.","pattern":null}},{"source_id":"s002","name":"SIGPAC OGC API - Features (cultivo_declarado, current campaign 2026)","publisher":"FEGA, Ministerio de Agricultura, Pesca y Alimentacion","official":true,"landing_url":"https://sigpac-hubcloud.es/html/ogc-api/descServicio.html","data_url":"https://sigpac-hubcloud.es/ogcapi/collections/cultivo_declarado/items?f=json","access":"api","format":"GeoJSON (OGC API Features, CRS84 or EPSG:4258)","license":"CC BY 4.0","language":"es","has_coordinates":true,"location_precision":"exact","summary":"SIGPAC OGC API - Features (cultivo_declarado, current campaign 2026)","coverage_note":"All Spain; collection described as 'campaña en uso'; sample records carry exp_num starting 2026","data_date":"Collection says 'campaña en uso'; sample exp_num 202601001089 indicates 2026 declarations","caveats":["The complete reading traps, inclusion rules, units and access evidence are in the detail. The main caveats of this card also apply."],"test":{"tested_on":"2026-11-16","method":"api_query","http_status":200,"problems":[]},"example":{"example_request":"curl -sL 'https://sigpac-hubcloud.es/ogcapi/collections/cultivo_declarado/items?f=json&limit=2&provincia=1&municipio=1'  (count: .../items?f=json&limit=1&resulttype=hits&parc_sistexp=R)","example_result":"{'dn_oid':1922394187,'provincia':1,'municipio':1,'poligono':2,'parcela':149,'recinto':1,'exp_ca':15,'exp_num':'202601001089','parc_producto':20,'parc_sistexp':'S','parc_supcult':6100,'parc_ayudasol':'18,5022'} + Polygon; numberMatched: 17,900,325 total, 2,402,067 with parc_sistexp=R, 3,382 for parc_producto=20 in province 1."},"members_summary":null},{"source_id":"s003","name":"SIGPAC Recintos (ATOM and per-province GeoPackage), campaigns 2026 and 2025","publisher":"FEGA, Ministerio de Agricultura, Pesca y Alimentacion","official":true,"landing_url":"https://www.fega.gob.es/orig","data_url":"https://www.fega.gob.es/atom/2026/rec_2026/","access":"direct_download","format":"GeoPackage and Shapefile (zip)","license":"CC BY 4.0","language":"es","has_coordinates":true,"location_precision":"exact","summary":"SIGPAC Recintos (ATOM and per-province GeoPackage), campaigns 2026 and 2025","coverage_note":"All Spain, campaign 2026 (and 2025)","data_date":"Campaign in use (2026); file name date e.g. 20251201","caveats":["The complete reading traps, inclusion rules, units and access evidence are in the detail. The main caveats of this card also apply."],"test":{"tested_on":"2026-11-16","method":"download","http_status":200,"problems":[]},"example":{"example_request":"curl -sL -o rec01001.zip 'https://www.fega.gob.es/atom/2026/rec_2026/01%20-%20ALAVA/01001_rec_2026_20251201_gpkg.zip'; sqlite3 table 'recinto': select uso_sigpac,count(*),sum(dn_surface) from recinto group by 1","example_result":"[('TA',1123,10291372.2),('PR',307,533033.1),('IM',153,509433.4),('FO',119,6178545.8),('AG',79,235227.6)]; 1,975 rows; coef_regadio not null in all 1,975."},"members_summary":{"total":null,"listed":2,"tested":1,"data_found":0,"scope_note":"The inherited list is a sample or documented publisher list; successful retrieval has not been separately reclassified in this structural migration. See individual notes.","pattern":null}}],"other_sources_count":3,"if_unstructured":{"summary":null},"local_terms":[{"term":"cultivo declarado / línea de declaración","language":"es","meaning":"Declared crop polygon of the CAP single application (called linea de declaracion grafica until 2023)"},{"term":"SIGPAC","language":"es","meaning":"Sistema de Información Geográfica de Parcelas Agrícolas, reference parcel/recinto system"},{"term":"recinto","language":"es","meaning":"Continuous area of a parcel with a single land use"},{"term":"solicitud única / declaración gráfica (GSA)","language":"es","meaning":"Annual CAP application with the graphic declaration of plots"},{"term":"secano / regadío","language":"es","meaning":"Dryland / irrigated"},{"term":"DUN (Declaració Agrària Unificada)","language":"ca","meaning":"Catalan equivalent of the single application"},{"term":"SIXPAC","language":"gl","meaning":"Galician name of SIGPAC"},{"term":"campaña","language":"es","meaning":"CAP campaign year used to label each edition"}],"provenance":{"pass_count":1,"models":["Claude Sonnet 5.5 (High)"],"minutes_estimate":40,"pages_opened":46,"passes":[{"pass":1,"date":"2026-11-16","model":"Claude Sonnet 5.5 (High)"}],"note":"Minutes are researcher estimates. Counts describe documented passes, not publication approval. Missing history or effort is not reconstructed."},"card_url":"https://georutter.org/v1/es/agricultural-parcels.json","detail_url":"https://georutter.org/v1/es/agricultural-parcels/detail.json","html_url":"https://georutter.org/es/agricultural-parcels/","country_url":"https://georutter.org/v1/countries/es.json"}
