danvk / sfhistory Goto Github PK
View Code? Open in Web Editor NEWMaking a map of historical SF photos
Making a map of historical SF photos
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
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.
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?
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.