All Projects → enam → neighborhoods

enam / neighborhoods

Licence: other
Crowd sourcing neighborhood boundaries, stories, and descriptions. Making pretty maps.

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
CSS
56736 projects
PHP
23972 projects - #3 most used programming language
ApacheConf
554 projects

#neighborhoods

Crowd sourcing neighborhood boundaries, stories, and descriptions. Making pretty maps.

This project is designed to collect boundaries and descriptions of neighborhoods and the like, and immediatley make them available for cartographic presentation and exploration.

Live Site

###Steps to Configure

  1. Create a CartoDB account. -add a table. ~~ easiest ~~ One way would be to dowload the shapefile from the Live Site, add it to your cartoDB account, and empty it. That way you would get the field names and data types rolled right over. However a couple items need updateing. The "description" field gets imported as "descriptio" with no "n". Needs updating in the cartodb table. Also, the "flag" field needs data type changed back to boolean. Not really sure why it doesn't import correctly...but there it is.

  2. Change the configuration settings in the top bit of hoodscript.js.

  3. Update the API key and such in cartodbProxy.php. AND move this file somewhere above your web root.

  4. Update the include path in add.php, flag.php, and heart.php for wherever you put those files on your server.

  5. Change googleanalytics.js to use your analytics code if you want, or remove the script that includes it from line 215 of index.html.

  6. Grab a beer. Don't know if you have a brewery nearby? Check here :)

FYI - This project cannot run on gh-pages as it requires php to run the proxy to CartoDB.

###Thanks! ###These are the things in the toolbox.

  1. CartoDB
  2. Leaflet
  3. Bootstrap
  4. Leaflet Draw!
  5. Slim Scroll
  6. Whole project was inspired by Bostonography.

###author

  • Nick Martinelli Please contact me if you do make use, or improve the code, because there is a lot that could use improving, and I would love any tips! I'd also really enjoy seeing what people do.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].