{"id":360422,"date":"2024-05-21T00:52:59","date_gmt":"2024-05-21T00:52:59","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=360422"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=360422","title":{"rendered":"<span>\u0418\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u0443 \u0436\u0438\u043b\u044c\u044f \u0432 \u0441\u0442\u043e\u043b\u0438\u0446\u0435<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u041a\u0430\u0434\u044b\u0439 \u0434\u0435\u043d\u044c \u0432\u044b \u0441\u043e\u0432\u0435\u0440\u0448\u0430\u0435\u0442\u0435 \u043f\u043e\u0447\u0442\u0438 \u043e\u0434\u043d\u0438 \u0438 \u0442\u0435 \u0436\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f &#8212; \u043f\u0440\u043e\u0441\u044b\u043f\u0430\u0435\u0442\u0435\u0441\u044c, \u0447\u0438\u0441\u0442\u0438\u0442\u0435 \u0437\u0443\u0431\u044b, \u0437\u0430\u0432\u0442\u0440\u0430\u043a\u0430\u0435\u0442\u0435, \u043a\u0442\u043e-\u0442\u043e \u0438\u0437 \u0432\u0430\u0441 \u043e\u0442\u0432\u043e\u0434\u0438\u0442 \u0434\u0435\u0442\u0435\u0439 \u0432 \u0441\u0430\u0434\u0438\u043a \u0438\u043b\u0438 \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u0443\u044e \u0448\u043a\u043e\u043b\u0443, \u043f\u043e\u0442\u043e\u043c \u0432\u044b \u0438\u0434\u0435\u0442\u0435 \u043d\u0430 \u0440\u0430\u0431\u043e\u0442\u0443, \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u044f\u0441\u044c \u0441 \u0440\u0430\u0431\u043e\u0442\u044b \u0432\u044b \u0438\u0434\u0435\u0442\u0435 \u043d\u0430 \u0441\u043f\u043e\u0440\u0442\u0438\u0432\u043d\u0443\u044e \u0442\u0440\u0435\u043d\u0438\u0440\u043e\u0432\u043a\u0443, \u0437\u0430\u0445\u043e\u0434\u0438\u0442\u0435 \u0432 \u043c\u0430\u0433\u0430\u0437\u0438\u043d \u0438\u043b\u0438 \u0432 \u043f\u0443\u043d\u043a\u0442 \u0432\u044b\u0434\u0430\u0447\u0438 \u0437\u0430\u043a\u0430\u0437\u043e\u0432 \u0438 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442\u0435\u0441\u044c \u0434\u043e\u043c\u043e\u0439. \u041d\u0430 \u0432\u044b\u0445\u043e\u0434\u043d\u044b\u0445 \u0438\u0434\u0435\u0442\u0435 \u0432 \u043f\u0430\u0440\u043a \u0438\u043b\u0438 \u0432 \u0442\u043e\u0440\u0433\u043e\u0432\u044b\u0439 \u0446\u0435\u043d\u0442\u0440 \u043d\u0430 \u0448\u043e\u043f\u043f\u0438\u043d\u0433, \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0432 \u0442\u0435\u0430\u0442\u0440 \u0438\u043b\u0438 \u043d\u043e\u0447\u043d\u043e\u0439 \u043a\u043b\u0443\u0431.<\/p>\n<p>\u041f\u043e\u0438\u0441\u043a\u0438 \u0438 \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f \u043c\u0435\u0441\u0442\u0430 \u0434\u043b\u044f \u0436\u0438\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u0430 \u0432\u043a\u043b\u044e\u0447\u0430\u044e\u0442 \u0432 \u0441\u0435\u0431\u044f \u043e\u0446\u0435\u043d\u043a\u0443 \u043e\u043a\u0440\u0435\u0441\u0442\u043d\u043e\u0441\u0442\u0435\u0439 \u0432\u043e\u043a\u0440\u0443\u0433. \u0410 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0439\u0442\u0438 \u0441 \u043e\u0431\u0440\u0430\u0442\u043d\u043e\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u044b \u0438 \u043f\u0440\u0438\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0434\u043e\u043c\u0430 \u0433\u0434\u0435 \u0432\u0441\u0435 \u043d\u0443\u0436\u043d\u043e\u0435 \u0432\u0430\u043c \u043f\u043e \u0441\u043e\u0441\u0435\u0434\u0441\u0442\u0432\u0443. \u0427\u0442\u043e\u0431\u044b \u043c\u0435\u043d\u044c\u0448\u0435 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043f\u0440\u043e\u0432\u043e\u0434\u0438\u0442\u044c \u0432 \u0434\u043e\u0440\u043e\u0433\u0435 \u0438 \u0431\u043e\u043b\u044c\u0448\u0435 \u043c\u043e\u043c\u0435\u043d\u0442\u043e\u0432 \u0436\u0438\u0437\u043d\u0438 \u0431\u044b\u043b\u043e \u0441 \u043f\u043e\u043b\u044c\u0437\u043e\u0439.<\/p>\n<p>\u041c\u043e\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u0440\u0430\u0441\u0447\u0438\u0442\u0430\u043b\u0430 \u0434\u0435\u0441\u044f\u0442\u043a\u0438 \u043c\u0438\u043b\u043b\u0438\u043e\u043d\u043e\u0432 \u043f\u0435\u0448\u0435\u0445\u043e\u0434\u043d\u044b\u0445 \u0434\u0438\u0441\u0442\u0430\u043d\u0446\u0438\u0439 \u043e\u0442 \u0436\u0438\u043b\u044b\u0445 \u0437\u0434\u0430\u043d\u0438\u0439 \u041c\u043e\u0441\u043a\u0432\u044b \u0432 2\u043a\u043c \u043e\u0442 \u043c\u0435\u0442\u0440\u043e \u0438 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043b \u0438\u0445 \u043d\u0430 Github \u0432 \u0432\u0438\u0434\u0435 <a href=\"https:\/\/igor-suhorukov.github.io\/\" rel=\"noopener noreferrer nofollow\">\u043f\u043e\u0438\u0441\u043a\u043e\u0432\u0438\u043a\u0430 \u0436\u0438\u043b\u044c\u044f \u0434\u043b\u044f \u0433\u0438\u043a\u043e\u0432<\/a>. \u041f\u0440\u043e \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u044f \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u043b \u0432 <a href=\"https:\/\/habr.com\/ru\/articles\/772736\/\" rel=\"noopener noreferrer nofollow\">\u043f\u0440\u043e\u0448\u043b\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435<\/a>.  <\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/dde\/028\/db2\/dde028db203b3a8b0ab5f04f3eedaf61.png\" width=\"1220\" height=\"1071\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/dde\/028\/db2\/dde028db203b3a8b0ab5f04f3eedaf61.png\"\/><\/figure>\n<p>\u0415\u0441\u043b\u0438 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u044e\u0442 \u0442\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0441\u0442\u0438 \u043f\u0440\u043e \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u0434\u0430\u043d\u043d\u044b\u0445, \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u043c\u043e\u0438 \u0441\u0442\u0430\u0442\u044c\u0438 \u0437\u0434\u0435\u0441\u044c  <a href=\"https:\/\/habr.com\/ru\/articles\/761600\/\" rel=\"noopener noreferrer nofollow\">&#171;\u0413\u0434\u0435 \u0432 \u041c\u043e\u0441\u043a\u0432\u0435 \u0436\u0438\u0442\u044c \u00ab\u043d\u0435\u043f\u043b\u043e\u0445\u043e\u00bb&#187;<\/a>, <a href=\"https:\/\/habr.com\/ru\/articles\/770044\/\" rel=\"noopener noreferrer nofollow\">&#171;\u0413\u0434\u0435 15 \u043c\u0438\u043d\u0443\u0442 \u043f\u0435\u0448\u043a\u043e\u043c \u043e\u0442 \u0434\u043e\u043c\u0430 \u0434\u043e \u043c\u0435\u0442\u0440\u043e \u0432 \u041c\u043e\u0441\u043a\u0432\u0435&#187;<\/a>, <a href=\"https:\/\/habr.com\/ru\/articles\/771184\/\" rel=\"noopener noreferrer nofollow\">&#171;\u0416\u0438\u043b\u044c\u0435 \u0432 500\u043c \u043e\u0442 \u0441\u0435\u0442\u0435\u0432\u044b\u0445 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u043e\u0432\u044b\u0445 \u043c\u0430\u0433\u0430\u0437\u0438\u043d\u043e\u0432 \u0432 \u041c\u043e\u0441\u043a\u0432\u0435.&#187;<\/a>.<\/p>\n<p>\u0418\u0441\u0442\u043e\u0447\u043d\u0438\u043a \u0433\u0435\u043e\u0434\u0430\u043d\u043d\u044b\u0445 &#8212; OpenStreetMap \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0438\u0439 \u043b\u044e\u0431\u043e\u043c\u0443 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0435\u0441\u043b\u0438 \u0432\u0434\u0440\u0443\u0433 \u0442\u0430\u043c \u043d\u0435 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u043b\u0438 \u0432\u0430\u0448 \u043b\u044e\u0431\u0438\u043c\u044b\u0439 \u043c\u0430\u0433\u0430\u0437\u0438\u043d, \u0448\u043a\u043e\u043b\u0443, \u043f\u043b\u043e\u0449\u0430\u0434\u043a\u0443 \u0434\u043b\u044f \u0432\u044b\u0433\u0443\u043b\u0430 \u0441\u043e\u0431\u0430\u043a \u0438\u043b\u0438  \u0432\u0434\u0440\u0443\u0433 \u0436\u0438\u043b\u043e\u0435 \u0437\u0434\u0430\u043d\u0438\u0435 \u043d\u0430 \u043a\u0430\u0440\u0442\u0435 \u0432 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0437\u0434\u0430\u043d\u0438\u0435\u043c \u043c\u0430\u0433\u0430\u0437\u0438\u043d\u0430&#8230; \u0427\u0438\u0442\u0430\u0439\u0442\u0435 <a href=\"https:\/\/wiki.openstreetmap.org\/wiki\/RU:%D0%97%D0%B0%D0%B3%D0%BB%D0%B0%D0%B2%D0%BD%D0%B0%D1%8F_%D1%81%D1%82%D1%80%D0%B0%D0%BD%D0%B8%D1%86%D0%B0\" rel=\"noopener noreferrer nofollow\">\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044e<\/a>, \u0445\u043e\u0440\u043e\u0448\u043e \u043f\u043e\u0434\u0443\u043c\u0430\u0439\u0442\u0435 \u043e \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0432\u0430\u0448\u0438\u0445 \u043f\u0440\u0430\u0432\u043e\u043a \u0438 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0443\u0439\u0442\u0435 \u0434\u0430\u043d\u043d\u044b\u0435. \u041d\u0435 \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u0441\u044c \u043f\u0440\u043e\u0441\u0442\u043e \u043a\u0430\u043a \u043f\u043e\u0442\u0440\u0435\u0431\u0438\u0442\u0435\u043b\u044c &#8212; \u0443\u043b\u0443\u0447\u0448\u0430\u0439\u0442\u0435, \u043a\u0430\u043a \u0432\u044b \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0443\u0436\u0435 \u0434\u0435\u043b\u0430\u043b\u0438 \u0432 \u041d\u0430\u0440\u043e\u0434\u043d\u044b\u0445 \u043a\u0430\u0440\u0442\u0430\u0445 \u043e\u0442 \u042f\u043d\u0434\u0435\u043a\u0441. \u0413\u043b\u0430\u0432\u043d\u043e\u0435 \u043e\u0442\u043b\u0438\u0447\u0438\u0435 \u043e\u0442 \u041d\u0430\u0440\u043e\u0434\u043d\u044b\u0445 \u043a\u0430\u0440\u0442 &#8212; \u044d\u0442\u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u0442\u044c \u0438 \u0430\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c, \u0432 \u044d\u0442\u043e\u043c \u0433\u043b\u0430\u0432\u043d\u0430\u044f \u0446\u0435\u043d\u043d\u043e\u0441\u0442\u044c \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u0434\u0430\u0440\u0438\u0442 \u043f\u0440\u043e\u0435\u043a\u0442 OSM.<\/p>\n<p>\u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u044f \u043f\u0440\u0438\u0432\u0435\u0434\u0443 \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0435 \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u0434\u043b\u044f \u043f\u043e\u0438\u0441\u043a\u0430 \u043c\u0435\u0441\u0442\u0430 \u0436\u0438\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u0430.<\/p>\n<p>\u0421\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441 \u043f\u0440\u0435\u0434\u0438\u043a\u0430\u0442\u043e\u0432 \u0434\u043b\u044f \u043f\u043e\u0438\u0441\u043a\u0430 \u0432 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0439 <a href=\"https:\/\/duckdb.org\/docs\/archive\/0.9.2\/sql\/introduction\" rel=\"noopener noreferrer nofollow\">\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 duckdb<\/a>. \u0412 \u0437\u0430\u043f\u0440\u043e\u0441\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u043a\u043e\u043b\u043e\u043d\u043a\u0438:<\/p>\n<pre><code>    Column     |      Type       | ---------------+-----------------+  distance      | smallint        |   categories    | text[]          |   name          | text            |   amenity       | text            |   leisure       | text            |   shop          | text            |   healthcare    | text            |   tourism       | text            |   historic      | text            |   sport         | text[]          |   education     | text            |   religion      | text            |   office        | text            |   brand         | text            |   network       | text            |   operator      | text            | <\/code><\/pre>\n<p>\u0417\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043c\u043e\u0436\u0435\u0442\u0435 \u043d\u0430\u0439\u0442\u0438 \u0432 \u0432\u0438\u043a\u0438 OSM:<\/p>\n<ul>\n<li>\n<p> <a href=\"https:\/\/wiki.openstreetmap.org\/wiki\/RU:Key:amenity\" rel=\"noopener noreferrer nofollow\">https:\/\/wiki.openstreetmap.org\/wiki\/RU:Key:amenity<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/wiki.openstreetmap.org\/wiki\/RU:Key:leisure\" rel=\"noopener noreferrer nofollow\">https:\/\/wiki.openstreetmap.org\/wiki\/RU:Key:leisure<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/wiki.openstreetmap.org\/wiki\/RU:Key:shop\" rel=\"noopener noreferrer nofollow\">https:\/\/wiki.openstreetmap.org\/wiki\/RU:Key:shop<\/a><\/p>\n<\/li>\n<\/ul>\n<h2>\u041c\u0435\u0442\u0440\u043e<\/h2>\n<ul>\n<li>\n<p>\u0414\u043e\u043c\u0430 \u0432 500\u043c \u043e\u0442 \u0432\u0445\u043e\u0434\u043e\u0432 \u0432 \u041c\u0426\u041a: <code>network='\u041c\u0426\u041a' and 'transport'=any(categories) and distance &lt;= 500<\/code><\/p>\n<\/li>\n<li>\n<p>\u0414\u043e\u043c\u0430 \u0432 500\u043c \u043e\u0442 \u0432\u0445\u043e\u0434\u043e\u0432 \u0432 \u043c\u0435\u0442\u0440\u043e: <code>network='\u041c\u043e\u0441\u043a\u043e\u0432\u0441\u043a\u0438\u0439 \u043c\u0435\u0442\u0440\u043e\u043f\u043e\u043b\u0438\u0442\u0435\u043d' and 'transport'=any(categories) and distance &lt;= 500<\/code><\/p>\n<\/li>\n<li>\n<p>\u0415\u0441\u043b\u0438 \u0432\u0430\u043c \u043d\u0443\u0436\u0435\u043d\u043e \u043d\u0430\u0439\u0442\u0438 \u0434\u043e\u043c\u0430 \u0443 \u043c\u0435\u0442\u0440\u043e \u0438\u043b\u0438 \u041c\u0426\u041a \u0432 15 \u043c\u0438\u043d\u0443\u0442\u0430\u0445 \u0445\u043e\u0434\u044c\u0431\u044b: <code>(network='\u041c\u0426\u041a' or network='\u041c\u043e\u0441\u043a\u043e\u0432\u0441\u043a\u0438\u0439 \u043c\u0435\u0442\u0440\u043e\u043f\u043e\u043b\u0438\u0442\u0435\u043d') and 'transport'=any(categories) and distance &lt;= 1250<\/code><\/p>\n<\/li>\n<\/ul>\n<h2>\u041c\u0430\u0433\u0430\u0437\u0438\u043d\u044b<\/h2>\n<ul>\n<li>\n<p>\u0416\u0438\u043b\u044c\u0435 \u0432 1.5\u043a\u043c \u043e\u0442 \u0410\u0448\u0430\u043d\u0430 \u0438\u043b\u0438 \u0410\u0442\u0430\u043a: <code>distance &lt;= 1500 and (shop='supermarket' or shop='convenience') and brand in ('\u0410\u0448\u0430\u043d','\u0410\u0448\u0430\u043d \u0421\u0438\u0442\u0438','\u0410\u0442\u0430\u043a')<\/code><\/p>\n<\/li>\n<li>\n<p>\u041f\u044f\u0442\u0451\u0440\u043e\u0447\u043a\u0430, \u0412\u043a\u0443\u0441\u0412\u0438\u043b\u043b, \u0414\u0438\u043a\u0441\u0438, \u041c\u0430\u0433\u043d\u0438\u0442, \u041c\u0430\u0433\u043d\u043e\u043b\u0438\u044f, \u041f\u0435\u0440\u0435\u043a\u0440\u0451\u0441\u0442\u043e\u043a  \u0432 500\u043c: <code>distance &lt;= 500 and (shop='supermarket' or shop='convenience') and brand in ('\u041f\u044f\u0442\u0451\u0440\u043e\u0447\u043a\u0430','\u0412\u043a\u0443\u0441\u0412\u0438\u043b\u043b','\u0414\u0438\u043a\u0441\u0438','\u041c\u0430\u0433\u043d\u0438\u0442','\u041c\u0430\u0433\u043d\u043e\u043b\u0438\u044f','\u041f\u0435\u0440\u0435\u043a\u0440\u0451\u0441\u0442\u043e\u043a')<\/code><\/p>\n<\/li>\n<li>\n<p>\u041f\u0443\u043d\u043a\u0442\u044b \u0432\u044b\u0434\u0430\u0447\u0438 <code>distance &lt;= 1500 and brand in ('Wildberries','Ozon')<\/code><\/p>\n<\/li>\n<li>\n<p>\u0422\u043e\u0440\u0433\u043e\u0432\u044b\u0439 \u0446\u0435\u043d\u0442\u0440 \u0432 1.5\u043a\u043c \u043e\u0442 \u0436\u0438\u043b\u044c\u044f:<code>distance &lt;= 1500 and shop='mall'<\/code><\/p>\n<\/li>\n<\/ul>\n<h2>\u0414\u0435\u0442\u0438 \u0438 \u0443\u0447\u0435\u0431\u0430<\/h2>\n<ul>\n<li>\n<p>\u0414\u0435\u0442\u0441\u043a\u0438\u0439 \u0441\u0430\u0434\u0438\u043a \u0443 \u0434\u043e\u043c\u0430: <code>distance &lt;= 500 and amenity='kindergarten'<\/code><\/p>\n<\/li>\n<li>\n<p>\u0428\u043a\u043e\u043b\u0430 \u0440\u044f\u0434\u043e\u043c: <code>distance &lt;= 1500 and amenity='school'<\/code><\/p>\n<\/li>\n<li>\n<p>\u041a\u043e\u043b\u0435\u0434\u0436 \u043d\u0435\u0434\u0430\u043b\u0435\u043a\u043e: <code>distance &lt;= 1500 and amenity='college'<\/code><\/p>\n<\/li>\n<li>\n<p>\u0412\u0423\u0417 \u043d\u0430 \u0440\u0430\u0439\u043e\u043d\u0435: <code>distance &lt;= 1500 and amenity='university'<\/code><\/p>\n<\/li>\n<\/ul>\n<h2>\u041a\u0430\u0444\u0435, \u0440\u0435\u0441\u0442\u043e\u0440\u0430\u043d\u044b \u0438 \u0442\u043e\u0447\u043a\u0430<\/h2>\n<ul>\n<li>\n<p>\u041a\u0430\u0444\u0435 <code>distance &lt;= 1500 and amenity='cafe'<\/code><\/p>\n<\/li>\n<li>\n<p>\u0420\u0435\u0441\u0442\u043e\u0440\u0430\u043d\u044b: <code>distance &lt;= 1500 and amenity='restairant'<\/code><\/p>\n<\/li>\n<li>\n<p>\u0424\u0430\u0441\u0442\u0444\u0443\u0434:<code>distance &lt;= 1500 and amenity='fast_food'<\/code><\/p>\n<\/li>\n<\/ul>\n<h2>\u041c\u0435\u0434\u0438\u0446\u0438\u043d\u0430<\/h2>\n<ul>\n<li>\n<p>\u0410\u043f\u0442\u0435\u043a\u0430 \u043f\u043e\u0431\u043b\u0438\u0437\u043e\u0441\u0442\u0438:<code>distance &lt;= 500 and amenity='pharmacy' <\/code><\/p>\n<\/li>\n<li>\n<p>\u041f\u043e\u043b\u0438\u043a\u043b\u0438\u043d\u0438\u043a\u0430:<code> distance &lt;= 1500 and amenity='clinic'<\/code><\/p>\n<\/li>\n<li>\n<p>\u0411\u043e\u043b\u044c\u043d\u0438\u0446\u0430:<code> distance &lt;= 1500 and amenity='hospital'<\/code><\/p>\n<\/li>\n<li>\n<p>\u0421\u0442\u043e\u043c\u0430\u0442\u043e\u043b\u043e\u0433 \u0440\u044f\u0434\u043e\u043c:<code> distance &lt;= 1500 and amenity='dentist'<\/code> <\/p>\n<\/li>\n<\/ul>\n<h2>\u0420\u0435\u043b\u0438\u0433\u0438\u044f<\/h2>\n<ul>\n<li>\n<p>\u041c\u0435\u0441\u0442\u043e \u0433\u0434\u0435 \u043f\u0440\u043e\u0432\u043e\u0434\u044f\u0442 \u0441\u043b\u0443\u0436\u0431\u044b: <code> distance &lt;= 1500 and<\/code> <code>amenity='place_of_worship'<\/code><\/p>\n<\/li>\n<li>\n<p>\u041c\u0435\u0447\u0435\u0442\u044c \u0440\u044f\u0434\u043e\u043c:<code> distance &lt;= 1500 and<\/code> <code>amenity='place_of_worship' and<\/code> <code>religion='muslim'<\/code><\/p>\n<\/li>\n<li>\n<p>\u041c\u043e\u0436\u043d\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0434\u0440\u0443\u0433\u0438\u0435 \u043a\u043e\u043d\u0444\u0435\u0441\u0441\u0438\u0438 \u043f\u043e\u0431\u043b\u0438\u0437\u043e\u0441\u0442\u0438, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440: <code>distance &lt;= 1500 and<\/code> <code>amenity='place_of_worship' and religion='christian'<\/code>         \u0438\u043b\u0438 religion=&#8217;buddhist&#8217; religion=&#8217;jewish&#8217; religion=&#8217;hindu&#8217;<\/p>\n<\/li>\n<\/ul>\n<h2>\u041c\u0435\u0441\u0442\u0430 \u0434\u043b\u044f \u043f\u0440\u043e\u0433\u0443\u043b\u043e\u043a<\/h2>\n<ul>\n<li>\n<p>\u041f\u0430\u0440\u043a\u0438 \u0438 \u0441\u0430\u0434\u044b:<code>distance &lt;= 1500 and (leisure='park' or leisure='garden')<\/code><\/p>\n<\/li>\n<li>\n<p>\u041b\u0438\u0431\u043e \u0435\u0441\u043b\u0438 \u0432\u0430\u043c \u0432\u0441\u0435 \u0440\u0430\u0432\u043d\u043e \u0447\u0442\u043e \u043d\u0430 \u043e\u0442\u043a\u0440\u044b\u0442\u043e\u043c \u0432\u043e\u0437\u0434\u0443\u0445\u0435: <code>distance &lt;= 1500 and 'outdoor'=any(categories)<\/code><\/p>\n<\/li>\n<\/ul>\n<h2>\u0421\u043f\u043e\u0440\u0442<\/h2>\n<p>\u0421\u043f\u043e\u0440\u0442\u0446\u0435\u043d\u0442\u0440 \u0438\u043b\u0438 \u0444\u0438\u0442\u043d\u0435\u0441\u0441 \u0446\u0435\u043d\u0442\u0440 \u043f\u043e\u0431\u043b\u0438\u0437\u043e\u0441\u0442\u0438:<code>distance &lt;= 1500 and (leisure='sports_centre' or leisure='fitness_centre')<\/code><\/p>\n<p>\u0418 \u043c\u043e\u0436\u043d\u043e \u0443\u0442\u043e\u0447\u043d\u0438\u0442\u044c \u043a\u0430\u043a\u043e\u0439 \u0441\u043f\u043e\u0440\u0442 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u0435\u0442 <code>distance &lt;= 1500 and (leisure='sports_centre' or leisure='fitness_centre') and 'soccer'=any(sport)<\/code> \u0438\u043b\u0438  fitness, basketball,  tennis, table_tennis,  running,  athletics, volleyball, yoga, ice_hockey, swimming,  gymnastics, hockey, skateboard, chess, futsal,  football, badminton<\/p>\n<h2>\u0414\u043e\u043c\u0430\u0448\u043d\u0438\u0435 \u0436\u0438\u0432\u043e\u0442\u043d\u044b\u0435<\/h2>\n<ul>\n<li>\n<p>\u041f\u043b\u043e\u0449\u0430\u0434\u043a\u0430 \u0434\u043b\u044f \u0432\u044b\u0433\u0443\u043b\u0430 \u0441\u043e\u0431\u0430\u043a \u0431\u0435\u0437 \u043d\u0430\u043c\u043e\u0440\u0434\u043d\u0438\u043a\u043e\u0432: <code>distance &lt;= 1500 and<\/code> <code>leisure='dog_park'<\/code><\/p>\n<\/li>\n<li>\n<p>\u0412\u0435\u0442\u0435\u0440\u0435\u043d\u0430\u0440 \u043f\u043e\u0431\u043b\u0438\u0437\u043e\u0441\u0442\u0438: <code>distance &lt;= 1500 and amenity='veterinary'<\/code><\/p>\n<\/li>\n<li>\n<p>\u041f\u0440\u0438\u044e\u0442 \u0434\u043b\u044f \u0431\u0435\u0437\u0434\u043e\u043c\u043d\u044b\u0445 \u0436\u0438\u0432\u043e\u0442\u043d\u044b\u0445 \u0440\u044f\u0434\u043e\u043c: <code>distance &lt;= 1500 and amenity='animal_shelter'<\/code><\/p>\n<\/li>\n<\/ul>\n<h2>\u0415\u0441\u043b\u0438 \u043d\u0435 \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u0436\u0438\u0442\u044c \u043f\u0440\u044f\u043c\u043e \u0443 &#8230;<\/h2>\n<p>\u0415\u0441\u043b\u0438 \u0432\u0430\u043c \u043d\u0435 \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u0447\u0442\u043e\u0431\u044b \u0447\u0442\u043e-\u0442\u043e \u0431\u044b\u043b\u043e \u0440\u044f\u0434\u043e\u043c \u0441 \u0434\u043e\u043c\u043e\u043c \u0442\u043e \u043c\u043e\u0436\u0435\u0442\u0435 \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u044d\u0442\u043e \u0432 \u043f\u043e\u043b\u0435 &#171;\u0427\u0442\u043e \u043d\u0435 \u0445\u043e\u0442\u0438\u043c:&#187;<\/p>\n<p>\u041d\u0435 \u0436\u0438\u0442\u044c \u0431\u043b\u0438\u0437\u043a\u043e \u043a \u0438\u043d\u0444\u0435\u043a\u0446\u0438\u043e\u043d\u043d\u043e\u0439 \u0431\u043e\u043b\u044c\u043d\u0438\u0446\u0435 \u0438\u043b\u0438 \u043f\u0441\u0438\u0445\u0431\u043e\u043b\u044c\u043d\u0438\u0446\u0435 \u0432 \u043f\u043e\u043b\u0435 &#171;\u0427\u0442\u043e \u043d\u0435 \u0445\u043e\u0442\u0438\u043c:&#187;:  <code>distance &lt; 300 and'_specialHealthcare'=any(categories)<\/code><\/p>\n<p>\u0414\u0430\u043b\u044c\u0448\u0435 100\u043c \u043e\u0442 \u0448\u0443\u043c\u043d\u044b\u0445 \u043c\u0435\u0441\u0442 &#171;\u0427\u0442\u043e \u043d\u0435 \u0445\u043e\u0442\u0438\u043c:&#187;: <code>distance &lt; 100 and '_noisy_place'=any(categories)<\/code><\/p>\n<p>\u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0436\u0438\u0442\u044c \u043d\u0435 \u0431\u043b\u0438\u0436\u0435 300\u043c \u043e\u0442 \u043c\u0435\u0442\u0440\u043e \u0438\u043b\u0438 \u041c\u0426\u041a \u0432 \u043f\u043e\u043b\u0435 &#171;\u0427\u0442\u043e \u043d\u0435 \u0445\u043e\u0442\u0438\u043c:&#187;: <code>distance &lt; 300 and (network='\u041c\u0426\u041a' or network='\u041c\u043e\u0441\u043a\u043e\u0432\u0441\u043a\u0438\u0439 \u043c\u0435\u0442\u0440\u043e\u043f\u043e\u043b\u0438\u0442\u0435\u043d') and 'transport'=any(categories)<\/code><\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/405\/fba\/e3b\/405fbae3b94d0d116ef38dd1c612c37b.png\" alt=\"\u0414\u043e\u043c\u0430 \u043d\u0435 \u0434\u0430\u043b\u044c\u0448\u0435 1500\u043c \u043d\u043e \u0438 \u043d\u0435 \u0431\u043b\u0438\u0436\u0435 300\u043c \u043e\u0442 \u043c\u0435\u0442\u0440\u043e \u0438 \u041c\u0426\u041a\" title=\"\u0414\u043e\u043c\u0430 \u043d\u0435 \u0434\u0430\u043b\u044c\u0448\u0435 1500\u043c \u043d\u043e \u0438 \u043d\u0435 \u0431\u043b\u0438\u0436\u0435 300\u043c \u043e\u0442 \u043c\u0435\u0442\u0440\u043e \u0438 \u041c\u0426\u041a\" width=\"1918\" height=\"1006\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/405\/fba\/e3b\/405fbae3b94d0d116ef38dd1c612c37b.png\"\/><\/p>\n<div><figcaption>\u0414\u043e\u043c\u0430 \u043d\u0435 \u0434\u0430\u043b\u044c\u0448\u0435 1500\u043c \u043d\u043e \u0438 \u043d\u0435 \u0431\u043b\u0438\u0436\u0435 300\u043c \u043e\u0442 \u043c\u0435\u0442\u0440\u043e \u0438 \u041c\u0426\u041a<\/figcaption><\/div>\n<\/figure>\n<h2>\u0422\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0438<\/h2>\n<p>\u0411\u0430\u0437\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 DuckDB Wasm \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043f\u0440\u044f\u043c\u043e \u0432 \u0432\u0430\u0448\u0435\u043c \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 \u0438 \u0437\u0430\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0435\u0442 \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0441 GitHub Pages, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0437\u0430\u0432\u0438\u0441\u0438\u0442 \u043e\u0442 \u0441\u0435\u0442\u0435\u0432\u043e\u0433\u043e \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u0438 \u0432\u0430\u0448\u0435\u0433\u043e \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430. \u041d\u043e \u044d\u0442\u043e \u0436\u0435 \u0434\u0430\u0435\u0442 \u0433\u0438\u0431\u043a\u043e\u0441\u0442\u044c \u0438 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0444\u043e\u0440\u043c\u0443\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u0442\u0430\u043a, \u043a\u0430\u043a \u0432\u0430\u043c \u0445\u043e\u0447\u0435\u0442\u0441\u044f, \u043f\u043e\u0447\u0442\u0438 \u043b\u044e\u0431\u043e\u0439 \u0441\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u0438, \u0432\u0435\u0434\u044c DuckDB Wasm &#8212; \u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u0430\u044f \u0430\u043d\u0430\u043b\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0431\u0430\u0437\u0430 \u0434\u0430\u043d\u043d\u044b\u0445. \u0418 \u043d\u0435\u044f\u0432\u043d\u043e\u0435 \u0441\u043b\u0435\u0434\u0441\u0442\u0432\u0438\u0435 \u0438\u0437 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u044b \u0441\u0438\u0441\u0442\u0435\u043c\u044b &#8212; \u043c\u043d\u0435 \u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u043f\u043b\u0430\u0442\u0438\u0442\u044c \u0437\u0430 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u043d\u0435\u043a\u043e\u043c\u0435\u0440\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0438 \u043f\u0440\u0438\u0434\u0443\u043c\u044b\u0432\u0430\u0442\u044c \u0441\u043f\u043e\u0441\u043e\u0431\u044b \u043c\u043e\u043d\u0435\u0442\u0438\u0437\u0430\u0446\u0438\u0438. \u041a\u0430\u043a \u0441\u043b\u0435\u0434\u0441\u0442\u0432\u0438\u0435 \u0434\u043b\u044f \u0432\u0430\u0441 &#8212; \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0442\u0438\u043f\u0438\u0447\u043d\u043e\u0439 \u0434\u043b\u044f \u043e\u043d\u043b\u0430\u0439\u043d \u043a\u0430\u0440\u0442 \u0431\u0438\u0437\u043d\u0435\u0441 \u043c\u043e\u0434\u0435\u043b\u0438 &#171;\u043a\u0442\u043e \u0437\u0430\u043f\u043b\u0430\u0442\u0438\u043b \u0431\u043e\u043b\u044c\u0448\u0435, \u0442\u043e\u0433\u043e \u0438 \u0447\u0430\u0449\u0435 \u0438 \u043b\u0443\u0447\u0448\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u043b\u0438&#187; \u0430 \u043d\u0435 \u0442\u043e \u0447\u0442\u043e \u0438\u0441\u043a\u0430\u043b\u0438. <\/p>\n<p>\u041e\u0442\u0440\u0438\u0441\u043e\u0432\u043a\u0430 \u043a\u0430\u0440\u0442\u044b \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e WebGL \u0432\u0438\u0434\u0436\u0435\u0442\u0430 MapLibre GL JS. \u0414\u0430\u043d\u043d\u044b\u0435 \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043d\u044b \u0441 OpenStreetMap, \u043f\u0440\u0435\u0434\u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0430\u043d\u044b \u0432 OpenStreetMap H3 \u0431\u0430\u0437\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 PostGIS \u0438 \u0432\u044b\u0433\u0440\u0443\u0436\u0435\u043d\u044b \u0432 parquet \u0444\u0430\u0439\u043b\u044b.<\/p>\n<p>\u0418\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043f\u043e \u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043d\u0430\u0439\u0442\u0438 \u0432 \u0432\u0438\u043a\u0438 OpenStreetMap, \u043b\u0438\u0431\u043e \u0441\u043f\u0440\u043e\u0441\u0438\u0442\u044c \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445 \u043a \u0441\u0442\u0430\u0442\u044c\u0435. <\/p>\n<h2>\u0421\u043f\u0430\u0441\u0438\u0431\u043e<\/h2>\n<p>\u041d\u0430\u0434\u0435\u044e\u0441\u044c \u0447\u0442\u043e \u044d\u0442\u043e\u0442 \u043f\u043e\u0438\u0441\u043a\u043e\u0432\u0438\u043a \u0432\u0430\u043c \u043f\u0440\u0438\u0433\u043e\u0434\u0438\u0442\u0441\u044f <a href=\"https:\/\/igor-suhorukov.github.io\/\" rel=\"noopener noreferrer nofollow\">https:\/\/igor-suhorukov.github.io<\/a><\/p>\n<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/774516\/\"> https:\/\/habr.com\/ru\/articles\/774516\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u041a\u0430\u0434\u044b\u0439 \u0434\u0435\u043d\u044c \u0432\u044b \u0441\u043e\u0432\u0435\u0440\u0448\u0430\u0435\u0442\u0435 \u043f\u043e\u0447\u0442\u0438 \u043e\u0434\u043d\u0438 \u0438 \u0442\u0435 \u0436\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f &#8212; \u043f\u0440\u043e\u0441\u044b\u043f\u0430\u0435\u0442\u0435\u0441\u044c, \u0447\u0438\u0441\u0442\u0438\u0442\u0435 \u0437\u0443\u0431\u044b, \u0437\u0430\u0432\u0442\u0440\u0430\u043a\u0430\u0435\u0442\u0435, \u043a\u0442\u043e-\u0442\u043e \u0438\u0437 \u0432\u0430\u0441 \u043e\u0442\u0432\u043e\u0434\u0438\u0442 \u0434\u0435\u0442\u0435\u0439 \u0432 \u0441\u0430\u0434\u0438\u043a \u0438\u043b\u0438 \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u0443\u044e \u0448\u043a\u043e\u043b\u0443, \u043f\u043e\u0442\u043e\u043c \u0432\u044b \u0438\u0434\u0435\u0442\u0435 \u043d\u0430 \u0440\u0430\u0431\u043e\u0442\u0443, \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u044f\u0441\u044c \u0441 \u0440\u0430\u0431\u043e\u0442\u044b \u0432\u044b \u0438\u0434\u0435\u0442\u0435 \u043d\u0430 \u0441\u043f\u043e\u0440\u0442\u0438\u0432\u043d\u0443\u044e \u0442\u0440\u0435\u043d\u0438\u0440\u043e\u0432\u043a\u0443, \u0437\u0430\u0445\u043e\u0434\u0438\u0442\u0435 \u0432 \u043c\u0430\u0433\u0430\u0437\u0438\u043d \u0438\u043b\u0438 \u0432 \u043f\u0443\u043d\u043a\u0442 \u0432\u044b\u0434\u0430\u0447\u0438 \u0437\u0430\u043a\u0430\u0437\u043e\u0432 \u0438 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442\u0435\u0441\u044c \u0434\u043e\u043c\u043e\u0439. \u041d\u0430 \u0432\u044b\u0445\u043e\u0434\u043d\u044b\u0445 \u0438\u0434\u0435\u0442\u0435 \u0432 \u043f\u0430\u0440\u043a \u0438\u043b\u0438 \u0432 \u0442\u043e\u0440\u0433\u043e\u0432\u044b\u0439 \u0446\u0435\u043d\u0442\u0440 \u043d\u0430 \u0448\u043e\u043f\u043f\u0438\u043d\u0433, \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0432 \u0442\u0435\u0430\u0442\u0440 \u0438\u043b\u0438 \u043d\u043e\u0447\u043d\u043e\u0439 \u043a\u043b\u0443\u0431.<\/p>\n<p>\u041f\u043e\u0438\u0441\u043a\u0438 \u0438 \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f \u043c\u0435\u0441\u0442\u0430 \u0434\u043b\u044f \u0436\u0438\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u0430 \u0432\u043a\u043b\u044e\u0447\u0430\u044e\u0442 \u0432 \u0441\u0435\u0431\u044f \u043e\u0446\u0435\u043d\u043a\u0443 \u043e\u043a\u0440\u0435\u0441\u0442\u043d\u043e\u0441\u0442\u0435\u0439 \u0432\u043e\u043a\u0440\u0443\u0433. \u0410 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0439\u0442\u0438 \u0441 \u043e\u0431\u0440\u0430\u0442\u043d\u043e\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u044b \u0438 \u043f\u0440\u0438\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0434\u043e\u043c\u0430 \u0433\u0434\u0435 \u0432\u0441\u0435 \u043d\u0443\u0436\u043d\u043e\u0435 \u0432\u0430\u043c \u043f\u043e \u0441\u043e\u0441\u0435\u0434\u0441\u0442\u0432\u0443. \u0427\u0442\u043e\u0431\u044b \u043c\u0435\u043d\u044c\u0448\u0435 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043f\u0440\u043e\u0432\u043e\u0434\u0438\u0442\u044c \u0432 \u0434\u043e\u0440\u043e\u0433\u0435 \u0438 \u0431\u043e\u043b\u044c\u0448\u0435 \u043c\u043e\u043c\u0435\u043d\u0442\u043e\u0432 \u0436\u0438\u0437\u043d\u0438 \u0431\u044b\u043b\u043e \u0441 \u043f\u043e\u043b\u044c\u0437\u043e\u0439.<\/p>\n<p>\u041c\u043e\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u0440\u0430\u0441\u0447\u0438\u0442\u0430\u043b\u0430 \u0434\u0435\u0441\u044f\u0442\u043a\u0438 \u043c\u0438\u043b\u043b\u0438\u043e\u043d\u043e\u0432 \u043f\u0435\u0448\u0435\u0445\u043e\u0434\u043d\u044b\u0445 \u0434\u0438\u0441\u0442\u0430\u043d\u0446\u0438\u0439 \u043e\u0442 \u0436\u0438\u043b\u044b\u0445 \u0437\u0434\u0430\u043d\u0438\u0439 \u041c\u043e\u0441\u043a\u0432\u044b \u0432 2\u043a\u043c \u043e\u0442 \u043c\u0435\u0442\u0440\u043e \u0438 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043b \u0438\u0445 \u043d\u0430 Github \u0432 \u0432\u0438\u0434\u0435 <a href=\"https:\/\/igor-suhorukov.github.io\/\" rel=\"noopener noreferrer nofollow\">\u043f\u043e\u0438\u0441\u043a\u043e\u0432\u0438\u043a\u0430 \u0436\u0438\u043b\u044c\u044f \u0434\u043b\u044f \u0433\u0438\u043a\u043e\u0432<\/a>. \u041f\u0440\u043e \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u044f \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u043b \u0432 <a href=\"https:\/\/habr.com\/ru\/articles\/772736\/\" rel=\"noopener noreferrer nofollow\">\u043f\u0440\u043e\u0448\u043b\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435<\/a>.  <\/p>\n<figure class=\"full-width\"><\/figure>\n<p>\u0415\u0441\u043b\u0438 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u044e\u0442 \u0442\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0441\u0442\u0438 \u043f\u0440\u043e \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u0434\u0430\u043d\u043d\u044b\u0445, \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u043c\u043e\u0438 \u0441\u0442\u0430\u0442\u044c\u0438 \u0437\u0434\u0435\u0441\u044c  <a href=\"https:\/\/habr.com\/ru\/articles\/761600\/\" rel=\"noopener noreferrer nofollow\">&#171;\u0413\u0434\u0435 \u0432 \u041c\u043e\u0441\u043a\u0432\u0435 \u0436\u0438\u0442\u044c \u00ab\u043d\u0435\u043f\u043b\u043e\u0445\u043e\u00bb&#187;<\/a>, <a href=\"https:\/\/habr.com\/ru\/articles\/770044\/\" rel=\"noopener noreferrer nofollow\">&#171;\u0413\u0434\u0435 15 \u043c\u0438\u043d\u0443\u0442 \u043f\u0435\u0448\u043a\u043e\u043c \u043e\u0442 \u0434\u043e\u043c\u0430 \u0434\u043e \u043c\u0435\u0442\u0440\u043e \u0432 \u041c\u043e\u0441\u043a\u0432\u0435&#187;<\/a>, <a href=\"https:\/\/habr.com\/ru\/articles\/771184\/\" rel=\"noopener noreferrer nofollow\">&#171;\u0416\u0438\u043b\u044c\u0435 \u0432 500\u043c \u043e\u0442 \u0441\u0435\u0442\u0435\u0432\u044b\u0445 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u043e\u0432\u044b\u0445 \u043c\u0430\u0433\u0430\u0437\u0438\u043d\u043e\u0432 \u0432 \u041c\u043e\u0441\u043a\u0432\u0435.&#187;<\/a>.<\/p>\n<p>\u0418\u0441\u0442\u043e\u0447\u043d\u0438\u043a \u0433\u0435\u043e\u0434\u0430\u043d\u043d\u044b\u0445 &#8212; OpenStreetMap \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0438\u0439 \u043b\u044e\u0431\u043e\u043c\u0443 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0435\u0441\u043b\u0438 \u0432\u0434\u0440\u0443\u0433 \u0442\u0430\u043c \u043d\u0435 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u043b\u0438 \u0432\u0430\u0448 \u043b\u044e\u0431\u0438\u043c\u044b\u0439 \u043c\u0430\u0433\u0430\u0437\u0438\u043d, \u0448\u043a\u043e\u043b\u0443, \u043f\u043b\u043e\u0449\u0430\u0434\u043a\u0443 \u0434\u043b\u044f \u0432\u044b\u0433\u0443\u043b\u0430 \u0441\u043e\u0431\u0430\u043a \u0438\u043b\u0438  \u0432\u0434\u0440\u0443\u0433 \u0436\u0438\u043b\u043e\u0435 \u0437\u0434\u0430\u043d\u0438\u0435 \u043d\u0430 \u043a\u0430\u0440\u0442\u0435 \u0432 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0437\u0434\u0430\u043d\u0438\u0435\u043c \u043c\u0430\u0433\u0430\u0437\u0438\u043d\u0430&#8230; \u0427\u0438\u0442\u0430\u0439\u0442\u0435 <a href=\"https:\/\/wiki.openstreetmap.org\/wiki\/RU:%D0%97%D0%B0%D0%B3%D0%BB%D0%B0%D0%B2%D0%BD%D0%B0%D1%8F_%D1%81%D1%82%D1%80%D0%B0%D0%BD%D0%B8%D1%86%D0%B0\" rel=\"noopener noreferrer nofollow\">\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044e<\/a>, \u0445\u043e\u0440\u043e\u0448\u043e \u043f\u043e\u0434\u0443\u043c\u0430\u0439\u0442\u0435 \u043e \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0432\u0430\u0448\u0438\u0445 \u043f\u0440\u0430\u0432\u043e\u043a \u0438 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0443\u0439\u0442\u0435 \u0434\u0430\u043d\u043d\u044b\u0435. \u041d\u0435 \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u0441\u044c \u043f\u0440\u043e\u0441\u0442\u043e \u043a\u0430\u043a \u043f\u043e\u0442\u0440\u0435\u0431\u0438\u0442\u0435\u043b\u044c &#8212; \u0443\u043b\u0443\u0447\u0448\u0430\u0439\u0442\u0435, \u043a\u0430\u043a \u0432\u044b \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0443\u0436\u0435 \u0434\u0435\u043b\u0430\u043b\u0438 \u0432 \u041d\u0430\u0440\u043e\u0434\u043d\u044b\u0445 \u043a\u0430\u0440\u0442\u0430\u0445 \u043e\u0442 \u042f\u043d\u0434\u0435\u043a\u0441. \u0413\u043b\u0430\u0432\u043d\u043e\u0435 \u043e\u0442\u043b\u0438\u0447\u0438\u0435 \u043e\u0442 \u041d\u0430\u0440\u043e\u0434\u043d\u044b\u0445 \u043a\u0430\u0440\u0442 &#8212; \u044d\u0442\u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u0442\u044c \u0438 \u0430\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c, \u0432 \u044d\u0442\u043e\u043c \u0433\u043b\u0430\u0432\u043d\u0430\u044f \u0446\u0435\u043d\u043d\u043e\u0441\u0442\u044c \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u0434\u0430\u0440\u0438\u0442 \u043f\u0440\u043e\u0435\u043a\u0442 OSM.<\/p>\n<p>\u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u044f \u043f\u0440\u0438\u0432\u0435\u0434\u0443 \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0435 \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u0434\u043b\u044f \u043f\u043e\u0438\u0441\u043a\u0430 \u043c\u0435\u0441\u0442\u0430 \u0436\u0438\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u0430.<\/p>\n<p>\u0421\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441 \u043f\u0440\u0435\u0434\u0438\u043a\u0430\u0442\u043e\u0432 \u0434\u043b\u044f \u043f\u043e\u0438\u0441\u043a\u0430 \u0432 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0439 <a href=\"https:\/\/duckdb.org\/docs\/archive\/0.9.2\/sql\/introduction\" rel=\"noopener noreferrer nofollow\">\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 duckdb<\/a>. \u0412 \u0437\u0430\u043f\u0440\u043e\u0441\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u043a\u043e\u043b\u043e\u043d\u043a\u0438:<\/p>\n<pre><code>    Column     |      Type       | ---------------+-----------------+  distance      | smallint        |   categories    | text[]          |   name          | text            |   amenity       | text            |   leisure       | text            |   shop          | text            |   healthcare    | text            |   tourism       | text            |   historic      | text            |   sport         | text[]          |   education     | text            |   religion      | text            |   office        | text            |   brand         | text            |   network       | text            |   operator      | text            | <\/code><\/pre>\n<p>\u0417\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043c\u043e\u0436\u0435\u0442\u0435 \u043d\u0430\u0439\u0442\u0438 \u0432 \u0432\u0438\u043a\u0438 OSM:<\/p>\n<ul>\n<li>\n<p> <a href=\"https:\/\/wiki.openstreetmap.org\/wiki\/RU:Key:amenity\" rel=\"noopener noreferrer nofollow\">https:\/\/wiki.openstreetmap.org\/wiki\/RU:Key:amenity<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/wiki.openstreetmap.org\/wiki\/RU:Key:leisure\" rel=\"noopener noreferrer nofollow\">https:\/\/wiki.openstreetmap.org\/wiki\/RU:Key:leisure<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/wiki.openstreetmap.org\/wiki\/RU:Key:shop\" rel=\"noopener noreferrer nofollow\">https:\/\/wiki.openstreetmap.org\/wiki\/RU:Key:shop<\/a><\/p>\n<\/li>\n<\/ul>\n<h2>\u041c\u0435\u0442\u0440\u043e<\/h2>\n<ul>\n<li>\n<p>\u0414\u043e\u043c\u0430 \u0432 500\u043c \u043e\u0442 \u0432\u0445\u043e\u0434\u043e\u0432 \u0432 \u041c\u0426\u041a: <code>network='\u041c\u0426\u041a' and 'transport'=any(categories) and distance &lt;= 500<\/code><\/p>\n<\/li>\n<li>\n<p>\u0414\u043e\u043c\u0430 \u0432 500\u043c \u043e\u0442 \u0432\u0445\u043e\u0434\u043e\u0432 \u0432 \u043c\u0435\u0442\u0440\u043e: <code>network='\u041c\u043e\u0441\u043a\u043e\u0432\u0441\u043a\u0438\u0439 \u043c\u0435\u0442\u0440\u043e\u043f\u043e\u043b\u0438\u0442\u0435\u043d' and 'transport'=any(categories) and distance &lt;= 500<\/code><\/p>\n<\/li>\n<li>\n<p>\u0415\u0441\u043b\u0438 \u0432\u0430\u043c \u043d\u0443\u0436\u0435\u043d\u043e \u043d\u0430\u0439\u0442\u0438 \u0434\u043e\u043c\u0430 \u0443 \u043c\u0435\u0442\u0440\u043e \u0438\u043b\u0438 \u041c\u0426\u041a \u0432 15 \u043c\u0438\u043d\u0443\u0442\u0430\u0445 \u0445\u043e\u0434\u044c\u0431\u044b: <code>(network='\u041c\u0426\u041a' or network='\u041c\u043e\u0441\u043a\u043e\u0432\u0441\u043a\u0438\u0439 \u043c\u0435\u0442\u0440\u043e\u043f\u043e\u043b\u0438\u0442\u0435\u043d') and 'transport'=any(categories) and distance &lt;= 1250<\/code><\/p>\n<\/li>\n<\/ul>\n<h2>\u041c\u0430\u0433\u0430\u0437\u0438\u043d\u044b<\/h2>\n<ul>\n<li>\n<p>\u0416\u0438\u043b\u044c\u0435 \u0432 1.5\u043a\u043c \u043e\u0442 \u0410\u0448\u0430\u043d\u0430 \u0438\u043b\u0438 \u0410\u0442\u0430\u043a: <code>distance &lt;= 1500 and (shop='supermarket' or shop='convenience') and brand in ('\u0410\u0448\u0430\u043d','\u0410\u0448\u0430\u043d \u0421\u0438\u0442\u0438','\u0410\u0442\u0430\u043a')<\/code><\/p>\n<\/li>\n<li>\n<p>\u041f\u044f\u0442\u0451\u0440\u043e\u0447\u043a\u0430, \u0412\u043a\u0443\u0441\u0412\u0438\u043b\u043b, \u0414\u0438\u043a\u0441\u0438, \u041c\u0430\u0433\u043d\u0438\u0442, \u041c\u0430\u0433\u043d\u043e\u043b\u0438\u044f, \u041f\u0435\u0440\u0435\u043a\u0440\u0451\u0441\u0442\u043e\u043a  \u0432 500\u043c: <code>distance &lt;= 500 and (shop='supermarket' or shop='convenience') and brand in ('\u041f\u044f\u0442\u0451\u0440\u043e\u0447\u043a\u0430','\u0412\u043a\u0443\u0441\u0412\u0438\u043b\u043b','\u0414\u0438\u043a\u0441\u0438','\u041c\u0430\u0433\u043d\u0438\u0442','\u041c\u0430\u0433\u043d\u043e\u043b\u0438\u044f','\u041f\u0435\u0440\u0435\u043a\u0440\u0451\u0441\u0442\u043e\u043a')<\/code><\/p>\n<\/li>\n<li>\n<p>\u041f\u0443\u043d\u043a\u0442\u044b \u0432\u044b\u0434\u0430\u0447\u0438 <code>distance &lt;= 1500 and brand in ('Wildberries','Ozon')<\/code><\/p>\n<\/li>\n<li>\n<p>\u0422\u043e\u0440\u0433\u043e\u0432\u044b\u0439 \u0446\u0435\u043d\u0442\u0440 \u0432 1.5\u043a\u043c \u043e\u0442 \u0436\u0438\u043b\u044c\u044f:<code>distance &lt;= 1500 and shop='mall'<\/code><\/p>\n<\/li>\n<\/ul>\n<h2>\u0414\u0435\u0442\u0438 \u0438 \u0443\u0447\u0435\u0431\u0430<\/h2>\n<ul>\n<li>\n<p>\u0414\u0435\u0442\u0441\u043a\u0438\u0439 \u0441\u0430\u0434\u0438\u043a \u0443 \u0434\u043e\u043c\u0430: <code>distance &lt;= 500 and amenity='kindergarten'<\/code><\/p>\n<\/li>\n<li>\n<p>\u0428\u043a\u043e\u043b\u0430 \u0440\u044f\u0434\u043e\u043c: <code>distance &lt;= 1500 and amenity='school'<\/code><\/p>\n<\/li>\n<li>\n<p>\u041a\u043e\u043b\u0435\u0434\u0436 \u043d\u0435\u0434\u0430\u043b\u0435\u043a\u043e: <code>distance &lt;= 1500 and amenity='college'<\/code><\/p>\n<\/li>\n<li>\n<p>\u0412\u0423\u0417 \u043d\u0430 \u0440\u0430\u0439\u043e\u043d\u0435: <code>distance &lt;= 1500 and amenity='university'<\/code><\/p>\n<\/li>\n<\/ul>\n<h2>\u041a\u0430\u0444\u0435, \u0440\u0435\u0441\u0442\u043e\u0440\u0430\u043d\u044b \u0438 \u0442\u043e\u0447\u043a\u0430<\/h2>\n<ul>\n<li>\n<p>\u041a\u0430\u0444\u0435 <code>distance &lt;= 1500 and amenity='cafe'<\/code><\/p>\n<\/li>\n<li>\n<p>\u0420\u0435\u0441\u0442\u043e\u0440\u0430\u043d\u044b: <code>distance &lt;= 1500 and amenity='restairant'<\/code><\/p>\n<\/li>\n<li>\n<p>\u0424\u0430\u0441\u0442\u0444\u0443\u0434:<code>distance &lt;= 1500 and amenity='fast_food'<\/code><\/p>\n<\/li>\n<\/ul>\n<h2>\u041c\u0435\u0434\u0438\u0446\u0438\u043d\u0430<\/h2>\n<ul>\n<li>\n<p>\u0410\u043f\u0442\u0435\u043a\u0430 \u043f\u043e\u0431\u043b\u0438\u0437\u043e\u0441\u0442\u0438:<code>distance &lt;= 500 and amenity='pharmacy' <\/code><\/p>\n<\/li>\n<li>\n<p>\u041f\u043e\u043b\u0438\u043a\u043b\u0438\u043d\u0438\u043a\u0430:<code> distance &lt;= 1500 and amenity='clinic'<\/code><\/p>\n<\/li>\n<li>\n<p>\u0411\u043e\u043b\u044c\u043d\u0438\u0446\u0430:<code> distance &lt;= 1500 and amenity='hospital'<\/code><\/p>\n<\/li>\n<li>\n<p>\u0421\u0442\u043e\u043c\u0430\u0442\u043e\u043b\u043e\u0433 \u0440\u044f\u0434\u043e\u043c:<code> distance &lt;= 1500 and amenity='dentist'<\/code> <\/p>\n<\/li>\n<\/ul>\n<h2>\u0420\u0435\u043b\u0438\u0433\u0438\u044f<\/h2>\n<ul>\n<li>\n<p>\u041c\u0435\u0441\u0442\u043e \u0433\u0434\u0435 \u043f\u0440\u043e\u0432\u043e\u0434\u044f\u0442 \u0441\u043b\u0443\u0436\u0431\u044b: <code> distance &lt;= 1500 and<\/code> <code>amenity='place_of_worship'<\/code><\/p>\n<\/li>\n<li>\n<p>\u041c\u0435\u0447\u0435\u0442\u044c \u0440\u044f\u0434\u043e\u043c:<code> distance &lt;= 1500 and<\/code> <code>amenity='place_of_worship' and<\/code> <code>religion='muslim'<\/code><\/p>\n<\/li>\n<li>\n<p>\u041c\u043e\u0436\u043d\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0434\u0440\u0443\u0433\u0438\u0435 \u043a\u043e\u043d\u0444\u0435\u0441\u0441\u0438\u0438 \u043f\u043e\u0431\u043b\u0438\u0437\u043e\u0441\u0442\u0438, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440: <code>distance &lt;= 1500 and<\/code> <code>amenity='place_of_worship' and religion='christian'<\/code>         \u0438\u043b\u0438 religion=&#8217;buddhist&#8217; religion=&#8217;jewish&#8217; religion=&#8217;hindu&#8217;<\/p>\n<\/li>\n<\/ul>\n<h2>\u041c\u0435\u0441\u0442\u0430 \u0434\u043b\u044f \u043f\u0440\u043e\u0433\u0443\u043b\u043e\u043a<\/h2>\n<ul>\n<li>\n<p>\u041f\u0430\u0440\u043a\u0438 \u0438 \u0441\u0430\u0434\u044b:<code>distance &lt;= 1500 and (leisure='park' or leisure='garden')<\/code><\/p>\n<\/li>\n<li>\n<p>\u041b\u0438\u0431\u043e \u0435\u0441\u043b\u0438 \u0432\u0430\u043c \u0432\u0441\u0435 \u0440\u0430\u0432\u043d\u043e \u0447\u0442\u043e \u043d\u0430 \u043e\u0442\u043a\u0440\u044b\u0442\u043e\u043c \u0432\u043e\u0437\u0434\u0443\u0445\u0435: <code>distance &lt;= 1500 and 'outdoor'=any(categories)<\/code><\/p>\n<\/li>\n<\/ul>\n<h2>\u0421\u043f\u043e\u0440\u0442<\/h2>\n<p>\u0421\u043f\u043e\u0440\u0442\u0446\u0435\u043d\u0442\u0440 \u0438\u043b\u0438 \u0444\u0438\u0442\u043d\u0435\u0441\u0441 \u0446\u0435\u043d\u0442\u0440 \u043f\u043e\u0431\u043b\u0438\u0437\u043e\u0441\u0442\u0438:<code>distance &lt;= 1500 and (leisure='sports_centre' or leisure='fitness_centre')<\/code><\/p>\n<p>\u0418 \u043c\u043e\u0436\u043d\u043e \u0443\u0442\u043e\u0447\u043d\u0438\u0442\u044c \u043a\u0430\u043a\u043e\u0439 \u0441\u043f\u043e\u0440\u0442 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u0435\u0442 <code>distance &lt;= 1500 and (leisure='sports_centre' or leisure='fitness_centre') and 'soccer'=any(sport)<\/code> \u0438\u043b\u0438  fitness, basketball,  tennis, table_tennis,  running,  athletics, volleyball, yoga, ice_hockey, swimming,  gymnastics, hockey, skateboard, chess, futsal,  football, badminton<\/p>\n<h2>\u0414\u043e\u043c\u0430\u0448\u043d\u0438\u0435 \u0436\u0438\u0432\u043e\u0442\u043d\u044b\u0435<\/h2>\n<ul>\n<li>\n<p>\u041f\u043b\u043e\u0449\u0430\u0434\u043a\u0430 \u0434\u043b\u044f \u0432\u044b\u0433\u0443\u043b\u0430 \u0441\u043e\u0431\u0430\u043a \u0431\u0435\u0437 \u043d\u0430\u043c\u043e\u0440\u0434\u043d\u0438\u043a\u043e\u0432: <code>distance &lt;= 1500 and<\/code> <code>leisure='dog_park'<\/code><\/p>\n<\/li>\n<li>\n<p>\u0412\u0435\u0442\u0435\u0440\u0435\u043d\u0430\u0440 \u043f\u043e\u0431\u043b\u0438\u0437\u043e\u0441\u0442\u0438: <code>distance &lt;= 1500 and amenity='veterinary'<\/code><\/p>\n<\/li>\n<li>\n<p>\u041f\u0440\u0438\u044e\u0442 \u0434\u043b\u044f \u0431\u0435\u0437\u0434\u043e\u043c\u043d\u044b\u0445 \u0436\u0438\u0432\u043e\u0442\u043d\u044b\u0445 \u0440\u044f\u0434\u043e\u043c: <code>distance &lt;= 1500 and amenity='animal_shelter'<\/code><\/p>\n<\/li>\n<\/ul>\n<h2>\u0415\u0441\u043b\u0438 \u043d\u0435 \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u0436\u0438\u0442\u044c \u043f\u0440\u044f\u043c\u043e \u0443 &#8230;<\/h2>\n<p>\u0415\u0441\u043b\u0438 \u0432\u0430\u043c \u043d\u0435 \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u0447\u0442\u043e\u0431\u044b \u0447\u0442\u043e-\u0442\u043e \u0431\u044b\u043b\u043e \u0440\u044f\u0434\u043e\u043c \u0441 \u0434\u043e\u043c\u043e\u043c \u0442\u043e \u043c\u043e\u0436\u0435\u0442\u0435 \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u044d\u0442\u043e \u0432 \u043f\u043e\u043b\u0435 &#171;\u0427\u0442\u043e \u043d\u0435 \u0445\u043e\u0442\u0438\u043c:&#187;<\/p>\n<p>\u041d\u0435 \u0436\u0438\u0442\u044c \u0431\u043b\u0438\u0437\u043a\u043e \u043a \u0438\u043d\u0444\u0435\u043a\u0446\u0438\u043e\u043d\u043d\u043e\u0439 \u0431\u043e\u043b\u044c\u043d\u0438\u0446\u0435 \u0438\u043b\u0438 \u043f\u0441\u0438\u0445\u0431\u043e\u043b\u044c\u043d\u0438\u0446\u0435 \u0432 \u043f\u043e\u043b\u0435 &#171;\u0427\u0442\u043e \u043d\u0435 \u0445\u043e\u0442\u0438\u043c:&#187;:  <code>distance &lt; 300 and'_specialHealthcare'=any(categories)<\/code><\/p>\n<p>\u0414\u0430\u043b\u044c\u0448\u0435 100\u043c \u043e\u0442 \u0448\u0443\u043c\u043d\u044b\u0445 \u043c\u0435\u0441\u0442 &#171;\u0427\u0442\u043e \u043d\u0435 \u0445\u043e\u0442\u0438\u043c:&#187;: <code>distance &lt; 100 and '_noisy_place'=any(categories)<\/code><\/p>\n<p>\u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0436\u0438\u0442\u044c \u043d\u0435 \u0431\u043b\u0438\u0436\u0435 300\u043c \u043e\u0442 \u043c\u0435\u0442\u0440\u043e \u0438\u043b\u0438 \u041c\u0426\u041a \u0432 \u043f\u043e\u043b\u0435 &#171;\u0427\u0442\u043e \u043d\u0435 \u0445\u043e\u0442\u0438\u043c:&#187;: <code>distance &lt; 300 and (network='\u041c\u0426\u041a' or network='\u041c\u043e\u0441\u043a\u043e\u0432\u0441\u043a\u0438\u0439 \u043c\u0435\u0442\u0440\u043e\u043f\u043e\u043b\u0438\u0442\u0435\u043d') and 'transport'=any(categories)<\/code><\/p>\n<figure class=\"full-width\">\n<div><figcaption>\u0414\u043e\u043c\u0430 \u043d\u0435 \u0434\u0430\u043b\u044c\u0448\u0435 1500\u043c \u043d\u043e \u0438 \u043d\u0435 \u0431\u043b\u0438\u0436\u0435 300\u043c \u043e\u0442 \u043c\u0435\u0442\u0440\u043e \u0438 \u041c\u0426\u041a<\/figcaption><\/div>\n<\/figure>\n<h2>\u0422\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0438<\/h2>\n<p>\u0411\u0430\u0437\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 DuckDB Wasm \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043f\u0440\u044f\u043c\u043e \u0432 \u0432\u0430\u0448\u0435\u043c \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 \u0438 \u0437\u0430\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0435\u0442 \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0441 GitHub Pages, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0437\u0430\u0432\u0438\u0441\u0438\u0442 \u043e\u0442 \u0441\u0435\u0442\u0435\u0432\u043e\u0433\u043e \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u0438 \u0432\u0430\u0448\u0435\u0433\u043e \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430. \u041d\u043e \u044d\u0442\u043e \u0436\u0435 \u0434\u0430\u0435\u0442 \u0433\u0438\u0431\u043a\u043e\u0441\u0442\u044c \u0438 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0444\u043e\u0440\u043c\u0443\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u0442\u0430\u043a, \u043a\u0430\u043a \u0432\u0430\u043c \u0445\u043e\u0447\u0435\u0442\u0441\u044f, \u043f\u043e\u0447\u0442\u0438 \u043b\u044e\u0431\u043e\u0439 \u0441\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u0438, \u0432\u0435\u0434\u044c DuckDB Wasm &#8212; \u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u0430\u044f \u0430\u043d\u0430\u043b\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0431\u0430\u0437\u0430 \u0434\u0430\u043d\u043d\u044b\u0445. \u0418 \u043d\u0435\u044f\u0432\u043d\u043e\u0435 \u0441\u043b\u0435\u0434\u0441\u0442\u0432\u0438\u0435 \u0438\u0437 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u044b \u0441\u0438\u0441\u0442\u0435\u043c\u044b &#8212; \u043c\u043d\u0435 \u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u043f\u043b\u0430\u0442\u0438\u0442\u044c \u0437\u0430 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u043d\u0435\u043a\u043e\u043c\u0435\u0440\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0438 \u043f\u0440\u0438\u0434\u0443\u043c\u044b\u0432\u0430\u0442\u044c \u0441\u043f\u043e\u0441\u043e\u0431\u044b \u043c\u043e\u043d\u0435\u0442\u0438\u0437\u0430\u0446\u0438\u0438. \u041a\u0430\u043a \u0441\u043b\u0435\u0434\u0441\u0442\u0432\u0438\u0435 \u0434\u043b\u044f \u0432\u0430\u0441 &#8212; \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0442\u0438\u043f\u0438\u0447\u043d\u043e\u0439 \u0434\u043b\u044f \u043e\u043d\u043b\u0430\u0439\u043d \u043a\u0430\u0440\u0442 \u0431\u0438\u0437\u043d\u0435\u0441 \u043c\u043e\u0434\u0435\u043b\u0438 &#171;\u043a\u0442\u043e \u0437\u0430\u043f\u043b\u0430\u0442\u0438\u043b \u0431\u043e\u043b\u044c\u0448\u0435, \u0442\u043e\u0433\u043e \u0438 \u0447\u0430\u0449\u0435 \u0438 \u043b\u0443\u0447\u0448\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u043b\u0438&#187; \u0430 \u043d\u0435 \u0442\u043e \u0447\u0442\u043e \u0438\u0441\u043a\u0430\u043b\u0438. <\/p>\n<p>\u041e\u0442\u0440\u0438\u0441\u043e\u0432\u043a\u0430 \u043a\u0430\u0440\u0442\u044b \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e WebGL \u0432\u0438\u0434\u0436\u0435\u0442\u0430 MapLibre GL JS. \u0414\u0430\u043d\u043d\u044b\u0435 \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043d\u044b \u0441 OpenStreetMap, \u043f\u0440\u0435\u0434\u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0430\u043d\u044b \u0432 OpenStreetMap H3 \u0431\u0430\u0437\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 PostGIS \u0438 \u0432\u044b\u0433\u0440\u0443\u0436\u0435\u043d\u044b \u0432 parquet \u0444\u0430\u0439\u043b\u044b.<\/p>\n<p>\u0418\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043f\u043e \u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043d\u0430\u0439\u0442\u0438 \u0432 \u0432\u0438\u043a\u0438 OpenStreetMap, \u043b\u0438\u0431\u043e \u0441\u043f\u0440\u043e\u0441\u0438\u0442\u044c \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445 \u043a \u0441\u0442\u0430\u0442\u044c\u0435. <\/p>\n<h2>\u0421\u043f\u0430\u0441\u0438\u0431\u043e<\/h2>\n<p>\u041d\u0430\u0434\u0435\u044e\u0441\u044c \u0447\u0442\u043e \u044d\u0442\u043e\u0442 \u043f\u043e\u0438\u0441\u043a\u043e\u0432\u0438\u043a \u0432\u0430\u043c \u043f\u0440\u0438\u0433\u043e\u0434\u0438\u0442\u0441\u044f <a href=\"https:\/\/igor-suhorukov.github.io\/\" rel=\"noopener noreferrer nofollow\">https:\/\/igor-suhorukov.github.io<\/a><\/p>\n<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/774516\/\"> https:\/\/habr.com\/ru\/articles\/774516\/<\/a><br \/><\/br><\/br><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-360422","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/360422","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=360422"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/360422\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=360422"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=360422"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=360422"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}