-- DBMS: snowflake
create or replace TABLE PLANET_LAYERS (
	"layer_code" NUMBER(38,0),
	"layer_class" VARCHAR(16777216),
	"layer_name" VARCHAR(16777216),
	"gdal_type" 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)
);

INSERT INTO "GEO_OPENSTREETMAP"."GEO_OPENSTREETMAP"."PLANET_LAYERS" (layer_code, osm_id, osm_timestamp, osm_way_id, layer_class, all_tags, layer_name, geometry, gdal_type, osm_version) VALUES (1500, NULL, 1286621389000000, 80820903, 'building', '[
  {
    "key": "building",
    "value": "yes"
  },
  {
    "key": "source",
    "value": "extraction vectorielle v1 cadastre-dgi-fr source : Direction Générale des Impôts - Cadas. Mise à jour : 2010"
  },
  {
    "key": "wall",
    "value": "no"
  }
]', 'building', 'bytearray(b''\x01\x03\x00\x00\x00\x01\x00\x00\x00\x06\x00\x00\x00\xa5\xa8\x8e\xb0\x03\xb2\x03@\xae\xdf\x02\xbf\xfceH@<\x1e\xe9\xc2\xfe\xb1\x03@\rrr\x1a\xfdeH@\xf7\xe7\xa2!\xe3\xb1\x03@\xfc|J\x84\xfceH@Z\xb5\x10\x89\xe7\xb1\x03@H\xec\x7f%\xfceH@\x80\xdd\x9fA\xf9\xb1\x03@%\xfc\xf7\x85\xfceH@\xa5\xa8\x8e\xb0\x03\xb2\x03@\xae\xdf\x02\xbf\xfceH@'')', 'multipolygons', 1), (1500, NULL, 1334665988000000, 159980615, 'building', '[
  {
    "key": "building",
    "value": "yes"
  },
  {
    "key": "source",
    "value": "cadastre-dgi-fr source : Direction Générale des Impôts - Cadastre. Mise à jour : 2012"
  },
  {
    "key": "wall",
    "value": "no"
  }
]', 'building', 'bytearray(b''\x01\x03\x00\x00\x00\x01\x00\x00\x00\x06\x00\x00\x00\x89\x8e\xe4\xf2\x1f"\x1b@\x06\xf0\x16HP\xc6E@\xbf3\xda\xaa$"\x1b@+\xfaC3O\xc6E@Qf\x83L2"\x1b@\x90\xbf\xb4\xa8O\xc6E@\x1e\xc1\x8d\x94-"\x1b@=1\xeb\xc5P\xc6E@]\xc3\x0c\x8d\''"\x1b@\x89\xce2\x8bP\xc6E@\x89\x8e\xe4\xf2\x1f"\x1b@\x06\xf0\x16HP\xc6E@'')', 'multipolygons', 1), (1500, NULL, 1407493810000000, 296636352, 'building', '[
  {
    "key": "building",
    "value": "yes"
  },
  {
    "key": "source",
    "value": "cadastre-dgi-fr source : Direction Générale des Finances Publiques - Cadastre. Mise à jour : 2014"
  },
  {
    "key": "wall",
    "value": "no"
  }
]', 'building', 'bytearray(b''\x01\x03\x00\x00\x00\x01\x00\x00\x00\x05\x00\x00\x00\xccy\xc6\xbedUJ\xc0\x16\x01N\xef\xe2\x9d\x14@\x885\x95EaUJ\xc0\x16\x01N\xef\xe2\x9d\x14@\x875\x95EaUJ\xc0&U\xdbM\xf0\x9d\x14@\xccy\xc6\xbedUJ\xc0\xa3v\xbf\n\xf0\x9d\x14@\xccy\xc6\xbedUJ\xc0\x16\x01N\xef\xe2\x9d\x14@'')', 'multipolygons', 1), (1500, NULL, 1347758554000000, 181204824, 'building', '[
  {
    "key": "building",
    "value": "yes"
  },
  {
    "key": "source",
    "value": "cadastre-dgi-fr source : Direction Générale des Impôts - Cadastre. Mise à jour : 2012"
  },
  {
    "key": "wall",
    "value": "no"
  }
]', 'building', 'bytearray(b''\x01\x03\x00\x00\x00\x01\x00\x00\x00\x05\x00\x00\x00#*T7\x17\x7f\x17@o\xd9!\xfea\xcbF@\x8a:s\x0f\t\x7f\x17@@\x89\xcf\x9d`\xcbF@\xb9"1A\r\x7f\x17@L7\x89A`\xcbF@R\x12\x12i\x1b\x7f\x17@{\x87\xdb\xa1a\xcbF@#*T7\x17\x7f\x17@o\xd9!\xfea\xcbF@'')', 'multipolygons', 1), (1500, NULL, 1377626831000000, 235356919, 'building', '[
  {
    "key": "building",
    "value": "yes"
  },
  {
    "key": "source",
    "value": "cadastre-dgi-fr source : Direction Générale des Finances Publiques - Cadastre. Mise à jour : 2013"
  },
  {
    "key": "wall",
    "value": "no"
  }
]', 'building', 'bytearray(b''\x01\x03\x00\x00\x00\x01\x00\x00\x00\x08\x00\x00\x00\xcc\nE\xba\x9fS\xb0?1\x10\x04\xc8\xd0\xa7G@\x88k\xb5\x87\xbdP\xb0?`\xc8\xeaV\xcf\xa7G@ \xbb\x0b\x94\x14X\xb0?\x97=\tl\xce\xa7G@\x8c\xd7\xbc\xaa\xb3Z\xb0?\x96\t\xbf\xd4\xcf\xa7G@\xd3,\xd0\xee\x90b\xb0?\x94m\xe0\x0e\xd4\xa7G@6\x1d\x01\xdc,^\xb0?\xe7\xc7_Z\xd4\xa7G@\x1a\xfb\x92\x8d\x07[\xb0?\xf82Q\x84\xd4\xa7G@\xcc\nE\xba\x9fS\xb0?1\x10\x04\xc8\xd0\xa7G@'')', 'multipolygons', 1);