Skip to main content
Loading navigation

Build a CityJSON Land Use Zoning Assessment Engine

Analyze CityJSON 2.0 LandUse objects to evaluate floor-area ratios and permitted function categories. Generate municipal zoning compliance checks before architectural schematics proceed.

EngineeringHosted by Vera

What you are building

Analyze CityJSON 2.0 LandUse objects to evaluate floor-area ratios and permitted function categories. Generate municipal zoning compliance checks before architectural schematics proceed.

Zoning Compliance Officer

Load CityJSON 2.0 city model files containing LandUse and Building CityObjects.

Extract attributes including area-parcel and designated municipal usage codes.

Calculate gross building volume against parcel boundary limits.

Produce zoning compliance scorecard with variance advisories for planning boards.

Zoning review screen with parcel metrics table, usage classification badge, and variance warning pane.

Construct synthetic CityJSON files containing LandUse objects with area-parcel attributes and adjacent buildings. Starter examples below are synthetic. They are not downloaded records.

CityJSON Employs CityJSON Section 2.1 LandUse attributes structure including area-parcel key-value attributes.

vercel-ai-sdk, nextjs, zod. Vercel AI SDK provides fast streaming UI integration for parcel calculations and zoning narrative summaries. Requires modern hosted LLM accessible through TypeScript API endpoints.

Submit runnable source, pinned dependencies, setup commands, a working interface, example outputs, and a recorded end-to-end demo. Include tests and an action log.

Engine calculates gross footprint area from CityJSON bounding coordinates.

Usage category mismatches trigger explicit non-compliant status.

Output JSON includes numerical parcel area, building footprint, and zoning ratio.

```json [ { "input": { "parcel_id": "LU-101", "attributes": { "function": "Commercial", "area-parcel": { "value": 2500, "uom": "m2" } }, "proposed_building_footprint_m2": 1200, "max_coverage_ratio": 0.6 }, "expected_output": { "parcel_id": "LU-101", "computed_ratio": 0.48, "is_compliant": true, "variance_needed": false } }, { "input": { "parcel_id": "LU-102", "attributes": { "function": "Low Density Residential", "area-parcel": { "value": 800, "uom": "m2" } }, "proposed_building_footprint_m2": 600, "max_coverage_ratio": 0.5 }, "expected_output": { "parcel_id": "LU-102", "computed_ratio": 0.75, "is_compliant": false, "variance_needed": true } } ] ```

Zoning validation checks are informative advisory summaries and do not supersede statutory municipal land board rulings. Use mock external writes. Require human review before any real deployment.

Rules

Zoning validation checks are informative advisory summaries and do not supersede statutory municipal land board rulings. Use mock external writes and human review.

How work is evaluated

Evaluation

Engine calculates gross footprint area from CityJSON bounding coordinates. Usage category mismatches trigger explicit non-compliant status. Output JSON includes numerical parcel area, building footprint, and zoning ratio.

Submission format

Runnable source, pinned dependencies, setup commands, working interface, example outputs, recorded demo, tests, and action logs.

Datasets

Public datasets, plus the private datasets you have access to.

How submissions are scored

Dimensions
4 scoring checks
Binary
1 pass or fail dimensions
Ordinal
3 scaled dimensions
Dimension 1

Complete workflow

Load CityJSON 2.0 city model files containing LandUse and Building CityObjects. Extract attributes including area-parcel and designated municipal usage codes. Calculate gross building volume against parcel boundary limits. Produce zoning compliance scorecard with variance advisories for planning boards.

Score scale
012
Score 0

Missing or incorrect.

Score 1

Partly complete, with documented gaps.

Score 2

Complete, with reproducible evidence.

Dimension 2

Correctness and evidence

Engine calculates gross footprint area from CityJSON bounding coordinates. Usage category mismatches trigger explicit non-compliant status. Output JSON includes numerical parcel area, building footprint, and zoning ratio.

Score scale
012
Score 0

Missing or incorrect.

Score 1

Partly complete, with documented gaps.

Score 2

Complete, with reproducible evidence.

Dimension 3

Review interface

Zoning review screen with parcel metrics table, usage classification badge, and variance warning pane.

Score scale
012
Score 0

Missing or incorrect.

Score 1

Partly complete, with documented gaps.

Score 2

Complete, with reproducible evidence.

Dimension 4

Safe execution

Zoning validation checks are informative advisory summaries and do not supersede statutory municipal land board rulings.

Binary check

This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.

Learning goals

  • Load CityJSON 2.0 city model files containing LandUse and Building CityObjects.

  • Extract attributes including area-parcel and designated municipal usage codes.

  • Calculate gross building volume against parcel boundary limits.

  • Produce zoning compliance scorecard with variance advisories for planning boards.

Resources

Dataset notes

Construct synthetic CityJSON files containing LandUse objects with area-parcel attributes and adjacent buildings. Supplied starter examples are synthetic, not source extracts.

Challenge setup

Challenge input

Input details are not configured.

Vercel AI SDK

TypeScript toolkit for AI apps.

Evaluated output

No output checks are configured.

Evaluation checks
  • Load CityJSON 2.0 city model files containing LandUse and Building CityObjects. Extract attributes includin...
  • Engine calculates gross footprint area from CityJSON bounding coordinates. Usage category mismatches trigge...
  • Zoning review screen with parcel metrics table, usage classification badge, and variance warning pane.
Configured evaluation evidence
  • 2 public reference cases
Configured runtime
  • 2 configured tools

Shows the first task, up to three tools, and up to three evidence items.

View technical recipe

Configured tools

Action Space
  • Vercel AI SDK · Optional
Orchestration
  • Vercel AI SDK · Optional

Evaluation contract

  • Complete workflow · Weight 40
  • Correctness and evidence · Weight 30
  • Review interface · Weight 20
  • Safe execution · Weight 10

Reference cases

  • 2 public reference cases

Workflow tasks

No workflow tasks are configured.

Recipe freeze marker

No recipe freeze time is recorded.

Frequently Asked Questions about Build a CityJSON Land Use Zoning Assessment Engine