{
  "schema": "ragnie.concept-layout.v1",
  "status": "new authored concept draft; not original engine reconstruction or approved final layout",
  "units": "metres",
  "coordinates": {
    "x_min": -120,
    "x_max": 120,
    "z_min": -120,
    "z_max": 120,
    "up_axis": "+Y",
    "plan_up": "-Z (planning convention; no geographic north claim)",
    "image_row0": "z=-120",
    "image_last_row": "z=+120",
    "image_column0": "x=-120"
  },
  "terrain": {
    "resolution": [
      1025,
      1025
    ],
    "size_xyz_m": [
      240,
      40,
      240
    ],
    "origin_xyz_m": [
      -120,
      -8,
      -120
    ],
    "sample_spacing_m": 0.234375,
    "normalized_height_formula": "worldY = -8 + uint16 / 65535 * 40",
    "raw_byte_order": "little-endian",
    "raw_row_order": "row-major; X fastest; rows advance from Z=-120 to Z=+120",
    "png_mode": "unsigned 16-bit grayscale",
    "color_space": "linear data; no gamma conversion",
    "minimum_actual_y_m": -4.7,
    "maximum_actual_y_m": 21.695936876497377,
    "source": "GND height field x0.2 blended with authored terrain, building pads and smoothed path grades; outer landscape is new design"
  },
  "water": {
    "surface_y_m": -1.4,
    "main_centerline_xz": [
      [
        -120,
        4
      ],
      [
        -82,
        3
      ],
      [
        -60,
        1
      ],
      [
        -35,
        4
      ],
      [
        -15,
        3
      ],
      [
        -1,
        1
      ],
      [
        15,
        -3
      ],
      [
        36,
        3
      ],
      [
        60,
        2
      ],
      [
        85,
        -2
      ],
      [
        120,
        6
      ]
    ],
    "branch_centerline_xz": [
      [
        28,
        1
      ],
      [
        29,
        20
      ],
      [
        28,
        42
      ],
      [
        33,
        65
      ],
      [
        40,
        85
      ],
      [
        43,
        120
      ]
    ],
    "main_half_width_m": 4.8,
    "branch_half_width_m": 3.1
  },
  "buildings": [
    {
      "id": "B01",
      "name": "Maria toolshop",
      "x_m": 3,
      "z_m": 25,
      "base_y_m": 2.22,
      "width_m": 12,
      "depth_m": 12,
      "yaw_degrees": 0,
      "origin": "reference-derived",
      "use": "commerce",
      "storeys": 2,
      "roof_height_m": 7.5,
      "replaceable_group": "B01"
    },
    {
      "id": "B02",
      "name": "Sizz smithy",
      "x_m": 16,
      "z_m": 24,
      "base_y_m": 2.27,
      "width_m": 9,
      "depth_m": 11,
      "yaw_degrees": 0,
      "origin": "reference-derived",
      "use": "commerce",
      "storeys": 2,
      "roof_height_m": 7.5,
      "replaceable_group": "B02"
    },
    {
      "id": "B03",
      "name": "Hunter house",
      "x_m": -19,
      "z_m": 21,
      "base_y_m": 1.93,
      "width_m": 10,
      "depth_m": 8,
      "yaw_degrees": -35,
      "origin": "reference-derived",
      "use": "home",
      "storeys": 1,
      "roof_height_m": 5.5,
      "replaceable_group": "B03"
    },
    {
      "id": "B04",
      "name": "Ragnie inn",
      "x_m": -19,
      "z_m": -51,
      "base_y_m": 3.09,
      "width_m": 12,
      "depth_m": 14,
      "yaw_degrees": -12,
      "origin": "reference-derived",
      "use": "inn",
      "storeys": 2,
      "roof_height_m": 7.5,
      "replaceable_group": "B04"
    },
    {
      "id": "B05",
      "name": "Mountain Hof tavern",
      "x_m": 14,
      "z_m": -52,
      "base_y_m": 3.35,
      "width_m": 11,
      "depth_m": 13,
      "yaw_degrees": 8,
      "origin": "reference-derived",
      "use": "tavern",
      "storeys": 2,
      "roof_height_m": 7.5,
      "replaceable_group": "B05"
    },
    {
      "id": "B06",
      "name": "Dairy farmhouse",
      "x_m": -16,
      "z_m": -29,
      "base_y_m": 2.28,
      "width_m": 9,
      "depth_m": 8,
      "yaw_degrees": 0,
      "origin": "reference-derived",
      "use": "farm",
      "storeys": 1,
      "roof_height_m": 5.5,
      "replaceable_group": "B06"
    },
    {
      "id": "B07",
      "name": "Milk house",
      "x_m": -36,
      "z_m": -23,
      "base_y_m": 2.04,
      "width_m": 12,
      "depth_m": 10,
      "yaw_degrees": 15,
      "origin": "reference-derived",
      "use": "farm",
      "storeys": 1,
      "roof_height_m": 5.5,
      "replaceable_group": "B07"
    },
    {
      "id": "B08",
      "name": "Raoul house",
      "x_m": 8,
      "z_m": -20,
      "base_y_m": 2.11,
      "width_m": 10,
      "depth_m": 9,
      "yaw_degrees": -10,
      "origin": "reference-derived",
      "use": "home",
      "storeys": 1,
      "roof_height_m": 5.5,
      "replaceable_group": "B08"
    },
    {
      "id": "B09",
      "name": "Hassen farm",
      "x_m": 42,
      "z_m": -17,
      "base_y_m": 2.04,
      "width_m": 10,
      "depth_m": 9,
      "yaw_degrees": 0,
      "origin": "reference-derived",
      "use": "farm",
      "storeys": 1,
      "roof_height_m": 5.5,
      "replaceable_group": "B09"
    },
    {
      "id": "B10",
      "name": "Windmill",
      "x_m": 25,
      "z_m": -35,
      "base_y_m": 2.75,
      "width_m": 6,
      "depth_m": 6,
      "yaw_degrees": 0,
      "origin": "reference-derived",
      "use": "mill",
      "storeys": 2,
      "roof_height_m": 7.5,
      "replaceable_group": "B10"
    },
    {
      "id": "B11",
      "name": "Shop storehouse",
      "x_m": 23,
      "z_m": 29,
      "base_y_m": 2.34,
      "width_m": 4,
      "depth_m": 8,
      "yaw_degrees": 0,
      "origin": "reference-derived",
      "use": "workshop",
      "storeys": 1,
      "roof_height_m": 5.5,
      "replaceable_group": "B11"
    },
    {
      "id": "B12",
      "name": "Northwest cottage",
      "x_m": -20,
      "z_m": -79,
      "base_y_m": 4.14,
      "width_m": 8,
      "depth_m": 8,
      "yaw_degrees": -8,
      "origin": "new-design",
      "use": "home",
      "storeys": 1,
      "roof_height_m": 5.5,
      "replaceable_group": "B12"
    },
    {
      "id": "B13",
      "name": "Courtyard cottage",
      "x_m": -34,
      "z_m": -66,
      "base_y_m": 3.64,
      "width_m": 9,
      "depth_m": 8,
      "yaw_degrees": 10,
      "origin": "new-design",
      "use": "home",
      "storeys": 1,
      "roof_height_m": 5.5,
      "replaceable_group": "B13"
    },
    {
      "id": "B14",
      "name": "West lane cottage",
      "x_m": -39,
      "z_m": -45,
      "base_y_m": 2.87,
      "width_m": 8,
      "depth_m": 9,
      "yaw_degrees": -12,
      "origin": "new-design",
      "use": "home",
      "storeys": 1,
      "roof_height_m": 5.5,
      "replaceable_group": "B14"
    },
    {
      "id": "B15",
      "name": "Woodland cottage",
      "x_m": -37,
      "z_m": -85,
      "base_y_m": 4.36,
      "width_m": 8,
      "depth_m": 8,
      "yaw_degrees": 12,
      "origin": "new-design",
      "use": "home",
      "storeys": 1,
      "roof_height_m": 5.5,
      "replaceable_group": "B15"
    },
    {
      "id": "B16",
      "name": "North lane cottage",
      "x_m": 12,
      "z_m": -83,
      "base_y_m": 4.5,
      "width_m": 8,
      "depth_m": 8,
      "yaw_degrees": -8,
      "origin": "new-design",
      "use": "home",
      "storeys": 1,
      "roof_height_m": 5.5,
      "replaceable_group": "B16"
    },
    {
      "id": "B17",
      "name": "Orchard cottage",
      "x_m": 28,
      "z_m": -73,
      "base_y_m": 4.18,
      "width_m": 9,
      "depth_m": 8,
      "yaw_degrees": 12,
      "origin": "new-design",
      "use": "home",
      "storeys": 1,
      "roof_height_m": 5.5,
      "replaceable_group": "B17"
    },
    {
      "id": "B18",
      "name": "Mill lane cottage",
      "x_m": 34,
      "z_m": -51,
      "base_y_m": 3.35,
      "width_m": 8,
      "depth_m": 8,
      "yaw_degrees": -8,
      "origin": "new-design",
      "use": "home",
      "storeys": 1,
      "roof_height_m": 5.5,
      "replaceable_group": "B18"
    },
    {
      "id": "B19",
      "name": "Dairy yard shed",
      "x_m": -55,
      "z_m": -33,
      "base_y_m": 2.53,
      "width_m": 9,
      "depth_m": 8,
      "yaw_degrees": 10,
      "origin": "new-design",
      "use": "workshop",
      "storeys": 1,
      "roof_height_m": 5.5,
      "replaceable_group": "B19"
    },
    {
      "id": "B20",
      "name": "West family house",
      "x_m": -56,
      "z_m": -55,
      "base_y_m": 3.36,
      "width_m": 8,
      "depth_m": 8,
      "yaw_degrees": -12,
      "origin": "new-design",
      "use": "home",
      "storeys": 1,
      "roof_height_m": 5.5,
      "replaceable_group": "B20"
    },
    {
      "id": "B21",
      "name": "West family house II",
      "x_m": -55,
      "z_m": -77,
      "base_y_m": 4.18,
      "width_m": 8,
      "depth_m": 7,
      "yaw_degrees": 6,
      "origin": "new-design",
      "use": "home",
      "storeys": 1,
      "roof_height_m": 5.5,
      "replaceable_group": "B21"
    },
    {
      "id": "B22",
      "name": "Orchard keeper",
      "x_m": 53,
      "z_m": -56,
      "base_y_m": 3.43,
      "width_m": 8,
      "depth_m": 8,
      "yaw_degrees": 10,
      "origin": "new-design",
      "use": "home",
      "storeys": 1,
      "roof_height_m": 5.5,
      "replaceable_group": "B22"
    },
    {
      "id": "B23",
      "name": "Farm store",
      "x_m": 54,
      "z_m": -35,
      "base_y_m": 2.63,
      "width_m": 8,
      "depth_m": 8,
      "yaw_degrees": -10,
      "origin": "new-design",
      "use": "workshop",
      "storeys": 1,
      "roof_height_m": 5.5,
      "replaceable_group": "B23"
    },
    {
      "id": "B24",
      "name": "South terrace cottage",
      "x_m": -32,
      "z_m": 35,
      "base_y_m": 2.41,
      "width_m": 8,
      "depth_m": 7,
      "yaw_degrees": 10,
      "origin": "new-design",
      "use": "home",
      "storeys": 1,
      "roof_height_m": 5.5,
      "replaceable_group": "B24"
    },
    {
      "id": "B25",
      "name": "South garden cottage",
      "x_m": -20,
      "z_m": 47,
      "base_y_m": 2.84,
      "width_m": 8,
      "depth_m": 8,
      "yaw_degrees": -10,
      "origin": "new-design",
      "use": "home",
      "storeys": 1,
      "roof_height_m": 5.5,
      "replaceable_group": "B25"
    },
    {
      "id": "B26",
      "name": "Craft courtyard",
      "x_m": 7,
      "z_m": 42,
      "base_y_m": 2.84,
      "width_m": 8,
      "depth_m": 7,
      "yaw_degrees": 0,
      "origin": "new-design",
      "use": "workshop",
      "storeys": 1,
      "roof_height_m": 5.5,
      "replaceable_group": "B26"
    },
    {
      "id": "B27",
      "name": "Orchard shed",
      "x_m": 46,
      "z_m": -80,
      "base_y_m": 4.38,
      "width_m": 6,
      "depth_m": 7,
      "yaw_degrees": 10,
      "origin": "new-design",
      "use": "workshop",
      "storeys": 1,
      "roof_height_m": 5.5,
      "replaceable_group": "B27"
    }
  ],
  "paths": [
    {
      "id": "R01",
      "kind": "main",
      "width_m": 5.0,
      "points": [
        [
          -4,
          -120
        ],
        [
          -4,
          -95
        ],
        [
          -3,
          -72
        ],
        [
          -2,
          -48
        ],
        [
          -3,
          -29
        ],
        [
          -3,
          -12
        ],
        [
          -3,
          -8
        ]
      ],
      "points_xyz_m": [
        [
          -4,
          5.769,
          -120
        ],
        [
          -4,
          4.832,
          -95
        ],
        [
          -3,
          3.977,
          -72
        ],
        [
          -2,
          3.1,
          -48
        ],
        [
          -3,
          2.364,
          -29
        ],
        [
          -3,
          1.727,
          -12
        ],
        [
          -3,
          1.578,
          -8
        ]
      ]
    },
    {
      "id": "R02",
      "kind": "main",
      "width_m": 4.5,
      "points": [
        [
          0,
          10
        ],
        [
          -7,
          14
        ],
        [
          -10,
          27
        ],
        [
          -8,
          39
        ],
        [
          -3,
          47
        ],
        [
          12,
          54
        ],
        [
          18,
          72
        ],
        [
          18,
          100
        ]
      ],
      "points_xyz_m": [
        [
          0,
          1.712,
          10
        ],
        [
          -7,
          1.8,
          14
        ],
        [
          -10,
          2.191,
          27
        ],
        [
          -8,
          2.625,
          39
        ],
        [
          -3,
          2.942,
          47
        ],
        [
          12,
          3.297,
          54
        ],
        [
          18,
          3.958,
          72
        ],
        [
          18,
          4.938,
          100
        ]
      ]
    },
    {
      "id": "R03",
      "kind": "secondary",
      "width_m": 3.5,
      "points": [
        [
          -105,
          -10
        ],
        [
          -78,
          -10
        ],
        [
          -58,
          -12
        ],
        [
          -36,
          -12
        ],
        [
          -16,
          -11
        ],
        [
          -3,
          -12
        ]
      ],
      "points_xyz_m": [
        [
          -105,
          1.736,
          -10
        ],
        [
          -78,
          1.805,
          -10
        ],
        [
          -58,
          1.761,
          -12
        ],
        [
          -36,
          1.623,
          -12
        ],
        [
          -16,
          1.604,
          -11
        ],
        [
          -3,
          1.727,
          -12
        ]
      ]
    },
    {
      "id": "R04",
      "kind": "secondary",
      "width_m": 3.5,
      "points": [
        [
          -2,
          -48
        ],
        [
          -14,
          -41
        ],
        [
          -27,
          -40
        ],
        [
          -46,
          -40
        ],
        [
          -47,
          -62
        ],
        [
          -45,
          -77
        ],
        [
          -27,
          -72
        ],
        [
          -3,
          -72
        ]
      ],
      "points_xyz_m": [
        [
          -2,
          3.1,
          -48
        ],
        [
          -14,
          3.064,
          -41
        ],
        [
          -27,
          2.66,
          -40
        ],
        [
          -46,
          2.853,
          -40
        ],
        [
          -47,
          3.554,
          -62
        ],
        [
          -45,
          4.104,
          -77
        ],
        [
          -27,
          3.825,
          -72
        ],
        [
          -3,
          3.977,
          -72
        ]
      ]
    },
    {
      "id": "R05",
      "kind": "secondary",
      "width_m": 3.3,
      "points": [
        [
          -2,
          -48
        ],
        [
          12,
          -41
        ],
        [
          26,
          -44
        ],
        [
          43,
          -44
        ],
        [
          44,
          -66
        ],
        [
          27,
          -64
        ],
        [
          13,
          -71
        ],
        [
          -3,
          -72
        ]
      ],
      "points_xyz_m": [
        [
          -2,
          3.1,
          -48
        ],
        [
          12,
          2.94,
          -41
        ],
        [
          26,
          3.103,
          -44
        ],
        [
          43,
          3.046,
          -44
        ],
        [
          44,
          3.865,
          -66
        ],
        [
          27,
          3.84,
          -64
        ],
        [
          13,
          4.055,
          -71
        ],
        [
          -3,
          3.977,
          -72
        ]
      ]
    },
    {
      "id": "R06",
      "kind": "secondary",
      "width_m": 3.2,
      "points": [
        [
          -3,
          -29
        ],
        [
          -18,
          -21
        ],
        [
          -25,
          -17
        ],
        [
          -36,
          -12
        ]
      ],
      "points_xyz_m": [
        [
          -3,
          2.364,
          -29
        ],
        [
          -18,
          1.99,
          -21
        ],
        [
          -25,
          1.84,
          -17
        ],
        [
          -36,
          1.623,
          -12
        ]
      ]
    },
    {
      "id": "R07",
      "kind": "secondary",
      "width_m": 3.2,
      "points": [
        [
          -3,
          -12
        ],
        [
          12,
          -13.3
        ],
        [
          20,
          -13.3
        ],
        [
          36,
          -10
        ],
        [
          48,
          -10
        ],
        [
          61,
          -23
        ],
        [
          44,
          -28
        ],
        [
          26,
          -27
        ],
        [
          18,
          -30
        ],
        [
          12,
          -41
        ]
      ],
      "points_xyz_m": [
        [
          -3,
          1.727,
          -12
        ],
        [
          12,
          2.107,
          -13.3
        ],
        [
          20,
          1.924,
          -13.3
        ],
        [
          36,
          1.958,
          -10
        ],
        [
          48,
          1.936,
          -10
        ],
        [
          61,
          2.128,
          -23
        ],
        [
          44,
          2.44,
          -28
        ],
        [
          26,
          2.451,
          -27
        ],
        [
          18,
          2.556,
          -30
        ],
        [
          12,
          2.94,
          -41
        ]
      ]
    },
    {
      "id": "R08",
      "kind": "footpath",
      "width_m": 2.0,
      "points": [
        [
          -8,
          39
        ],
        [
          -26,
          40
        ],
        [
          -40,
          29
        ],
        [
          -42,
          17
        ],
        [
          -33,
          14
        ],
        [
          -29,
          12.5
        ],
        [
          -13,
          12.5
        ],
        [
          -7,
          14
        ]
      ],
      "points_xyz_m": [
        [
          -8,
          2.625,
          39
        ],
        [
          -26,
          2.607,
          40
        ],
        [
          -40,
          2.246,
          29
        ],
        [
          -42,
          1.814,
          17
        ],
        [
          -33,
          1.675,
          14
        ],
        [
          -29,
          1.618,
          12.5
        ],
        [
          -13,
          1.791,
          12.5
        ],
        [
          -7,
          1.8,
          14
        ]
      ]
    },
    {
      "id": "R09",
      "kind": "footpath",
      "width_m": 2.0,
      "points": [
        [
          -10,
          27
        ],
        [
          -8,
          36
        ],
        [
          9,
          34
        ],
        [
          20,
          37
        ],
        [
          22,
          49
        ],
        [
          12,
          54
        ]
      ],
      "points_xyz_m": [
        [
          -10,
          2.191,
          27
        ],
        [
          -8,
          2.52,
          36
        ],
        [
          9,
          2.423,
          34
        ],
        [
          20,
          2.715,
          37
        ],
        [
          22,
          3.167,
          49
        ],
        [
          12,
          3.297,
          54
        ]
      ]
    },
    {
      "id": "R10",
      "kind": "footpath",
      "width_m": 2.1,
      "points": [
        [
          44,
          -66
        ],
        [
          61,
          -68
        ],
        [
          66,
          -52
        ],
        [
          61,
          -23
        ]
      ],
      "points_xyz_m": [
        [
          44,
          3.865,
          -66
        ],
        [
          61,
          3.816,
          -68
        ],
        [
          66,
          3.18,
          -52
        ],
        [
          61,
          2.128,
          -23
        ]
      ]
    },
    {
      "id": "R11",
      "kind": "footpath",
      "width_m": 2.0,
      "points": [
        [
          -45,
          -77
        ],
        [
          -44,
          -94
        ],
        [
          -22,
          -92
        ],
        [
          -4,
          -95
        ],
        [
          20,
          -94
        ],
        [
          45,
          -91
        ],
        [
          61,
          -68
        ]
      ],
      "points_xyz_m": [
        [
          -45,
          4.104,
          -77
        ],
        [
          -44,
          4.735,
          -94
        ],
        [
          -22,
          4.618,
          -92
        ],
        [
          -4,
          4.832,
          -95
        ],
        [
          20,
          4.95,
          -94
        ],
        [
          45,
          4.796,
          -91
        ],
        [
          61,
          3.816,
          -68
        ]
      ]
    }
  ],
  "plazas": [
    {
      "id": "P01",
      "name": "Village commons",
      "center_xz": [
        -2,
        -48
      ],
      "radii_xz": [
        9,
        10
      ],
      "height_m": 3.1
    },
    {
      "id": "P02",
      "name": "South shop court",
      "center_xz": [
        -7,
        14
      ],
      "radii_xz": [
        5.5,
        4
      ],
      "height_m": 1.8
    }
  ],
  "bridges": [
    {
      "id": "BR01",
      "name": "Ragnie twin-gateway timber bridge",
      "center_xz": [
        -1.6,
        1.2
      ],
      "width_m": 4.6,
      "length_m": 19.5,
      "yaw_from_positive_z_degrees": 9,
      "deck_endpoints_xyz": [
        [
          -3.125,
          1.712,
          -8.43
        ],
        [
          -0.075,
          1.871,
          10.83
        ]
      ],
      "deck_center_y_m": 2.221,
      "terrain_flatten": false
    }
  ],
  "packed_path_channels": {
    "R": "main road",
    "G": "secondary road",
    "B": "footpath",
    "A": "plaza coverage (DATA, not opacity)"
  },
  "notes": [
    "Terrain height excludes buildings, roof height, trees and bridge deck.",
    "Bridge mask is separate: do not flatten river bed into a causeway.",
    "All map exports use the same 1025 by 1025 sample lattice.",
    "Concept art is a visual interpretation; numeric layout and maps govern geometry.",
    "27 building volumes: 11 reference-derived landmarks/parts and 16 added design volumes. These are proposed production quantities, not original game counts."
  ]
}