Giter Club home page Giter Club logo

sfhistory's Introduction

To get going:

git clone git://github.com/danvk/sfhistory.git
cd sfhistory
dev_appserver.py viewer

Then hit up http://localhost:8080/


If you want to do your own geocoding, you'll want to do this.
gunzip -c records.pickle.gz > records.pickle
tar -xzf geocache.tgz
echo "records.pickle\ngeocache\n*.pyc\nimages" >> .git/info/exclude

These files could be checked in directly, but that seemed wasteful.

Python can read the pickle.gz file directly, but this winds up being an order
of magnitude slower than reading the uncompressed version.


To start up a new local AppEngine instance:
- (open up the GoogleAppEngineLauncher and start up the app)
- Run "./upload_to_appengine.py" and Ctrl-C when you're ready
- Hit up http://localhost:8080/


Here's the sequence to bring up an instance of the viewer app:

# Geocode all images that can be geocoded:
$ ./generate-geocodes.py --geocode --maps_key (your key) > /tmp/geocodes.txt

# Convert these geocodes into JSON:
$ ./generate-js.py > viewer/lat-lons.js

# Upload JSON to AppEngine
$ cat /tmp/password | appcfg.py update --passin --email [email protected] viewer

# Upload (new) thumbnail images to AppEngine
$ ./upload-thumbnails.py

sfhistory's People

Contributors

danvk avatar ravejk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

sfhistory's Issues

Clicking between images should exit slide show

It currently does nothing. This is particularly problematic on the first image, where there's a large blank area to the left. And it's a disaster on small screens, where there's no empty space to click on above or below the slideshow.

Possible to make Stuyvesant town searchable?

I'm told my family owned a grocery store at 535 East 17th st in 1917. As far as I can tell this address was located in what is now Stuyvesant Town. I believe Stuyvesant Town was only constructed post WWII, so the streets continued on uninterrupted. Would it be possible to make that area of NYC searchable for the the time prior to Stuyvesant Town construction?

Slideshow is broken

Clicking the right arrow in the slideshow generates this error:

Uncaught TypeError: Failed to execute 'animate' on 'Element': Valid arities are: 1, but 0 arguments provided.

According to Stack Overflow, this is caused by Element.prototype.animate being part of a new spec from the W3C. The error is coming from inside of jQuery/jCarousel, so perhaps updating them will fix the bug.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.