-- DBMS: snowflake
create or replace TABLE HISTORY_LAYERS (
	"layer_code" NUMBER(38,0),
	"layer_class" VARCHAR(16777216),
	"layer_name" VARCHAR(16777216),
	"osm_id" NUMBER(38,0),
	"osm_way_id" NUMBER(38,0),
	"osm_timestamp" NUMBER(38,0),
	"osm_version" NUMBER(38,0),
	"all_tags" VARIANT,
	"geometry" BINARY(8388608),
	"gdal_type" VARCHAR(16777216)
);

INSERT INTO "GEO_OPENSTREETMAP"."GEO_OPENSTREETMAP"."HISTORY_LAYERS" (osm_id, layer_name, all_tags, osm_way_id, geometry, gdal_type, layer_code, osm_timestamp, osm_version, layer_class) VALUES (295106180, 'building', '[
  {
    "key": "building",
    "value": "house"
  },
  {
    "key": "addr:city",
    "value": "Rawa Mazowiecka"
  },
  {
    "key": "addr:street",
    "value": "Aleksandrówka"
  },
  {
    "key": "source:addr",
    "value": "mrawamazowiecka.e-mapa.net"
  },
  {
    "key": "addr:postcode",
    "value": "96-200"
  },
  {
    "key": "addr:city:simc",
    "value": "0977077"
  },
  {
    "key": "addr:housenumber",
    "value": "11"
  },
  {
    "key": "addr:street:sym_ul",
    "value": "00228"
  }
]', 295106180, 'bytearray(b''\x01\x03\x00\x00\x00\x01\x00\x00\x00\x05\x00\x00\x00S\x94K\xe3\x17F4@U\x84\xe5\x19E\xe2I@i\xa7\x8b\xb9\x10F4@\xa7\xd0/\x00C\xe2I@\xacO\xdel\x18F4@\xba\xd1\xc7|@\xe2I@\x97<\x9e\x96\x1fF4@\xfbDT\x97B\xe2I@S\x94K\xe3\x17F4@U\x84\xe5\x19E\xe2I@'')', NULL, 1500, 1492347889000000, 2, 'building'), (295106194, 'building', '[
  {
    "key": "building",
    "value": "house"
  },
  {
    "key": "addr:city",
    "value": "Rawa Mazowiecka"
  },
  {
    "key": "addr:street",
    "value": "Aleksandrówka"
  },
  {
    "key": "source:addr",
    "value": "mrawamazowiecka.e-mapa.net"
  },
  {
    "key": "addr:postcode",
    "value": "96-200"
  },
  {
    "key": "addr:city:simc",
    "value": "0977077"
  },
  {
    "key": "addr:housenumber",
    "value": "1A"
  },
  {
    "key": "addr:street:sym_ul",
    "value": "00228"
  }
]', 295106194, 'bytearray(b''\x01\x03\x00\x00\x00\x01\x00\x00\x00\n\x00\x00\x00\xfd\xe8\x8a\x08\xb5E4@\xf3\x18\x8a\xe0$\xe2I@+\xfc\x19\xde\xacE4@6p\xac0"\xe2I@\xf0\x12\xf7\xb3\xb3E4@O.|3 \xe2I@\xbfvz\xef\xb9E4@B\xa8\x9c@"\xe2I@\xf7,\xcf\x83\xbbE4@\xa6\x87\xb2\x01"\xe2I@\xc7\xbc\x9fd\xbcE4@\xcb]\x95U"\xe2I@\x12\xb1\x1c|\xbcE4@\x8f\xb5u&#\xe2I@\x0f\xe5f\x13\xbbE4@w\xcf\xcbr#\xe2I@t\x82\xfd\xd7\xb9E4@\x1c\xcc\x81y#\xe2I@\xfd\xe8\x8a\x08\xb5E4@\xf3\x18\x8a\xe0$\xe2I@'')', NULL, 1500, 1492347962000000, 2, 'building'), (294416267, 'building', '[
  {
    "key": "building",
    "value": "house"
  },
  {
    "key": "addr:city",
    "value": "Rawa Mazowiecka"
  },
  {
    "key": "addr:street",
    "value": "Aleksandrówka"
  },
  {
    "key": "source:addr",
    "value": "mrawamazowiecka.e-mapa.net"
  },
  {
    "key": "addr:postcode",
    "value": "96-200"
  },
  {
    "key": "addr:city:simc",
    "value": "0977077"
  },
  {
    "key": "addr:housenumber",
    "value": "26"
  },
  {
    "key": "addr:street:sym_ul",
    "value": "00228"
  }
]', 294416267, 'bytearray(b''\x01\x03\x00\x00\x00\x01\x00\x00\x00\x05\x00\x00\x00\x9d\x00\xe5J\x98F4@\x17x\xee=\\\xe2I@\xbc@\xee\xc7\x92F4@\xae=\xfd\xb1Z\xe2I@\xdcZ\x15\x97\x99F4@x\xa6<_X\xe2I@\xbe\x1a\x0c\x1a\x9fF4@\xe4\xe0-\xebY\xe2I@\x9d\x00\xe5J\x98F4@\x17x\xee=\\\xe2I@'')', NULL, 1500, 1492348012000000, 2, 'building'), (295105951, 'building', '[
  {
    "key": "building",
    "value": "house"
  },
  {
    "key": "addr:city",
    "value": "Rawa Mazowiecka"
  },
  {
    "key": "addr:street",
    "value": "Aleksandrówka"
  },
  {
    "key": "source:addr",
    "value": "mrawamazowiecka.e-mapa.net"
  },
  {
    "key": "addr:postcode",
    "value": "96-200"
  },
  {
    "key": "addr:city:simc",
    "value": "0977077"
  },
  {
    "key": "addr:housenumber",
    "value": "29"
  },
  {
    "key": "addr:street:sym_ul",
    "value": "00228"
  }
]', 295105951, 'bytearray(b''\x01\x03\x00\x00\x00\x01\x00\x00\x00\x05\x00\x00\x00\xd9\x9b\xdf0\xd1F4@\x9c\x85\xe23~\xe2I@\x1f\x8f\xe0F\xcaF4@\xb5\xe7\x8d\xee{\xe2I@\xbd\x96\xa1;\xd2F4@\x13\x10\xa4\x9cy\xe2I@x\xa3\xa0%\xd9F4@\xfa\xad\xf8\xe1{\xe2I@\xd9\x9b\xdf0\xd1F4@\x9c\x85\xe23~\xe2I@'')', NULL, 1500, 1492348027000000, 2, 'building'), (294416270, 'building', '[
  {
    "key": "building",
    "value": "house"
  },
  {
    "key": "addr:city",
    "value": "Rawa Mazowiecka"
  },
  {
    "key": "addr:street",
    "value": "Aleksandrówka"
  },
  {
    "key": "source:addr",
    "value": "mrawamazowiecka.e-mapa.net"
  },
  {
    "key": "addr:postcode",
    "value": "96-200"
  },
  {
    "key": "addr:city:simc",
    "value": "0977077"
  },
  {
    "key": "addr:housenumber",
    "value": "36"
  },
  {
    "key": "addr:street:sym_ul",
    "value": "00228"
  }
]', 294416270, 'bytearray(b''\x01\x03\x00\x00\x00\x01\x00\x00\x00\x0b\x00\x00\x00\xfdA\x7f\xfc\x00G4@%\x18\xbd\tt\xe2I@}\x123V\xf6F4@\xc6\x1b\xf4\x00q\xe2I@\x8d"|9\xfdF4@\xba\x03\xe1\xafn\xe2I@\xd0\x05\x9at\x00G4@\x84\x8e\xc2\x9ao\xe2I@\xb1\xb8\xa4\x0f\x02G4@\x98\x13Y\x10o\xe2I@ \xe0\xa4\xc4\tG4@\x8b\xbb\x8bAq\xe2I@\x1a\xb3\xdb\x1d\x08G4@b\xf4&\xd0q\xe2I@\xda\xf0\x16\xa3\tG4@\x1f\xbd\xe1>r\xe2I@4\xbf\x9a\x03\x04G4@*K\xbe#t\xe2I@C\xa6\x8d4\x02G4@\xe4\xcc\n\xa0s\xe2I@\xfdA\x7f\xfc\x00G4@%\x18\xbd\tt\xe2I@'')', NULL, 1500, 1492348066000000, 2, 'building');