Previous :: Next Topic |
Author |
Message |
Joey verrry senior member


Joined: 05 Jun 2005 Posts: 2686 | TRs | Pics Location: Redmond |
 |
Joey
verrry senior member
|
 Sat Oct 09, 2021 8:18 am
|
|
|
I checked Google Drive, iCloud and Flickr.
Unless I missed something, there is not a way to get a link ending in .jpg from any of those sites.
I'm working on some new map software that requires links like https://_________.jpg
Yes, I could host those jpgs on my own server but due to the nature of the new tech I am building I would prefer to find a cloud service that provides links ending in .jpg
|
Back to top |
|
 |
Randito Snarky Member


Joined: 27 Jul 2008 Posts: 9082 | TRs | Pics Location: Bellevue at the moment. |
 |
Randito
Snarky Member
|
 Sat Oct 09, 2021 8:45 am
|
|
|
Have you considered something like Microsoft Azure or Amazon Web Services?
zimmertr
zimmertr
|
Back to top |
|
 |
zimmertr TJ Zimmerman


Joined: 24 Jun 2018 Posts: 879 | TRs | Pics Location: Newcastle |
 |
zimmertr
TJ Zimmerman
|
 Sat Oct 09, 2021 9:26 am
|
|
|
AWS S3 or some other object storage platform is probably what you're looking for if you wanna be legit. Imgur could suffice if it's a small personal project that won't scale very large.
|
Back to top |
|
 |
Joey verrry senior member


Joined: 05 Jun 2005 Posts: 2686 | TRs | Pics Location: Redmond |
 |
Joey
verrry senior member
|
 Sat Oct 09, 2021 9:38 am
|
|
|
No, I have not considered Microsoft Azure or Amazon Web Services.
Too much learning curve.
My need is for a site where anyone can upload a jpg and get back a ".jpg" link
I just tested Imgur.
Yay - I can get a jpg link.
Thanks for the tip. Exactly what I was looking for.
GeoJPG teaser:
https://i.imgur.com/pwHcij4.jpeg
The original file is 15MB
Imgur compressed it to a bit under 5MB with no apparent loss to image quality.
zimmertr
zimmertr
|
Back to top |
|
 |
Tom Admin


Joined: 15 Dec 2001 Posts: 17438 | TRs | Pics
|
 |
Tom
Admin
|
 Sat Oct 09, 2021 11:55 am
|
|
|
Cyclopath, Joey
|
Back to top |
|
 |
domaz Member


Joined: 24 Jun 2006 Posts: 94 | TRs | Pics Location: Tacoma |
 |
domaz
Member
|
 Thu Feb 03, 2022 10:37 pm
|
|
|
I have to say this is kind of a silly software limitation. The file type is determined by the return Content-Type header in HTTP protocol, not the extension in the URL! That's why cloud services don't end with .jpg, there is no need for it.
|
Back to top |
|
 |
Joey verrry senior member


Joined: 05 Jun 2005 Posts: 2686 | TRs | Pics Location: Redmond |
 |
Joey
verrry senior member
|
 Fri Feb 04, 2022 3:44 pm
|
|
|
domaz wrote: |
I have to say this is kind of a silly software limitation. The file type is determined by the return Content-Type header in HTTP protocol, not the extension in the URL! That's why cloud services don't end with .jpg, there is no need for it. |
I phrased it that way since I am feeding the url to the Leaflet map API and I thought that the API might require the url to end in .jpg. Turns out my guess was wrong.
This file in the google cloud
https://drive.google.com/uc?id=10YD7sJI_HHDXmQM4h96alvyGIU53nGYZ
is a jpg and the Leaflet map API can display it as a georeferenced overlay with no problem.
Currently the GeoJPG pilot project is paused while I finish other work. But when I get back to that project I will explore hosting the georeferenced jpg maps I make in google's cloud.
For anyone curious, here is a 2 page PDF with a GeoJPG overview.
https://geojpg.com/website/GeoJPG-maps-offline-browser.pdf
|
Back to top |
|
 |
domaz Member


Joined: 24 Jun 2006 Posts: 94 | TRs | Pics Location: Tacoma |
 |
domaz
Member
|
 Tue Feb 08, 2022 2:37 pm
|
|
|
Joey wrote: | domaz wrote: |
I have to say this is kind of a silly software limitation. The file type is determined by the return Content-Type header in HTTP protocol, not the extension in the URL! That's why cloud services don't end with .jpg, there is no need for it. |
I phrased it that way since I am feeding the url to the Leaflet map API and I thought that the API might require the url to end in .jpg. Turns out my guess was wrong.
This file in the google cloud
https://drive.google.com/uc?id=10YD7sJI_HHDXmQM4h96alvyGIU53nGYZ
is a jpg and the Leaflet map API can display it as a georeferenced overlay with no problem.
Currently the GeoJPG pilot project is paused while I finish other work. But when I get back to that project I will explore hosting the georeferenced jpg maps I make in google's cloud.
For anyone curious, here is a 2 page PDF with a GeoJPG overview.
https://geojpg.com/website/GeoJPG-maps-offline-browser.pdf |
Sounds like an interesting project. I went done this road long ago on ancient phones.. I even made a Windows Mobile App for viewing USGS DRG (GeoTIFFs). As far as USGS Data goes I still like the ease of download of the UW GIS Department clipped DRG quads. It might be one option for you to consider at least, although there might be more up to date options now.
|
Back to top |
|
 |
Dalekz Member


Joined: 01 Mar 2002 Posts: 487 | TRs | Pics
|
 |
Dalekz
Member
|
 Wed Mar 02, 2022 11:19 am
|
|
|
|
Back to top |
|
 |
|