{
    "componentChunkName": "component---src-templates-note-note-js",
    "path": "/notes/h3-project",
    "result": {"data":{"mdx":{"body":"var _excluded = [\"components\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n/* @jsxRuntime classic */\n/* @jsx mdx */\n\nvar _frontmatter = {};\nvar layoutProps = {\n  _frontmatter: _frontmatter\n};\nvar MDXLayout = \"wrapper\";\nreturn function MDXContent(_ref) {\n  var components = _ref.components,\n    props = _objectWithoutProperties(_ref, _excluded);\n  return mdx(MDXLayout, _extends({}, layoutProps, props, {\n    components: components,\n    mdxType: \"MDXLayout\"\n  }), mdx(\"p\", null, mdx(\"a\", {\n    parentName: \"p\",\n    \"href\": \"https://docs.google.com/spreadsheets/d/1EzCISqiPuOidqg7pvUhFVEmFFsEZE-IQNRy88NFZU0o/edit#gid=0\"\n  }, \"https://docs.google.com/spreadsheets/d/1EzCISqiPuOidqg7pvUhFVEmFFsEZE-IQNRy88NFZU0o/edit#gid=0\")), mdx(\"p\", null, \"The platform: \", mdx(\"a\", {\n    parentName: \"p\",\n    \"href\": \"https://h3geo.org/\"\n  }, \"https://h3geo.org/\")), mdx(\"p\", null, \"Blog with details: \", mdx(\"a\", {\n    parentName: \"p\",\n    \"href\": \"https://www.uber.com/en-IN/blog/h3/\"\n  }, \"https://www.uber.com/en-IN/blog/h3/\")), mdx(\"p\", null, \"Granularity table - \", mdx(\"a\", {\n    parentName: \"p\",\n    \"href\": \"https://h3geo.org/docs/core-library/restable/\"\n  }, \"https://h3geo.org/docs/core-library/restable/\")), mdx(\"p\", null, \"Netlify - \", mdx(\"a\", {\n    parentName: \"p\",\n    \"href\": \"https://main--cute-cascaron-33c512.netlify.app/locn-bangalore\"\n  }, \"https://main--cute-cascaron-33c512.netlify.app/locn-bangalore\")), mdx(\"p\", null, \"UI inspiration - \", mdx(\"a\", {\n    parentName: \"p\",\n    \"href\": \"https://what3words.com/hints.sporting.permit\"\n  }, \"https://what3words.com/hints.sporting.permit\"), \" \"), mdx(\"h2\", null, \"Crude Workflow\"), mdx(\"p\", null, \"draw the boundaries of the area that you want to hexagonise on \", mdx(\"a\", {\n    parentName: \"p\",\n    \"href\": \"https://geojson.io/#map=16.62/12.952396/77.576822\"\n  }, \"https://geojson.io/#map=16.62/12.952396/77.576822\"), \" take the feature collection json and store is geojson which can be embedded in the map\"), mdx(\"pre\", null, mdx(\"code\", {\n    parentName: \"pre\"\n  }, \"import geojson2h3 from 'geojson2h3';\\n\\nconst hexagons = geojson2h3.featureToH3Set(LocnBangaloreHexagon.features[0], resolution);\\n\\nconst feature = geojson2h3.h3SetToMultiPolygonFeature(hexagons);\\n\\nconsole.log('geoJSON' + resolution);\\n\\nconsole.log(feature);\\n\")), mdx(\"p\", null, \"copy the object from the browser console\"), mdx(\"p\", null, \"use  \", mdx(\"a\", {\n    parentName: \"p\",\n    \"href\": \"https://geojson.io/#map=9.09/12.9563/77.5585\"\n  }, \"https://geojson.io/#map=9.09/12.9563/77.5585\"), \"  for cleaning up the output\"), mdx(\"p\", null, \"create a geojson file\"), mdx(\"p\", null, \"use this file as a layer in React Leaflet\"), mdx(\"p\", null, \"output at \", mdx(\"a\", {\n    parentName: \"p\",\n    \"href\": \"https://cute-cascaron-33c512.netlify.app/locn-bangalore\"\n  }, \"https://cute-cascaron-33c512.netlify.app/locn-bangalore\")), mdx(\"p\", null, mdx(\"a\", {\n    parentName: \"p\",\n    \"href\": \"https://what3words.com/goodbye.valuables.shredding\"\n  }, \"https://what3words.com/goodbye.valuables.shredding\")));\n}\n;\nMDXContent.isMDXComponent = true;","inboundReferences":[{"id":"1a5ad42d-c1b3-55b0-92d3-dbb189df27e2","slug":"hierarchical-spatial-indexing-system"},{"id":"51d75ebb-df79-5672-9b22-21069c51190f","slug":"h3-viewer"}]}},"pageContext":{"slug":"h3-project","node":{"childMdx":{"slug":"h3-project"}}}},
    "staticQueryHashes": []}