Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change the "bespoke" src type from 2 to 3? #85

Open
hyanwong opened this issue Jul 6, 2024 · 3 comments
Open

Change the "bespoke" src type from 2 to 3? #85

hyanwong opened this issue Jul 6, 2024 · 3 comments

Comments

@hyanwong
Copy link
Member

hyanwong commented Jul 6, 2024

Another thing I just realised: the "src" for images looks like this:

"bespoke": 1,    # for non-OneZoom users with a bespoke tree, e.g. zoos etc, who want to override everything
"onezoom_bespoke": 2,  # E.g. images sent to use by keen sponsors
"onezoom_via_eol": 3,  # Harvested by hand from EoL

It seems to me that harvesting by hand from wikimedia fits the onezoom_via_eol category better than the onezoom_bespoke category. We could easily rename src 3 as onezoom_via_eol_or_wiki.

@hyanwong
Copy link
Member Author

hyanwong commented Jul 6, 2024

We currently have 224 images of type src=3 on OneZoom production, and 58 of src=2. Note that 97 of the src=3 images have a negative src_id: these indicate images that were harvested from the old EoL site, and for which we may no longer have original sources. It would probably be useful to see what these are like when auto-harvested from wikidata:

select ott from images_by_ott where src=3 and src_id < 0;
192005 79864 666133 755898 707202 158666 180968 539588 785488 199564 1041774 542241 54015 1088891 617301 875557 629519 616511 2875936 1083719 408836 388125 1054790 417965 1029474 3869285 303957 3576146 688332 176900 3901209 352307 514020 545199 398376 1026500 718839 259258 262675 199334 780943 657379 531391 273233 1098618 141088 775766 852873 1088076 539291 5140055 347096 350158 517931 282403 1096140 698614 404481 457786 98244 14971 616359 645854 1054790 651929 770315 1012350 852671 343294 84004 872577 572462 985685 103174 283848 755107 3998071 116528 51645 744018 867221 928569 239659 23911 1021984 3902985 140425 2868347 420174 69994 176708 735797 140396 84020 116307 867953 1011010

To look at the originals:

select src_id from images_by_ott where src=3 and src_id < 0;
-34219001 -34077708 -34018340 -33815975 -33786234 -33516585 -33474946 -33375618 -33245408 -33204417 -33183781 -32800590 -32799996 -32795851 -32605415 -32586135 -32437580 -32387778 -31952369 -31937286 -31935090 -31932727 -31929819 -31925837 -31835822 -31791788 -31502609 -31475820 -31421322 -31373991 -31338505 -30250329 -29729148 -29155034 -28667894 -27815419 -27777451 -27758540 -27750837 -27747572 -27745502 -27740364 -27723034 -27715324 -27705665 -27691045 -27689798 -27319726 -27287438 -27287255 -27220137 -27176512 -27169114 -27133215 -27123592 -26892624 -26884019 -26879795 -26866505 -26860476 -26836264 -26820896 -26818208 -26800851 -26795507 -26785819 -26784809 -26784093 -26781256 -26779201 -26779053 -26604260 -26601245 -26595380 -26595227 -25768780 -25641161 -25629886 -25607880 -25594206 -25588548 -25584407 -25580771 -25579148 -22437931 -17435876 -16894212 -9009155 -5826913 -5824711 -5822027 -5821986 -5820490 -2447085 -2006304 -2004061 -1999421

Or in a web page:

