{"componentChunkName":"component---src-templates-blog-post-js","path":"/seattle_boundaries/","result":{"data":{"site":{"siteMetadata":{"title":"tigue.com"}},"markdownRemark":{"id":"6fdaefea-d836-5379-99c7-0c0b880f1149","excerpt":"This year some of my projects needed maps of Seattle, in particular while working with Open Seattle and the City of Seattle. \nSpecifically I have needed City…","html":"<p>This year some of my projects needed maps of Seattle, in particular while working with <a href=\"http://openseattle.org/\">Open Seattle</a> and <a href=\"http://www.seattle.gov/\">the City of Seattle</a>.\nSpecifically I have needed <a href=\"http://www.seattle.gov/cityclerk/municipal-code-and-city-charter/council-districts\">City Council District</a> and census-related maps.\nThe <a href=\"https://www.census.gov/geo/reference/\">census geographic hierarchy</a> has three levels for Seattle:\nCensus Blocks are the smallest areas which are then aggregated into Census Block Groups which in turn are combined into Census Tracks.\nOf course, there are other administrative geographic units into which Seattle has be subdivided: neighborhoods, zips code areas, school districts, etc.</p>\n<p>The City of Seattle actually does a good job of making this information available as shapefiles on its <a href=\"https://data.seattle.gov/\">open data site</a>.\nNonetheless, what web developers want is to have the data extremely readily available in a source code repository (for modern open source, read: a git repo) and in formats that are immediately usable in web apps, specifically GeoJSON and TopoJSON. </p>\n<p>So, in Open Seattle we have been building out such a repository of JSON files and hosting it on GitHub.\nThat repository is called <a href=\"https://github.com/openseattle/seattle-boundaries\">seattle-boundaries</a>.</p>\n<p><a title=\"Some Seattle boundaries\" href='https://who-ocr.github.io/ebola-data/'><span class=\"gatsby-resp-image-wrapper\" style=\"position: relative; display: block; margin-left: auto; margin-right: auto;  max-width: 750px;\">\n      <span class=\"gatsby-resp-image-background-image\" style=\"padding-bottom: 61.86666666666667%; position: relative; bottom: 0; left: 0; background-image: url(&apos;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAMCAIAAADtbgqsAAAACXBIWXMAAAsTAAALEwEAmpwYAAACcElEQVQozx2SSW/aQACF/evbW6X02GPVqkuqRkqTtmoSMMQBY4w38O6Z8YzHCxhsjBdsoGlpr096etL3PmbitzzYeZh4GMdZkdZHE1LWqSSwwjSAlCblYbUtBSsagRoEFNIoKapVfay7jhmjZgSbZYya1F6FAG1yBwc9u577abm069TBGET5WrTDR9hFxK1DOSVzZ5kdfh+YEWplsCqJWIfSDosOXUteNHB2xJZaNKipuHYnHoIjMxbAttS/nayrVru0yHKzPzFPoI5945BoKVH3kUKRdiPgmQ5bOqvIdOuxeyoYs/45jF352fiyW1yf9E/U5ERcMQrABRxs4TiFfAaeziO3PEDGsPRHufe4dtgcS+ps2h9Pd9ZNJX/Mje/l/CrQOQ40jAC3G7KoMJ96/MZhdZJxBl1YbhMq23PT6YfOZGF73ALn5l2rfsiUr7l2pfoblB/OwNqht1cWc6TexTYvwu1wQYZuzVuxLfdX2q1vyRNnyc7pE+oMZbxhX5W9l6K7hPl/2iqIFVly+GtXGShhy+lkbKeGaZn8z2D03hHvFX/zoIaqG0qi4D+8ie4vZFKqUcucT94QrUaDwh9XycKGgWCGmum00SxHkzoU13Cqu4A3aD59145fVx7bmNe6h1dlx3CwAwjuQyFzB/tQiqDGG8HISvNArfC4gPw+1lxTfTTXWGVP3Itq9vakX0bzXrJrGQ4dPOA9J9KOKjmRKdR7SsBZaUGUY6KeUReB7Mynv5QY6MKfyUWtfa6sH7HOKrT7J8nMXRZZ0hy7rMy7lSXrzllPhEDbbIuu3eVxQdSBRiQ3Lpeg6eqsKppgGiTpXyhQanHaRQF+AAAAAElFTkSuQmCC&apos;); background-size: cover; display: block;\"></span>\n  <img class=\"gatsby-resp-image-image\" alt=\"Some Seattle boundaries\" title=\"Some Seattle boundaries\" src=\"/static/93866c1b6583be3dc8dcc872fbce0a80/b8ccf/3-seattles.png\" srcset=\"/static/93866c1b6583be3dc8dcc872fbce0a80/1abb1/3-seattles.png 250w,\n/static/93866c1b6583be3dc8dcc872fbce0a80/7217d/3-seattles.png 500w,\n/static/93866c1b6583be3dc8dcc872fbce0a80/b8ccf/3-seattles.png 750w\" sizes=\"(max-width: 750px) 100vw, 750px\" loading=\"lazy\">\n    </span></a></p>\n<p>As a further convenience, <a href=\"http://sethvincent.com/\">Seth Vincent</a> has packaged up the data for distribution via <a href=\"https://www.npmjs.com/package/seattle-boundaries\">npm</a>.\nAdditionally, he has also taken the maps and made available an API service, <a href=\"http://boundaries.seattle.io/\">boundaries.seattle.io</a>.\nThis service will reverse-geocode a point into a list containing one entry for each map in the repo, where the list items are the GeoJSON feature to which the point belongs.\nFor example, let us say you already know where in town the best place for dim sum is (read: you have a point) and you are curious as to which regions it belongs.\nThe URL to fetch from is:<br>\n<a href=\"http://boundaries.seattle.io/boundaries?long=-122.323334&#x26;lat=47.598109\">http://boundaries.seattle.io/boundaries?long=-122.323334&#x26;lat=47.598109</a></p>","frontmatter":{"title":"Seattle map boundaries repository","date":"December 10, 2015","description":null}}},"pageContext":{"isCreatedByStatefulCreatePages":false,"slug":"/seattle_boundaries/","previous":{"fields":{"slug":"/ebola_data_analysis_completed/"},"frontmatter":{"title":"Ebola open data analysis completed"}},"next":{"fields":{"slug":"/generating_topojson/"},"frontmatter":{"title":"Generating TopoJSON debug"}}}}}