-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnotes.txt
38 lines (19 loc) · 1.67 KB
/
notes.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
Trying to get the panorama with the right date
I think the best we can do might be to ask for "CLOSEST" panorama rather than "BEST" - https://developers.google.com/maps/documentation/javascript/reference#StreetViewPreference
I think you have to do slightly lower level js to use that,
Oh no, there are ways to specify the exact pano id... have to find it in the url?
YES!
https://www.google.com/maps/@38.9803796,-77.0291561,3a,75y,140.86h,83.94t/data=!3m7!1e1!3m5!1sCElgvzaE8lod5sDDGrwMLw!2e0!5s20090701T000000!7i13312!8i6656
The pano ID is CElgvzaE8lod5sDDGrwMLw - it's prefixed "1s" for some reason.
AAwwwwww. The marker doesn't show up when you specify the panorama ID. WTF.
OK, it works if you set the position FIRST and then add the Marker and then set the Pano ID. Fine, be that way.
Search:
Whoosh in Python
AWS lambda: make a zip file of my module structure and virtualenv/lib/python2.7/site-packages.
Wymer URL database search terms: DESCRIP minus "John P. Wymer's description" and the sentence about the page? Oh, but it's saying stuff about all of the photos on the page, so maybe just TITLE?
OBJECTID: just first 4 digits? make searchable with or without space
Need to think about synonyms - J will make "places of worship" category, including "priories", "churches", synagogues, monasteries, etc... (maybe notice terms that are important in a category, and suggest other ones?)
1st vs first, etc, I vs Eye, make sure I isn't a stopword in the input
Image squishes... Maybe directly manipulate the max-height and max-width of the image?
Or maybe look at the images and set their dimensions in the json file.
https://jsfiddle.net/gnqdbLLs/ - side by side image zoom version