<html><body><img src="http://images.onezoom.org/3/001/-34219001.jpg"><img src="http://images.onezoom.org/3/708/-34077708.jpg"><img src="http://images.onezoom.org/3/340/-34018340.jpg"><img src="http://images.onezoom.org/3/975/-33815975.jpg"><img src="http://images.onezoom.org/3/234/-33786234.jpg"><img src="http://images.onezoom.org/3/585/-33516585.jpg"><img src="http://images.onezoom.org/3/946/-33474946.jpg"><img src="http://images.onezoom.org/3/618/-33375618.jpg"><img src="http://images.onezoom.org/3/408/-33245408.jpg"><img src="http://images.onezoom.org/3/417/-33204417.jpg"><img src="http://images.onezoom.org/3/781/-33183781.jpg"><img src="http://images.onezoom.org/3/590/-32800590.jpg"><img src="http://images.onezoom.org/3/996/-32799996.jpg"><img src="http://images.onezoom.org/3/851/-32795851.jpg"><img src="http://images.onezoom.org/3/415/-32605415.jpg"><img src="http://images.onezoom.org/3/135/-32586135.jpg"><img src="http://images.onezoom.org/3/580/-32437580.jpg"><img src="http://images.onezoom.org/3/778/-32387778.jpg"><img src="http://images.onezoom.org/3/369/-31952369.jpg"><img src="http://images.onezoom.org/3/286/-31937286.jpg"><img src="http://images.onezoom.org/3/090/-31935090.jpg"><img src="http://images.onezoom.org/3/727/-31932727.jpg"><img src="http://images.onezoom.org/3/819/-31929819.jpg"><img src="http://images.onezoom.org/3/837/-31925837.jpg"><img src="http://images.onezoom.org/3/822/-31835822.jpg"><img src="http://images.onezoom.org/3/788/-31791788.jpg"><img src="http://images.onezoom.org/3/609/-31502609.jpg"><img src="http://images.onezoom.org/3/820/-31475820.jpg"><img src="http://images.onezoom.org/3/322/-31421322.jpg"><img src="http://images.onezoom.org/3/991/-31373991.jpg"><img src="http://images.onezoom.org/3/505/-31338505.jpg"><img src="http://images.onezoom.org/3/329/-30250329.jpg"><img src="http://images.onezoom.org/3/148/-29729148.jpg"><img src="http://images.onezoom.org/3/034/-29155034.jpg"><img src="http://images.onezoom.org/3/894/-28667894.jpg"><img src="http://images.onezoom.org/3/419/-27815419.jpg"><img src="http://images.onezoom.org/3/451/-27777451.jpg"><img src="http://images.onezoom.org/3/540/-27758540.jpg"><img src="http://images.onezoom.org/3/837/-27750837.jpg"><img src="http://images.onezoom.org/3/572/-27747572.jpg"><img src="http://images.onezoom.org/3/502/-27745502.jpg"><img src="http://images.onezoom.org/3/364/-27740364.jpg"><img src="http://images.onezoom.org/3/034/-27723034.jpg"><img src="http://images.onezoom.org/3/324/-27715324.jpg"><img src="http://images.onezoom.org/3/665/-27705665.jpg"><img src="http://images.onezoom.org/3/045/-27691045.jpg"><img src="http://images.onezoom.org/3/798/-27689798.jpg"><img src="http://images.onezoom.org/3/726/-27319726.jpg"><img src="http://images.onezoom.org/3/438/-27287438.jpg"><img src="http://images.onezoom.org/3/255/-27287255.jpg"><img src="http://images.onezoom.org/3/137/-27220137.jpg"><img src="http://images.onezoom.org/3/512/-27176512.jpg"><img src="http://images.onezoom.org/3/114/-27169114.jpg"><img src="http://images.onezoom.org/3/215/-27133215.jpg"><img src="http://images.onezoom.org/3/592/-27123592.jpg"><img src="http://images.onezoom.org/3/624/-26892624.jpg"><img src="http://images.onezoom.org/3/019/-26884019.jpg"><img src="http://images.onezoom.org/3/795/-26879795.jpg"><img src="http://images.onezoom.org/3/505/-26866505.jpg"><img src="http://images.onezoom.org/3/476/-26860476.jpg"><img src="http://images.onezoom.org/3/264/-26836264.jpg"><img src="http://images.onezoom.org/3/896/-26820896.jpg"><img src="http://images.onezoom.org/3/208/-26818208.jpg"><img src="http://images.onezoom.org/3/851/-26800851.jpg"><img src="http://images.onezoom.org/3/507/-26795507.jpg"><img src="http://images.onezoom.org/3/819/-26785819.jpg"><img src="http://images.onezoom.org/3/809/-26784809.jpg"><img src="http://images.onezoom.org/3/093/-26784093.jpg"><img src="http://images.onezoom.org/3/256/-26781256.jpg"><img src="http://images.onezoom.org/3/201/-26779201.jpg"><img src="http://images.onezoom.org/3/053/-26779053.jpg"><img src="http://images.onezoom.org/3/260/-26604260.jpg"><img src="http://images.onezoom.org/3/245/-26601245.jpg"><img src="http://images.onezoom.org/3/380/-26595380.jpg"><img src="http://images.onezoom.org/3/227/-26595227.jpg"><img src="http://images.onezoom.org/3/780/-25768780.jpg"><img src="http://images.onezoom.org/3/161/-25641161.jpg"><img src="http://images.onezoom.org/3/886/-25629886.jpg"><img src="http://images.onezoom.org/3/880/-25607880.jpg"><img src="http://images.onezoom.org/3/206/-25594206.jpg"><img src="http://images.onezoom.org/3/548/-25588548.jpg"><img src="http://images.onezoom.org/3/407/-25584407.jpg"><img src="http://images.onezoom.org/3/771/-25580771.jpg"><img src="http://images.onezoom.org/3/148/-25579148.jpg"><img src="http://images.onezoom.org/3/931/-22437931.jpg"><img src="http://images.onezoom.org/3/876/-17435876.jpg"><img src="http://images.onezoom.org/3/212/-16894212.jpg"><img src="http://images.onezoom.org/3/155/-9009155.jpg"><img src="http://images.onezoom.org/3/913/-5826913.jpg"><img src="http://images.onezoom.org/3/711/-5824711.jpg"><img src="http://images.onezoom.org/3/027/-5822027.jpg"><img src="http://images.onezoom.org/3/986/-5821986.jpg"><img src="http://images.onezoom.org/3/490/-5820490.jpg"><img src="http://images.onezoom.org/3/085/-2447085.jpg"><img src="http://images.onezoom.org/3/304/-2006304.jpg"><img src="http://images.onezoom.org/3/061/-2004061.jpg"><img src="http://images.onezoom.org/3/421/-1999421.jpg"></body></html>

(here they are)

Screenshot 2024-07-06 at 08 34 01

@hyanwong
Copy link
Member Author

hyanwong commented Jul 6, 2024

Out of interest, I ran the current wiki harvester on these OTTs, and the results are pretty great!

Screenshot 2024-07-06 at 08 53 25

@hyanwong
Copy link
Member Author

hyanwong commented Jul 8, 2024

Hmm, actually, type 3 uses the EoL media content UID for the image filename, so I don't think that's a good idea.

We could assign (say) src=9 to all the current "src=3" images 4, and implement a new (say) "src=6" category: "bespoke_wiki", which uses the qID for the file names. But that would mean we could only have a single image per species from wikimedia, which isn't ideal.

I guess the real issue here is whether we want images that are "onezoom_bespoke" (i.e. src=2) to contain items from hand-harvesting. The idea for onezoom_bespoke was to contain images e.g. sent to us by experts, so they wouldn't necessarily have to be cc- or pd- images (if e.g. the artist explicitly have OneZoom permission to use). But in practice the onezoom_bespoke images are half-full of wikimedia commons crops anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant