{
    "componentChunkName": "component---src-templates-post-js",
    "path": "/blog/2020/tileserver-beallitasa-hosting-kornyezetben",
    "result": {"data":{"site":{"siteMetadata":{"url":"https://szabo-balazs.hu"}},"post":{"id":"1usxxbIJsjIaaJwpy2oZu3YP0ZIzMp7b2flTUNHwubDM","name":"Tileserver beállítása hosting környezetben","slug":"/blog/2020/tileserver-beallitasa-hosting-kornyezetben","description":"tags: [Leírás, Tileserver, MBTiles, PHP]","cover":{"image":{"childImageSharp":{"gatsbyImageData":{"layout":"constrained","backgroundColor":"transparent","images":{"fallback":{"src":"/static/d5859fc390c0702ae227332c900f65e9/a646a/google-docs-image-459264e1-6176-5250-aaf5-e212f820066e.jpg","srcSet":"/static/d5859fc390c0702ae227332c900f65e9/03c6c/google-docs-image-459264e1-6176-5250-aaf5-e212f820066e.jpg 80w,\n/static/d5859fc390c0702ae227332c900f65e9/6f82d/google-docs-image-459264e1-6176-5250-aaf5-e212f820066e.jpg 160w,\n/static/d5859fc390c0702ae227332c900f65e9/a646a/google-docs-image-459264e1-6176-5250-aaf5-e212f820066e.jpg 320w,\n/static/d5859fc390c0702ae227332c900f65e9/e2674/google-docs-image-459264e1-6176-5250-aaf5-e212f820066e.jpg 640w","sizes":"(min-width: 320px) 320px, 100vw"},"sources":[{"srcSet":"/static/d5859fc390c0702ae227332c900f65e9/964d6/google-docs-image-459264e1-6176-5250-aaf5-e212f820066e.webp 80w,\n/static/d5859fc390c0702ae227332c900f65e9/bc213/google-docs-image-459264e1-6176-5250-aaf5-e212f820066e.webp 160w,\n/static/d5859fc390c0702ae227332c900f65e9/56ba4/google-docs-image-459264e1-6176-5250-aaf5-e212f820066e.webp 320w,\n/static/d5859fc390c0702ae227332c900f65e9/bd515/google-docs-image-459264e1-6176-5250-aaf5-e212f820066e.webp 640w","type":"image/webp","sizes":"(min-width: 320px) 320px, 100vw"}]},"width":320,"height":320},"original":{"src":"/static/google-docs-image-459264e1-6176-5250-aaf5-e212f820066e-d5859fc390c0702ae227332c900f65e9.jpg"}}}},"childMdx":{"body":"var _excluded = [\"components\"];\n\nfunction _extends() { _extends = Object.assign || 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); }\n\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; }\n\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\n/* @jsxRuntime classic */\n\n/* @jsx mdx */\nvar _frontmatter = {\n  \"id\": \"1usxxbIJsjIaaJwpy2oZu3YP0ZIzMp7b2flTUNHwubDM\",\n  \"name\": \"Tileserver beállítása hosting környezetben\",\n  \"mimeType\": \"application/vnd.google-apps.document\",\n  \"description\": \"tags: [Leírás, Tileserver, MBTiles, PHP]\",\n  \"starred\": false,\n  \"parents\": [\"13mZF4FX5sTPw9ps5PZC0DSvmyP3bCWcw\"],\n  \"createdTime\": \"2021-04-03T09:01:38.386Z\",\n  \"modifiedTime\": \"2021-05-09T07:24:43.389Z\",\n  \"exclude\": false,\n  \"page\": true,\n  \"index\": false,\n  \"date\": \"2021-04-03T09:01:38.386Z\",\n  \"locale\": \"en\",\n  \"template\": \"post\",\n  \"tags\": [\"Leírás\", \"Tileserver\", \"MBTiles\", \"PHP\"],\n  \"breadcrumb\": [{\n    \"name\": \"Blog\",\n    \"slug\": \"/blog\"\n  }, {\n    \"name\": \"2020\",\n    \"slug\": \"/blog/2020\"\n  }, {\n    \"name\": \"Tileserver beállítása hosting környezetben\",\n    \"slug\": \"/blog/2020/tileserver-beallitasa-hosting-kornyezetben\"\n  }],\n  \"path\": \"/hu/blog/2020/tileserver-beallitasa-hosting-kornyezetben\",\n  \"slug\": \"/blog/2020/tileserver-beallitasa-hosting-kornyezetben\",\n  \"cover\": {\n    \"image\": \"https://lh3.googleusercontent.com/sz0zPDGxpw6YVlRLJrxRyFu7RMYY6OpYw-k0ZouxFBdatc35HHKYE4sWeA0RI58VDB5TbFdTlLtDVA09h4g6PQnrWRG50FoDd2mES_gjOAs2oV2m7bTuWae7NNpsjTNHbMsJphEl8WdLzM70BA\",\n    \"title\": \"\",\n    \"alt\": \"\"\n  }\n};\nvar layoutProps = {\n  _frontmatter: _frontmatter\n};\nvar MDXLayout = \"wrapper\";\nreturn function MDXContent(_ref) {\n  var components = _ref.components,\n      props = _objectWithoutProperties(_ref, _excluded);\n\n  return mdx(MDXLayout, _extends({}, layoutProps, props, {\n    components: components,\n    mdxType: \"MDXLayout\"\n  }), mdx(\"h3\", null, mdx(\"span\", {\n    style: {\n      \"fontSize\": \"1.55em\"\n    }\n  }, mdx(\"strong\", {\n    parentName: \"h3\"\n  }, \"Mi\\xE9rt j\\xF3 mindez?\"))), mdx(\"p\", null, \"A \", mdx(\"a\", {\n    parentName: \"p\",\n    \"href\": \"https://github.com/maptiler/tileserver-php\"\n  }, \"tileserver php\"), \"egy olyan WMTS szerver, ami hosting k\\xF6rnyezetben j\\xF3l alkalmazhat\\xF3. Seg\\xEDts\\xE9g\\xE9vel a kor\\xE1bban elk\\xE9sz\\xEDtett \", mdx(\"a\", {\n    parentName: \"p\",\n    \"href\": \"https://szabo-balazs.hu/blog/2020/mbtiles\"\n  }, \"MBTiles-t\"), \"szolg\\xE1lom ki, \", mdx(\"a\", {\n    parentName: \"p\",\n    \"href\": \"https://openlayers.org/\"\n  }, \"OpenLayers\"), \"javascript k\\xF6nyvt\\xE1r \", mdx(\"a\", {\n    parentName: \"p\",\n    \"href\": \"https://openlayers.org/en/latest/examples/layer-swipe.html\"\n  }, \"felhaszn\\xE1l\\xE1s\\xE1val\"), \":\"), mdx(\"div\", {\n    className: \"wide\"\n  }, mdx(\"examplemap\", null)), mdx(\"h3\", null, mdx(\"span\", {\n    style: {\n      \"fontSize\": \"1.55em\"\n    }\n  }, mdx(\"strong\", {\n    parentName: \"h3\"\n  }, \"Telep\\xEDt\\xE9s\"))), mdx(\"h4\", null, mdx(\"span\", {\n    style: {\n      \"fontSize\": \"1.18em\"\n    }\n  }, mdx(\"strong\", {\n    parentName: \"h4\"\n  }, \"Minim\\xE1lis technikai felt\\xE9telek:\"))), mdx(\"ol\", null, mdx(\"li\", {\n    parentName: \"ol\"\n  }, \"Apache webszerver, mod\", \"_\", \"rewrite \\xE9s .htaccess t\\xE1mogat\\xE1ssal\"), mdx(\"li\", {\n    parentName: \"ol\"\n  }, \"PHP 5.6+ SQLite modullal\")), mdx(\"h4\", null, mdx(\"span\", {\n    style: {\n      \"fontSize\": \"1.18em\"\n    }\n  }, mdx(\"strong\", {\n    parentName: \"h4\"\n  }, \"Telep\\xEDt\\xE9s:\"))), mdx(\"p\", null, \"A kiszolg\\xE1l\\xF3n \\xE9rdemes l\\xE9trehozni legal\\xE1bb egy subdomain-t (n\\xE1lam:\", mdx(\"a\", {\n    parentName: \"p\",\n    \"href\": \"https://tile-server.szabo-balazs.hu\"\n  }, \"https://tile-server.szabo-balazs.hu\"), \"), amit c\\xE9lszer\\u0171 k\\xFCl\\xF6n mapp\\xE1ba kivezetni (\", mdx(\"a\", {\n    parentName: \"p\",\n    \"href\": \"https://tile-server.szabo-balazs.hu\"\n  }, \"https://tile-server.szabo-balazs.hu\"), \" \\xE9s a \", mdx(\"a\", {\n    parentName: \"p\",\n    \"href\": \"https://szabo-balazs.hu\"\n  }, \"szabo-balazs.hu\"), \"-nak elt\\xE9r a gy\\xF6k\\xE9r k\\xF6nyvt\\xE1ra). T\\xF6bb subdomain eset\\xE9n a subdomainek ugyanarra a mapp\\xE1ra mutassanak. Ezut\\xE1n \", mdx(\"a\", {\n    parentName: \"p\",\n    \"href\": \"https://github.com/maptiler/tileserver-php/archive/master.zip\"\n  }, \"innen\"), \" le kell t\\xF6lteni a projekt zip f\\xE1jl\\xE1t, amit fel kell m\\xE1solni a subdomain k\\xF6nyvt\\xE1r\\xE1ba \\xE9s kicsomagolni. Ugyanitt l\\xE9tre kell hozni egy \\\"mbtiles\\\" nev\\u0171 mapp\\xE1t.\"), mdx(\"p\", null, \"A k\\xF6vetkez\\u0151 l\\xE9p\\xE9sben meg kell keresni a \\\"tileserver.php\\\" f\\xE1jlt, aminek a 13. sor\\xE1t \\xE1t kell \\xEDrni \\xEDgy:\"), mdx(\"div\", {\n    \"className\": \"gatsby-highlight\",\n    \"data-language\": \"text\"\n  }, mdx(\"pre\", {\n    parentName: \"div\",\n    \"className\": \"language-text\"\n  }, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-text\"\n  }, \"$config['dataRoot'] = 'mbtiles';\"))), mdx(\"p\", null, \"Az MBTiles mapp\\xE1ba bem\\xE1solva egy \", mdx(\"a\", {\n    parentName: \"p\",\n    \"href\": \"https://tile-server.szabo-balazs.hu/MBTiles/hidvegi-to-1965.MBTiles\"\n  }, \"MBTiles\"), \" f\\xE1jlt m\\xE1r m\\u0171k\\xF6dik is! A \", mdx(\"a\", {\n    parentName: \"p\",\n    \"href\": \"https://tile-server.szabo-balazs.hu/tileserver.php\"\n  }, \"tileserver.php\"), \"-t megh\\xEDvva r\\xF6gt\\xF6n az MBTiles t\\xE9rk\\xE9pe j\\xF6n be - ha egy darab MBTiles f\\xE1jlt tal\\xE1l, ha t\\xF6bbet azok list\\xE1ja.\"), mdx(\"span\", {\n    \"className\": \"gatsby-resp-image-wrapper\",\n    \"style\": {\n      \"position\": \"relative\",\n      \"display\": \"block\",\n      \"marginLeft\": \"auto\",\n      \"marginRight\": \"auto\",\n      \"maxWidth\": \"1200px\",\n      \"marginBottom\": \"2em\"\n    }\n  }, \"\\n      \", mdx(\"a\", {\n    parentName: \"span\",\n    \"className\": \"gatsby-resp-image-link\",\n    \"href\": \"/static/00557290108eb1250eb412b640017e27/1a152/google-docs-image-675cf561-f297-5116-b147-425578a30bb3.png\",\n    \"style\": {\n      \"display\": \"block\"\n    },\n    \"target\": \"_blank\",\n    \"rel\": \"noopener\"\n  }, \"\\n    \", mdx(\"span\", {\n    parentName: \"a\",\n    \"className\": \"gatsby-resp-image-background-image\",\n    \"style\": {\n      \"paddingBottom\": \"65.33333333333333%\",\n      \"position\": \"relative\",\n      \"bottom\": \"0\",\n      \"left\": \"0\",\n      \"backgroundImage\": \"url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAANCAIAAAAmMtkJAAAACXBIWXMAAAsTAAALEwEAmpwYAAAByklEQVQoz22S6Y6bMBRGeZ5WDZvBNrbxCgFiCCQNYRwhjTqd93+FCtOOGs0c/7TOXfTd4HbRShshuZCCC14UuCwZY4xSKqUcht4YXR9r21trLWOUeCglGOPguix1VSltjKk4F23bOve4eqZpOp1OWm9/fd/P8zyO4zRN1+t1nuemaYKLW9vjUXuUUnmWpWmaJAkAIE3TOI4jTxzHSZKkHvCP4GW9W9srpXY5TdIwDKPor/OhfWaTz/e1PdabbIySklFMKNl2Y4RuGxYIwSwDn0ts8vL6uzLaN9aMUm3UZZ7arlFSYYIyDPIiS0ASR1/J53nBGFFPDnNWlrY98TMv34QdbclKyigAIIqjL+Thtmy7+taUUiHE+/v7/Gu+vc2LW3rbd10HAAjDMH4mTdNgXl8v41jXtTGm9BEPw1CZSgstpdxy0gZCiBAqnkEIBY0djj4qYwxjTAgxTVPTNFJK4R83PIM5zCHGGP3HdiRSyT3kXZZSruvqnHs8Hs459+L6n32OcghhURT7CHuVTdZGf8j72HdP13VCiJKXvOAIIISRv0rKGCOE7IUC9Sxzzgkheb61AhnQXMML/Ca/xz/i/doOh0NRFFJKxtgfF5O/7/wLRdIAAAAASUVORK5CYII=')\",\n      \"backgroundSize\": \"cover\",\n      \"display\": \"block\"\n    }\n  }), \"\\n  \", mdx(\"picture\", {\n    parentName: \"a\"\n  }, \"\\n          \", mdx(\"source\", {\n    parentName: \"picture\",\n    \"srcSet\": [\"/static/00557290108eb1250eb412b640017e27/e93cc/google-docs-image-675cf561-f297-5116-b147-425578a30bb3.webp 300w\", \"/static/00557290108eb1250eb412b640017e27/b0544/google-docs-image-675cf561-f297-5116-b147-425578a30bb3.webp 600w\", \"/static/00557290108eb1250eb412b640017e27/68fc1/google-docs-image-675cf561-f297-5116-b147-425578a30bb3.webp 1200w\", \"/static/00557290108eb1250eb412b640017e27/43d96/google-docs-image-675cf561-f297-5116-b147-425578a30bb3.webp 1600w\"],\n    \"sizes\": \"(max-width: 1200px) 100vw, 1200px\",\n    \"type\": \"image/webp\"\n  }), \"\\n          \", mdx(\"source\", {\n    parentName: \"picture\",\n    \"srcSet\": [\"/static/00557290108eb1250eb412b640017e27/eed55/google-docs-image-675cf561-f297-5116-b147-425578a30bb3.png 300w\", \"/static/00557290108eb1250eb412b640017e27/7491f/google-docs-image-675cf561-f297-5116-b147-425578a30bb3.png 600w\", \"/static/00557290108eb1250eb412b640017e27/8537d/google-docs-image-675cf561-f297-5116-b147-425578a30bb3.png 1200w\", \"/static/00557290108eb1250eb412b640017e27/1a152/google-docs-image-675cf561-f297-5116-b147-425578a30bb3.png 1600w\"],\n    \"sizes\": \"(max-width: 1200px) 100vw, 1200px\",\n    \"type\": \"image/png\"\n  }), \"\\n          \", mdx(\"img\", {\n    parentName: \"picture\",\n    \"className\": \"gatsby-resp-image-image\",\n    \"src\": \"/static/00557290108eb1250eb412b640017e27/8537d/google-docs-image-675cf561-f297-5116-b147-425578a30bb3.png\",\n    \"alt\": \"google docs image 675cf561 f297 5116 b147 425578a30bb3\",\n    \"title\": \"google docs image 675cf561 f297 5116 b147 425578a30bb3\",\n    \"loading\": \"lazy\",\n    \"decoding\": \"async\",\n    \"style\": {\n      \"width\": \"100%\",\n      \"height\": \"100%\",\n      \"margin\": \"0\",\n      \"verticalAlign\": \"middle\",\n      \"position\": \"absolute\",\n      \"top\": \"0\",\n      \"left\": \"0\"\n    }\n  }), \"\\n        \"), \"\\n  \"), \"\\n    \"), mdx(\"p\", null, \"QGIS-ben az adatforr\\xE1s kezel\\u0151ben az url megad\\xE1s\\xE1val, majd a szerverhez val\\xF3 kapcsol\\xF3d\\xE1ssal lehet el\\xE9rni a r\\xE9teget.\"));\n}\n;\nMDXContent.isMDXComponent = true;"}}},"pageContext":{}},
    "staticQueryHashes": ["15186867","2944011052"]}