Replies: 3 comments
-
These are great questions! My understanding on this today is that
So I don't think that having them in this repo is something I want to do... Worth mentioning is that GitHub has some guidelines on how big a repo can be and how to check your file size - currently I believe they discourage repos above 1GB, and things start breaking if you test those limits. We have close to 7000 logo-d items in the NSI right now, so as long as we are smart about file sizes, it would be under the limit for a while, but it's something to think about. Related issues in the iD repo (toxic OSM community trigger warning): |
Beta Was this translation helpful? Give feedback.
-
Thanks for the detailed response. I've decided to host the images on my own server. |
Beta Was this translation helpful? Give feedback.
-
@bryceco, in case it helps for your purposes, each of the images coming from Wikimedia Commons is freely licensed. In fact, most of them are in the public domain, subject only to trademark restrictions, due to simplicity. The Facebook and Twitter images are a mixed bag: some may also be too simple to be eligible for copyright, but there’s no automated way to filter down to just those images. (That’s one more argument in favor of the way NSI is currently doing things, but you may find the public domain images more comfortable to work with.)
The Facebook and Twitter images are in JPEG format, while the Commons images are a mix of SVG, PNG, and occasionally JPEG. If you encounter an SVG image from Commons, Commons has an API method for getting PNG thumbnails of a batch of images at a given size. I’d trust Commons’s SVG rasterizer over any other rasterizer because Commons contributors generally ensure that the rasterized SVG previews look good on the site. |
Beta Was this translation helpful? Give feedback.
-
Having the imageURL is great, but for me relying on a URL has a few drawbacks:
Questions:
Beta Was this translation helpful? Give feedback.
All reactions