npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@taotieh/cli_converter_s3tic

v0.1.7

Published

静态化超图S3M缓存场景服务路径

Downloads

3

Readme

cli-template

简介

这是一个命令行工具, 用于将超图三维场景文件包转换成兼容 iServer 发布路径风格的文件组织方式.

本工具仅用于摆脱静态场景发布对于 iServer 的依赖.

使用

先通过 iDesktop 将场景组织好, 即制作好包含三维切片缓存的工作空间. 保存为 .sxwu 文件类型. 后续脚本通过读取该 xml 文件组织图层目录结构.

执行命令, 将生产与 iServer 发布路径一致的目录结构.

s3tic -i ./1_import/scene.sxwu -o ./2_output
➜  20201126_锦城广场S3M缓存工程 s3tic -i ./1_import/scene.sxwu -o ./2_output
ℹ { input: './1_import/scene.sxwu', output: './2_output' }
[场景-0]: scene_cache
  [图层-0]: 结构框架_结构_中区_B1@NewDatasource
  [图层-1]: 楼梯_建筑_北区_B2@NewDatasource
  ...

注意事项

超图Cesium 在请求 iServer 数据前会发送一个 POST login 请求到服务器, 试图获取一个 token.

故静态资源发布服务(IIS 或 Nginx)需要配置一个特殊行为, 即响应该 POST 请求. 返回对应路径的文件即可.