-- DBMS: snowflake
CREATE TABLE NETHERLANDS_OPEN_MAP_DATA.NETHERLANDS.V_BUILDING (
    MIN_HEIGHT_M TEXT,
    BUILDING_LEVELS TEXT,
    SUBCLASS TEXT,
    WIKIDATA TEXT,
    CLASS TEXT,
    SHOP TEXT,
    BUILDING TEXT,
    SURFACE_AREA_SQ_M TEXT,
    LANDUSE TEXT,
    CONTAINS_ADDRESSES TEXT,
    HEIGHT_M TEXT,
    BUILDING_LOCATION TEXT,
    GEO_CORDINATES GEOGRAPHY,
    CONTAINS_ADDR_STREET TEXT,
    LAYER TEXT,
    TOURISM TEXT,
    AMENITY TEXT,
    ORIGINAL_SOURCE_TAGS VARIANT,
    CONTAINS_ADDR_POSTCODE TEXT,
    ID TEXT,
    NAMES VARIANT,
    QUADKEY TEXT
);

INSERT INTO "NETHERLANDS_OPEN_MAP_DATA"."NETHERLANDS"."V_BUILDING" (MIN_HEIGHT_M, BUILDING_LEVELS, SUBCLASS, WIKIDATA, CLASS, SHOP, BUILDING, SURFACE_AREA_SQ_M, LANDUSE, CONTAINS_ADDRESSES, HEIGHT_M, BUILDING_LOCATION, GEO_CORDINATES, CONTAINS_ADDR_STREET, LAYER, TOURISM, AMENITY, ORIGINAL_SOURCE_TAGS, CONTAINS_ADDR_POSTCODE, ID, NAMES, QUADKEY) VALUES (NULL, NULL, 'building', NULL, 'general', NULL, 'yes', '6.4', 'residential:residential', NULL, NULL, NULL, '{
  "coordinates": [
    [
      [
        5.4345887,
        51.4442623
      ],
      [
        5.4345635,
        51.4442855
      ],
      [
        5.434588,
        51.4442959
      ],
      [
        5.4346132,
        51.4442727
      ],
      [
        5.4345887,
        51.4442623
      ]
    ]
  ],
  "type": "Polygon"
}', NULL, NULL, NULL, NULL, '{
  "building": "yes",
  "ref:bag": "772100001000797",
  "source": "BAG",
  "source:date": "2014-02-11",
  "start_date": "2009"
}', NULL, 'w267887990@1', '{}', '120202131123112'), (NULL, NULL, 'dwelling', NULL, 'residential', NULL, 'house', '92.2', 'residential:residential', '[{"addr:city":"Heerlen","addr:housenumber":"59","addr:postcode":"6414HE","addr:street":"Navolaan","node":2885689508}]', NULL, NULL, '{
  "coordinates": [
    [
      [
        5.962885,
        50.9207116
      ],
      [
        5.9627179,
        50.9207963
      ],
      [
        5.9627727,
        50.9208395
      ],
      [
        5.9628616,
        50.9207942
      ],
      [
        5.9629029,
        50.9207732
      ],
      [
        5.9629396,
        50.9207545
      ],
      [
        5.962885,
        50.9207116
      ]
    ]
  ],
  "type": "Polygon"
}', '["Navolaan"]', NULL, NULL, NULL, '{
  "building": "house",
  "ref:bag": "917100000012588",
  "source": "BAG",
  "source:date": "2014-05-28",
  "start_date": "1962"
}', '["6414HE"]', 'w284864755@1', '{}', '120203022211312'), (NULL, NULL, 'dwelling', NULL, 'residential', NULL, 'house', '82.59', 'residential:residential', '[{"addr:city":"Hapert","addr:housenumber":"5","addr:postcode":"5527BE","addr:street":"Vestdijk","node":2827407991}]', NULL, NULL, '{
  "coordinates": [
    [
      [
        5.2484547,
        51.3720381
      ],
      [
        5.2483299,
        51.37204
      ],
      [
        5.2483331,
        51.3721298
      ],
      [
        5.248458,
        51.372128
      ],
      [
        5.2484578,
        51.3721209
      ],
      [
        5.2484449,
        51.372121
      ],
      [
        5.2484434,
        51.3720802
      ],
      [
        5.2484563,
        51.37208
      ],
      [
        5.2484547,
        51.3720381
      ]
    ]
  ],
  "type": "Polygon"
}', '["Vestdijk"]', NULL, NULL, NULL, '{
  "building": "house",
  "ref:bag": "1728100000005947",
  "source": "BAG",
  "source:date": "2014-03-24",
  "start_date": "1974"
}', '["5527BE"]', 'w278375476@1', '{}', '120202131211123'), (NULL, NULL, 'dwelling', NULL, 'residential', NULL, 'house', '53.24', 'residential:residential', '[{"addr:city":"Hoogerheide","addr:housenumber":"8","addr:postcode":"4631EE","addr:street":"Jef Adriaansenstraat","node":2831956567}]', NULL, NULL, '{
  "coordinates": [
    [
      [
        4.3285453,
        51.4206807
      ],
      [
        4.3284468,
        51.4207321
      ],
      [
        4.328502,
        51.4207734
      ],
      [
        4.3286005,
        51.420722
      ],
      [
        4.3285453,
        51.4206807
      ]
    ]
  ],
  "type": "Polygon"
}', '["Jef Adriaansenstraat"]', NULL, NULL, NULL, '{
  "building": "house",
  "ref:bag": "873100000423372",
  "source": "BAG",
  "source:date": "2014-03-24",
  "start_date": "1970"
}', '["4631EE"]', 'w278970317@1', '{}', '120202130023201'), (NULL, NULL, 'dwelling', NULL, 'residential', NULL, 'house', '100.21', 'residential:residential', '[{"addr:city":"Zwolle","addr:housenumber":"21","addr:postcode":"8043MH","addr:street":"Haakmos","node":2879978797}]', NULL, NULL, '{
  "coordinates": [
    [
      [
        6.0501822,
        52.5395223
      ],
      [
        6.0501815,
        52.5395233
      ],
      [
        6.0501473,
        52.5395701
      ],
      [
        6.0501443,
        52.5395693
      ],
      [
        6.0501429,
        52.5395712
      ],
      [
        6.0500811,
        52.5395541
      ],
      [
        6.0500612,
        52.5395811
      ],
      [
        6.0501818,
        52.5396146
      ],
      [
        6.0502011,
        52.5395882
      ],
      [
        6.0503007,
        52.5396154
      ],
      [
        6.0503378,
        52.5395648
      ],
      [
        6.0501822,
        52.5395223
      ]
    ]
  ],
  "type": "Polygon"
}', '["Haakmos"]', NULL, NULL, NULL, '{
  "building": "house",
  "ref:bag": "193100000049999",
  "source": "BAG",
  "source:date": "2014-05-25",
  "start_date": "2001"
}', '["8043MH"]', 'w284253471@1', '{}', '120201222320332');