# Pinoteque open winery map data

This directory is a database derived from OpenStreetMap, published under the Open Database License (ODbL) 1.0.

Data © OpenStreetMap contributors. Source extract and normalization: erik.wine. Pinoteque transformation: flatten country files into `world.json`, retaining source object IDs, coordinates and documented fields, and deduplicate exact object IDs across overlapping country boundaries.

- Source methodology: https://erik.wine/about/
- Original index: https://erik.wine/data/index.json
- Country files: https://erik.wine/data/c/{lowercase ISO code}.json
- Source harvest: 28 September 2026
- Pinoteque import: 11 November 2026 UTC
- OSM copyright and attribution: https://www.openstreetmap.org/copyright
- License: https://opendatacommons.org/licenses/odbl/1-0/

`source/index.json` and `source/*.json` preserve the source database files. `world.json` is the compact derived database used by Pinoteque. Both are publicly downloadable on the site under `/atlas-data/` and supplied under ODbL 1.0.

## What is mapped

Named OpenStreetMap objects tagged `craft=winery` or `tourism=wine_cellar`, joined and deduplicated by the source provider. These are community-mapped places, not a complete or independently verified registry of wine producers. A location may be mistagged, stale, closed, or incomplete. No entry implies any Pinoteque partnership, gift availability, visit availability or commercial relationship.

Vineyard parcels (`landuse=vineyard`) are land features, not necessarily businesses. This winery database does not contain the geometries of those parcels. The source index includes parcel counts, which must not be presented as winery counts or as polygons available in this database.

A building or area is represented by its source center point. The positions are source data, not surveyed entrances. Same-named businesses at different addresses can be separate records. Border overlaps are deduplicated by their exact source object ID; the first country in source index order is retained for such records.

Source IDs use `n` (node), `w` (way), and `r` (relation) followed by digits. Open the record at `https://www.openstreetmap.org/{node|way|relation}/{digits}` to inspect or correct the underlying map data. Source name/website/address fields remain third-party data. Application consumers must validate URL schemes before rendering website links.
