定制 lizmap/lizmap-wps-web-client 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

lizmap/lizmap-wps-web-client

Composer 安装命令:

composer require lizmap/lizmap-wps-web-client

包简介

Jelix modules to add WPS Web Client.

README 文档

README

🔤 Lint 🚀 Release Packagist

Lizmap WPS Web Client is a Lizmap module to add a WPS panel into Lizmap Web Client.

This is an example showing the QGIS Processing Buffer algorithm, exposed as a WPS algorithm within Lizmap Web Client:

Screenshot

Screenshot

Demo gif

It's also providing another panel showing you the results which have been executed on the Lizmap instance.

Installation

Since version 0.1.1, it is recommended to install the module with Composer, the package manager for PHP. If you can't use it or if you are using Lizmap 3.3 or lower, use the manual way to install the module (jump to the corresponding section below)

Automatic installation with Composer and lizmap 3.4 or higher

  • into lizmap/my-packages, create the file composer.json (if it doesn't exist) by copying the file composer.json.dist, and install the module with Composer:
cp -n lizmap/my-packages/composer.json.dist lizmap/my-packages/composer.json
composer require --working-dir=lizmap/my-packages "lizmap/lizmap-wps-web-client"
  • If you are using Lizmap 3.6 or higher, execute
php lizmap/install/configurator.php wps
  • Then for any version, execute Lizmap install scripts into lizmap/install/ :
php lizmap/install/installer.php
./lizmap/install/clean_vartmp.sh
./lizmap/install/set_rights.sh

Go to the "Configuration" section.

Manual installation into lizmap 3.3 or 3.4 without Composer

  • Download the zip archive from the release page into GitHub.
  • Extract files from the archive and copy the directory wps into lizmap/lizmap-modules/ of Lizmap.
  • Edit the file lizmap/var/config/localconfig.ini.php to add this into the [modules] section
wps.access=2
  • Then execute Lizmap install scripts into lizmap/install/ :
php lizmap/install/installer.php
./lizmap/install/clean_vartmp.sh
./lizmap/install/set_rights.sh

configuration

Add a section [wps] in your localconfig.ini.php and add the variables:

[wps]
wps_root_url=http://wps:8080
wps_rootDirectories=/projects/wps

redis_host=localhost
redis_port=6379
redis_key_prefix=lzmwps
redis_db=1
ows_url=http://map:8080
restrict_to_config_projects=off
restrict_to_authenticated_users=off
enable_job_realm=off
admin_job_realm=

The WPS configuration:

  • wps_root_url is the URL of the WPS service
  • wps_rootDirectories is the path of the directories defined for the WPS Service MAP

The redis configuration for saving process status: uuid, INPUTS, OUTPUTS.

  • redis_host the redis host to use
  • redis_port the redis port to use
  • redis_db the redis database to use
  • redis_key_prefix the redis key prefix to use

The OWS proxy configuration:

  • ows_url is the URL of the OWS service used by the WPS service

The availability of WPS algorithms in the Lizmap Web Client web maps

  • restrict_to_config_projects the module is not enabled for projects without a json config for processes.
  • restrict_to_authenticated_users the module is not enabled if the user is not authenticated.
  • enable_job_realm enable job access control by associating a realm token to each job. Job realm will be built at user level.
  • admin_job_realm administrator realm token. It allows bearer to bypass any other token.

lizmap/lizmap-wps-web-client 适用场景与选型建议

lizmap/lizmap-wps-web-client 是一款 基于 JavaScript 开发的 Composer 扩展包,目前已累计 387 次下载、GitHub Stars 达 12, 最近一次更新时间为 2020 年 02 月 26 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「module」 「wps」 「jelix」 「lizmap」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 lizmap/lizmap-wps-web-client 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 lizmap/lizmap-wps-web-client 我们能提供哪些服务?
定制开发 / 二次开发

基于 lizmap/lizmap-wps-web-client 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

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

GitHub 信息

  • Stars: 12
  • Watchers: 4
  • Forks: 10
  • 开发语言: JavaScript

其他信息

  • 授权协议: MPL-2.0
  • 更新时间: 2020-02-26