承接 web6/vrto-downloader 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

web6/vrto-downloader

Composer 安装命令:

composer require web6/vrto-downloader

包简介

Download panorama images from vrto.me

README 文档

README

This tools downloads panorama images hosted on VRto.me. We use it to create offline panoramas using krpano.

Install

There are three ways to install this tool.

Composer

You can add this library as a depedency to a project already using composer.

$ composer require web6/vrto-downloader

GIT

You can download this library as a standalone tool and clone it anywhere. This way you will be alble to have all the project history and will be able to make future updates easily.

$ git clone https://github.com/web6-fr/vrto-downloader.git
$ cd vrto-downloader
$ composer install

ZIP ARCHICE

You can download the zip archive of this library and extract it anywhere on your computer. than run :

$ cd /path/to/vrto-downloader
$ composer install

Usage

Find the VRto.me panoeama tiles URL

To do this I usualy go to the sources panel in the development tools inspector and find an image used by the panorama.

How to find the tiles URL

Than I copy the part of the URL ending with .tiles. For example in this screenshot the URL is :

https://vrto.me/_office/files/2/projects/blackhaus_-_panama_house/panos/panama_gear_high_res_gear01jpg.tiles/d/l1/1/l1_d_1_1.jpg?t=2016-12-12_2241&s=generated

And the retained tiles URL is:

https://vrto.me/_office/files/2/projects/blackhaus_-_panama_house/panos/panama_gear_high_res_gear01jpg.tiles

Create a php script

Create a PHP script with your won configuration :

include_once('path/to/vrto-downloader/vendor/autoload.php');

$panoramaTilesUrl = 'https://vrto.me/_office/files/2/projects/blackhaus_-_panama_house/panos/panama_gear_high_res_gear01jpg.tiles';

$targetFolder = '/path/to/target/folder';

$options = array(
    'keepFolderStructure' => true
);

try {
    $downloader = new \W6\VrtoDownloader\VrtoDownloader( $panoramaTilesUrl, $targetFolder );
    $downloader->execute();
} catch ( \W6\VrtoDownloader\VrtoDownloaderException $e ) {
    die( 'Error : ' . $e->getMessage() );
}

统计信息

  • 总下载量: 7
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2019-05-28

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固