How to load .xyz from url ?
See original GitHub issueI am trying to load .xyz from URL. I have tested a Dropbox url and a Slack url but Mol* does not show the molecule. Could you suggest how to load .xyz from url ?
The log at the bottom of the webpage shows the following
10:58:29 Failed to download data. Possible reasons: Resource is not available, or CORS is not allowed on the server.
10:58:29 Error: Invalid data cell.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
XYZ - OpenLayers
The XYZ source is used for tile data that is accessed through URLs that include a zoom level and tile grid x/y coordinates....
Read more >Generate own XYZ Tile (MBTiles) - which URL?
Rename the mbtiles file, changing its file extentsion to .zip. You can then open it, and upload the contents. – Tom Chadwin. Apr...
Read more >Adding XYZ Tiles to a QGIS Project
In the XYZ Connection window, provide a name appropriate for the service you are connecting to, and enter the URL of the tile...
Read more >3 - Stack Overflow
Change URL from www.xyz.com/abc.php to www.xyz.com/abc [closed] · Ask Question. Asked 4 years, 8 months ...
Read more >Discover XYZ Tile layers in ArcGIS platform - Esri BeLux
They can be found on the website Cartesius, where they are also directly available in an ArcGIS Online environment. They all follow the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi @jiucenglou, CORS is a set of security restriction in web browsers that allow you to safely browse the internet. Command line tools like wget or curl do not have/need such protections. In addition to the services @dsehnal suggested there is also Github pages which is essentially free (if you don’t have much traffic).
In principal you can write a web application that authenticates with Slack or Dropbox and get the files from there but that means visitors need to have an account with Slack or Dropbox and it is outside the scope of Mol*.
Well, the Dropbox URL doesn’t point to the file itself and the Slack URL requires a login to access, so neither of these will work. If you want CORS, you might have to use Google Cloud or Amazon S3 or something along the lines where you can allow CORS.