{"_id":"neighborhood-outlines","_rev":"70-8c2b5fa787d2edf3d218540b2a563b8c","name":"neighborhood-outlines","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"neighborhood-outlines","version":"1.0.0","keywords":[],"author":"","license":"ISC","_id":"neighborhood-outlines@1.0.0","maintainers":[{"name":"everestate","email":"opensource@everestate.com"}],"dist":{"shasum":"967ff82e0a92f72995fad76ffc6e18a2f853366d","tarball":"https://registry.npmjs.org/neighborhood-outlines/-/neighborhood-outlines-1.0.0.tgz","fileCount":234,"integrity":"sha512-Uun7jmmaTHHbeF1xJXIwv+3/uUJJ5X8T+urJopiZosoIMd3Rpj8SJWp2MZ5/rnBB9RcW5KwPa1vQ4uBHf4FzUA==","signatures":[{"sig":"MEYCIQCsHzrri05jpDWCWdPPGOhgvsHS6XQJ1+v5aXhpHwlYEgIhALrboHuD5VbAgLfWgQDCs7qm8r3D+L4wPyVyoG7mf+92","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19164705,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc4mxmCRA9TVsSAnZWagAAoD0P/0c5c3zBMKAdlgLUZhLb\nAcvNMCahGEpvTCAoKlRHRKmonzRodJNN7JEACAv5lArLoFJBlSVRzQMzA2ZZ\n+YHi2B8UC+TXNb5vbfdZP+gahjGvM+8XgnOYdRqWuVJGe36NBWEIE57QEL8x\nhWLug0qpUsqDEBdrazJVyC//61TH6fttfP7A8faurtnsd5J1Ebz8VuviU5m+\nq9WTKh/01A2GeGhOYGrhWd5I3/sOjQav2PEjLHms8wmI30bVqZuU5xWtrx2M\nIHjSLsFRaRwdn9f0XQMP/olzYYs6Bntg9SP0m2bNvYVAbZnQ1LouRZct990A\nlJB2yYVDUbrAswhoQr31OpVyEskSgF8MKp03PxArGwekwRA0lFdcS8XM+ySj\naR/qkbL/YpU9F3nyaIrQbCxlRGxd5ruxoNpGvkLQFCq3W39eyPXEl7tnpx6m\nzlVcm2jX4YA0Cs2FnWEfVq7vqVAkq4Zh2q2q7rc4Tr+/lzJKZ1e4luFfDfcJ\nigrqbGkL0/EMvyTiegaLGd/y4tvFluMScytubfxLoriTHw++/+uo3dkNAZZW\n/T5XZ2RoMNKwtDZ9WvOQKotUjN3fyFlFUPocbiHteF61HEu6s+mkgAz6JsAv\nGfDaR8fR1dUwXOW6L8JgTpTvC6zLZXXbvPwq/AUhrFdDrOREwGwHMrMhpmLG\nSKmi\r\n=OgWC\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"76727c0b7168bfc763a8e6adce7b60f3082e6f68","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"everestate","email":"opensource@everestate.com"},"_npmVersion":"5.6.0","description":"Takes GeoJSON data for neighborhood outlines, and formats it so that we can use them on our maps.","directories":{},"_nodeVersion":"8.10.0","dependencies":{"json-beautify":"1.1.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/neighborhood-outlines_1.0.0_1558342757687_0.8351357516587519","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"neighborhood-outlines","version":"1.0.1","keywords":[],"author":"","license":"ISC","_id":"neighborhood-outlines@1.0.1","maintainers":[{"name":"everestate","email":"opensource@everestate.com"}],"dist":{"shasum":"1ef05914921cc2d9d20a479f5bed44ef90adb9f8","tarball":"https://registry.npmjs.org/neighborhood-outlines/-/neighborhood-outlines-1.0.1.tgz","fileCount":234,"integrity":"sha512-By0gwMp2UDRRHfiCOKjieM9xy/qrWWwrlQyYj64aHty+kIDmDCJPYFIkYLc0c5wYonh70d3paivnWKDyJeqnlg==","signatures":[{"sig":"MEUCIQDaYvT8VQRo5Jte1VwRZKP6pd8zMo4kPToLmtlQIt4JkAIgCkwl2HiRgoceikIaFkAP0pSwIXDOUB+acEEQJnCWNK0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19164705,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc4nJvCRA9TVsSAnZWagAATeMP/10o8A2xd31HHpVrr/Fh\n090TJUGIwKJ595v3iE4pNuhSGo9HF8xnBEhJzRE4GNVAkJqyZA6lOKc8iTUQ\nD0Hz5Ag8TLzvD7XhWtphyfqfbBHO1yEfeyVZMTiSB6mkIsGQm3DIX+kfx2kM\nlaWh+UnrTz0hFxQzY5w5rT/+XMRyFEbWyVi9zMxoiBRlgpAj5QBEeHnm0tvu\n2EAZRFmZ5nkvjq/zT0oa1Ts1+Zi6OeOWjBy8HfVgHCnCgs2Yw9D5nL8EWzLN\nRftm/tfMuv7ElkLucxZ2RQm3DxtcWUYprou+9GXnK3Bnn2FCfBieFRjwvHW0\nwUk+y+iz2Fl7cgKuotNuKiWC08Tturda4kFIeMxjnCeIQL5SjSURuPa5pwoj\nQFH1jRESz4JSSzL9unNItDlRCJiea0OQTKo18k3BAaxjFcSU2CkDUmzai0CI\nUdk0ih4VcrO82e5mK9QPYRIHyr0yEiG6d5rhGUP5CpPWSmaqlDAbtlbrvtEL\nq5f5czq2/Eh6n1OKg2Uf/WZG9Qyf6SwJYHI7PKDzItW9lYm6/LXjeAlgQhRZ\nZCYwEjZp2AXlLo+4rCUiEjnUkpTqclRbz6S96RzaPlX8DqIPWaIJAQcB576g\nuZWGIsr1eRIGagiACy3V9KnvKt8ntiw5pL2ThZRTuF1CSShZZuo+48umAQN8\n2K2A\r\n=k5S9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"586353c005ce0eb2f543e70c598c34457a21f498","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"everestate","email":"opensource@everestate.com"},"_npmVersion":"5.6.0","description":"Takes GeoJSON data for neighborhood outlines, and formats it so that we can use them on our maps.","directories":{},"_nodeVersion":"8.10.0","dependencies":{"json-beautify":"1.1.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/neighborhood-outlines_1.0.1_1558344302146_0.9047464710231787","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"neighborhood-outlines","version":"1.0.2","keywords":[],"author":"","license":"ISC","_id":"neighborhood-outlines@1.0.2","maintainers":[{"name":"everestate","email":"opensource@everestate.com"}],"dist":{"shasum":"298b493393bd6a85034b5b4fbe4f97e3741de86d","tarball":"https://registry.npmjs.org/neighborhood-outlines/-/neighborhood-outlines-1.0.2.tgz","fileCount":265,"integrity":"sha512-lEns3t5f3PqQCxjpV9eIFifpSK8aVSZnn3FtCX36Oq55b8nXISmj7iy28xh3FNsob2e5Uq94CyZdgo7fOGIEEA==","signatures":[{"sig":"MEQCIBR4ncFl9Eub3336Z61dmffM6y/x3KUuemU9rOmRl+s8AiBAc9QczF5y8Cj3rzEaynEMPPr52YAYbIyGorjn9DXpUw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22289607,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdAMpBCRA9TVsSAnZWagAAKQMP/RJzXK5k4WLao07yeYsI\nBZLcHgNyVxndfHLuhIpS/cQubb5g0xkT1XWrqWHqs02R5atiI4PXuj3HdAy2\nKxU2eWZr3DckwDKjEXi1Mj1EM/qC9hub/gwWVp8M8TJnj+5kM+msb4NAfXeP\n/mrJc5nBq6cnk8lR8inAkMY+Zj4Urnejs+oWXuzAnKxwDc/Ybtzy51scwXhf\n4Faz2gD47hIEjfJsVbA2auIHkGHq4i50XOzdOzObjg/qYDtqlBIurAxLMSEj\nKwwZ7oLvMihQZpF6Un06aolkCFgQ8ClquKkYgIM8YatkFgeq+SLJAex0WPE+\nKKne6N6IXOxnJRoizDMORTgfu3N+zwseB4w3JmvFWU1tSstIVLIDct2zuLBO\nHqRTQxRUafe/7A2M+owH3WfFlTY50Yi6xj+VqncENVFNe6Y+EiC4pUhLTpxH\nZ+U92OecPOjwlpNB97ATnVBF3UZ8+iwtrUw3MGfBWac+o8edZrX75r3z5KRP\n86Gy0psQO+xYTttUTAld51wZrNKxJzDEvrGQeuxvp0Az0nOVKEOXDeSJZYQQ\nbZcLuO/vy1rhPaPpmnkP2rUW4zk3gf4RpBsUUkOpjFFZoYeC2y7vO2N3uIkc\n/1CPRsUUCujsntaGMpdWMQy4Lz9P6gY79gyiNVc4wp0gQi5rhmPjdjaBJBkt\nsi5s\r\n=ngCF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"be02850ae6da0576d769956469d13542cfb3e649","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"everestate","email":"opensource@everestate.com"},"_npmVersion":"5.6.0","description":"Takes GeoJSON data for neighborhood outlines, and formats it so that we can use them on our maps.","directories":{},"_nodeVersion":"8.10.0","dependencies":{"json-beautify":"1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"geojson-dissolve":"3.1.0"},"_npmOperationalInternal":{"tmp":"tmp/neighborhood-outlines_1.0.2_1560332864858_0.5657862330098615","host":"s3://npm-registry-packages"}}},"time":{"created":"2019-05-20T08:59:17.687Z","modified":"2024-10-14T08:12:41.899Z","1.0.0":"2019-05-20T08:59:18.036Z","1.0.1":"2019-05-20T09:25:02.515Z","1.0.2":"2019-06-12T09:47:45.237Z"},"license":"ISC","keywords":[],"description":"Takes GeoJSON data for neighborhood outlines, and formats it so that we can use them on our maps.","maintainers":[{"email":"it-einkauf@ziegert-group.com","name":"tech-accounts-everestate"}],"readme":"### Introduction\n\nTakes GeoJSON data for neighborhood outlines, and formats it so that we can use them on our maps.\n\nEach main city (Berlin, Leipzig, Potdam) has a folder containing folders for each of the main districts (Bezirke). \nInside each of these folders is a single JSON file for each of the neighborhoods (Ortsteile).\nYou can choose to pull in an entire city with all the districts, or import each one as needed.\nYou can also pull in the entire city with all the nieghborhoods, or import each one as needed.\n\n```\n// importing a single Bezirk for a city\nimport { bezirkLichtenberg } from 'neighborhoods-outlines/berlin';\n\n// importing ALL the Bezirke for a city\nimport { berlin, leipzig } from 'neighborhood-outlines';\nor\nimport { allBezirks } from 'neighborhood-outlines/berlin;\n\n// importing a selection of Ortsteile for a city\nimport { moabit, wedding, schoeneberg } from 'neighborhood-outlines/berlin';\n\n// importing ALL the Ortsteile for a city\nimport { berlinNeighborhoods, leipzigNeighborhoods } from 'neighborhood-outlines';\nor\nimport { allNeighborhoods } from 'neighborhood-outlines/berlin;\n```\n\n\n### Example Usage\nimport { berlin } from 'neighborhood-outlines';\n\ninside of GoogleMapReact onGoogleApiLoaded handler:\n```\nconst gMap = map.map_;\nconst shapes = berlin.reduce((results, nextNeighborhood) => {\n  if (Array.isArray(nextNeighborhood.coordinates[0])) {\n    nextNeighborhood.coordinates.forEach((coords) => {\n      const shape = new google.maps.Polygon({\n        paths: coords,\n        strokeColor: '#FF0000',\n        strokeOpacity: 0.8,\n        strokeWeight: 2,\n        fillColor: '#FF0000',\n        fillOpacity: 0.35,\n        zIndex: 1000,\n      });\n\n      results.push(shape);\n    });\n  } else {\n    const shape = new google.maps.Polygon({\n      paths: nextNeighborhood.coordinates,\n      strokeColor: '#FF0000',\n      strokeOpacity: 0.8,\n      strokeWeight: 2,\n      fillColor: '#FF0000',\n      fillOpacity: 0.35,\n      zIndex: 1000,\n    });\n\n    results.push(shape);\n  }\n  return results;\n}, []);\n\nshapes.forEach(shape => shape.setMap(gMap));\n```\n\n### Berlin Outlines are from:\nhttps://data.technologiestiftung-berlin.de/dataset/ortsteile/en\n\nTo use them, must follow these guidelines:\n```\nFür die Verwendung der Daten gelten folgende Nutzungsbestimmungen: \nhttp://www.stadtentwicklung.berlin.de/geoinformation/download/nutzIII.pdf - Der Quellenvermerk gemäß §2 lautet \"Geoportal Berlin / [Titel des Datensatzes]\".\n```\n\n### Leipzig Outlines are from: \nhttps://www.leipzig.de/buergerservice-und-verwaltung/unsere-stadt/gebietsgliederung-und-strassennamen/kommunale-gebietsgliederung/#c22822\n\nTo use them, must follow these guidelines:\n```\nFür diese Datensätze gilt die \"Datenlizenz Deutschland\" in der aktuellen Fassung sowie die Nutzungsbedingungen des Open Data-Portals der Stadt Leipzig.\nBei Quellenangabe zitieren Sie bitte wie folgt: \"Stadt Leipzig, Amt für Statistik und Wahlen, [Jahr]\".\n```\n\n### Potsdam Outlines are from:\nhttps://opendata.potsdam.de/explore/dataset/stadtteile/information/?location=10,52.47843,13.13759\n","readmeFilename":"README.md"}