# building_envelope

Land use, building plot and maximum height at a Dutch address.

Returns what the in-force IMRO zoning plans say about building at one Dutch address or point: the land use (enkelbestemming) with its plan, whether the point lies inside a building plot (bouwvlak), the maximum building height drawn on the plan map with the plan it comes from (and a conflict note when plans differ), every other map measurement (goothoogte, bebouwingspercentage, bouwlagen), heights in pending drafts, and links to the rules text. Give the location as bag_id, postcode with house_number, street with house_number and city, one address string, rd_x with rd_y, or lat with lon. Call it before a bid, a valuation or a feasibility check when the question is how high or what for. It reads the plan map only: a height set in the rules text appears as null with a pointer to the text. It cannot tell whether the municipality has already replaced the plan (the pons), and it is not a permit decision.

## Input schema

```json
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "bag_id": {
      "type": "string",
      "pattern": "^[0-9]{16}$",
      "description": "BAG verblijfsobject id, 16 digits, for example 0344010000007134."
    },
    "postcode": {
      "type": "string",
      "maxLength": 7,
      "description": "Dutch postcode, for example 3511GB or 3511 GB. Give it with house_number."
    },
    "house_number": {
      "type": "integer",
      "minimum": 1,
      "maximum": 99999,
      "description": "House number, with postcode or with street and city."
    },
    "house_letter": {
      "type": "string",
      "maxLength": 1,
      "description": "Optional house letter, for example A."
    },
    "addition": {
      "type": "string",
      "maxLength": 4,
      "description": "Optional house number addition (toevoeging), for example 2 or BIS."
    },
    "street": {
      "type": "string",
      "maxLength": 80,
      "description": "Street name exactly as in the BAG (openbare ruimte), with house_number and city."
    },
    "city": {
      "type": "string",
      "maxLength": 80,
      "description": "Place name (woonplaats) exactly as in the BAG, for example Utrecht or 's-Hertogenbosch."
    },
    "address": {
      "type": "string",
      "maxLength": 160,
      "description": "A whole address in one string, for example 'Catharijnesingel 26, Utrecht' or '3511GB 26'. Parsed into postcode and number, or street, number and place."
    },
    "rd_x": {
      "type": "number",
      "minimum": -7000,
      "maximum": 300000,
      "description": "RD New (EPSG:28992) x in metres, with rd_y."
    },
    "rd_y": {
      "type": "number",
      "minimum": 289000,
      "maximum": 629000,
      "description": "RD New (EPSG:28992) y in metres, with rd_x."
    },
    "lat": {
      "type": "number",
      "minimum": 50.6,
      "maximum": 53.8,
      "description": "WGS84 latitude, with lon."
    },
    "lon": {
      "type": "number",
      "minimum": 3.2,
      "maximum": 7.3,
      "description": "WGS84 longitude, with lat."
    }
  }
}
```

## Example

```
curl -s -X POST https://erfmark.bulkhead.solutions/v1/tools/building_envelope -H 'content-type: application/json' -d '{"postcode":"3511GB","house_number":26}'
```

---

Automated and unreviewed. Erfmark reads official open sources automatically and no person checks each answer. Data can be incomplete, late or wrong. Verify against the official source linked here (Regels op de kaart at omgevingswet.overheid.nl is the legal reference) before you act. Not legal advice and not a permit decision.

Canonical: https://erfmark.bulkhead.solutions/docs/building_envelope
