- Notifications
You must be signed in to change notification settings - Fork0
Import Census boundary GeoJSON into MongoDB
License
NotificationsYou must be signed in to change notification settings
nzherald/mongodb-nz-census-geojson
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Import Census boundary GeoJSON into MongoDB
To run:
Edit the Bower dependencies in bower.json, i.e.:
"dependencies": {"nz_area_units_geojson":"git@github.com:nzherald/nz_area_units_geojson.git#~1.0.0"}
thenbower install
thennode index.js
Importing may take some time.
I've been using QGIS to export Census shapefiles as GeoJSON, and includea bower.json component definition. This script assumes a namingstructure ofnz_[type of area]_geojson/geojson/*.json
.
For example:AreaUnits
Because Github truncates large file lists.
If you use MongoDB and want to do spatial queries, this can be useful.
Pull requests are welcome!
About
Import Census boundary GeoJSON into MongoDB
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.