{"id":13707373,"url":"https://github.com/datamade/second-city-zoning","last_synced_at":"2025-09-13T01:22:47.458Z","repository":{"id":4289426,"uuid":"5419447","full_name":"datamade/second-city-zoning","owner":"datamade","description":"🏙 2nd City Zoning is an interactive map that lets you find out how your building is zoned, learn where to locate your business and explore zoning patterns throughout Chicago","archived":false,"fork":false,"pushed_at":"2025-05-05T19:35:17.000Z","size":87344,"stargazers_count":51,"open_issues_count":3,"forks_count":23,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-05-20T07:03:37.337Z","etag":null,"topics":["chicago","city-zoning","javascript"],"latest_commit_sha":null,"homepage":"https://secondcityzoning.org","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/datamade.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2012-08-14T22:32:35.000Z","updated_at":"2025-05-05T19:34:53.000Z","dependencies_parsed_at":"2023-01-11T16:35:33.324Z","dependency_job_id":"f5e8f9fe-a145-404b-b20d-adba15831048","html_url":"https://github.com/datamade/second-city-zoning","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/datamade/second-city-zoning","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datamade%2Fsecond-city-zoning","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datamade%2Fsecond-city-zoning/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datamade%2Fsecond-city-zoning/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datamade%2Fsecond-city-zoning/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/datamade","download_url":"https://codeload.github.com/datamade/second-city-zoning/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datamade%2Fsecond-city-zoning/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262357554,"owners_count":23298463,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chicago","city-zoning","javascript"],"created_at":"2024-08-02T22:01:29.323Z","updated_at":"2025-06-28T01:06:12.567Z","avatar_url":"https://github.com/datamade.png","language":"HTML","funding_links":[],"categories":["HTML"],"sub_categories":[],"readme":"![second city zoning](https://raw.githubusercontent.com/datamade/second-city-zoning/main/images/screenshot-1.png)\n\n# 2nd City Zoning\n\n2nd City Zoning is an interactive map that lets you:\n\n-   find out **how your building is zoned**\n-   learn **where to locate your business**\n-   explore **zoning patterns** throughout the city\n\nTo make Chicago’s zoning code digestible by humans, we took inspiration\nfrom one of our favorite games: [Sim City 2000](http://en.wikipedia.org/wiki/SimCity_2000). It started with the color scheme and from there we got a little carried away. Graphics, sounds, music, oh my.\n\n2nd City Zoning is entirely [open\nsource](http://secondcityzoning.org/about#code) and built with [open data](http://secondcityzoning.org/about#data).\n\n## Running locally\n\n```bash\ngit clone git@github.com:datamade/second-city-zoning.git\ncd site_template\ngem install jekyll\njekyll serve -w\n  \n```\n\nThen navigate to http://localhost:5000/\n\n### Run in a Docker container\n\nIf you have Docker installed, can avoid some of the hassle of installing Jekyll and/or Ruby by pulling from the offical Jekyll image, installing dependancies, and serving locally. \n\nThis is especially handy if you're on Windows machine:\n\n```bash\ndocker compose up\n```\n\n## Dependencies\n\n* [Jekyll](http://jekyllrb.com)\n* [MapLibre-GL JS](https://maplibre.org/maplibre-gl-js/docs/)\n* [jQuery](http://jquery.org)\n* [jQuery Address](http://www.asual.com/jquery/address)\n* [Bootstrap](http://getbootstrap.com)\n\n## Updating Zoning data\n\nThe City of Chicago publishes its latest Zoning information on an ArcGIS server. Here's the steps to update this site, which we do annualy:\n\n1. Setup and install [`pyesridump`](https://github.com/openaddresses/pyesridump)\n2. Run `esri2geojson https://gisapps.cityofchicago.org/arcgis/rest/services/ExternalApps/Zoning/MapServer/1 chicago-zoning.geojson\n3. Use `ogr2ogr` to simplify the geometries and reduce the size. This can be done via the command line or with QGIS. We use a tolerance of `0.00003`\n4. Use https://open-innovations.github.io/geojson-minify/ to remove properties we don't use. We only make use of `zone_type`, `zone_class`, and `ordinance_num`\n5. `gzip` the GeoJSON file and place in the `/data` folder.\n\n## Team\n\n* Derek Eder\n* Juan-Pablo Velez\n* Monkruman St. Jules\n\n## Errors / Bugs\n\nIf something is not behaving intuitively, it is a bug, and should be reported.\nReport it here: https://github.com/datamade/second-city-zoning/issues\n\n\n## Note on Patches/Pull Requests\n \n* Fork the project.\n* Make your feature addition or bug fix.\n* Commit, do not mess with rakefile, version, or history.\n* Send a pull request. Bonus points for topic branches.\n\n## Copyright\n\nCopyright (c) 2013-2025 Derek Eder and Juan-Pablo Velez of Open City. Released under the MIT License.\n\n[See LICENSE for details](https://github.com/datamade/second-city-zoning/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatamade%2Fsecond-city-zoning","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatamade%2Fsecond-city-zoning","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatamade%2Fsecond-city-zoning/lists"}