承接 arno974/lizmap-altiprofil 相关项目开发

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

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

arno974/lizmap-altiprofil

Composer 安装命令:

composer require arno974/lizmap-altiprofil

包简介

Jelix module for Lizmap, which adds tools to get a profile graph from a DEM

README 文档

README

Packagist

Description

This Lizmap module allows you to create topographic profile, either from a raster table stored in PostGIS or an online API such as French IGN data provider.

main interface

Installation

Use minimum version 0.5.0 with Lizmap 3.8

Version 0.4.2 is compatible with Lizmap Web Client 3.4 and < 3.8.

You should install it with Composer. If you can't, you must follow the manual installation part.

With Composer

  • In lizmap/my-packages, create the file composer.json if it doesn't exist by copying the file composer.json.dist. Then launch Composer by specifying the module name to install.
cp -n lizmap/my-packages/composer.json.dist lizmap/my-packages/composer.json
composer require --working-dir=lizmap/my-packages "arno974/lizmap-altiprofil"
  • Then go in lizmap/install/ and execute some scripts :

If you are using Lizmap Web Client 3.6 and higher, launch first :

php configurator.php altiProfil
php configurator.php altiProfilAdmin
  • Then, whatever the version of Lizmap, launch installation scripts :
php installer.php
./clean_vartmp.sh
./set_rights.sh

Go to the configuration part.

Manual installation

  • Download the ZIP from the GitHub release page.
  • Extract the zip and copy directories AltiProfil, and AltiProfilAdmin in folder lizmap/lizmap-module/
  • Modules need to be enabled in Lizmap by editing the configuration file lizmap/var/config.

For Lizmap 3.4 or Lizmap 3.5, add in the file lizmap/var/config/localconfig.ini.php, in the [module] section, the reference to these 2 modules. Do not remove references to other modules in this section.

[modules]

altiProfil.access=2
altiProfilAdmin.access=2

For Lizmap 3.6 or higher, don't modify lizmap/var/config/localconfig.ini.php, launch this command instead:

php lizmap/install/configurator.php altiProfil
php lizmap/install/configurator.php altiProfilAdmin
  • Then for any version of Lizmap, launch the installation of the modules with
php lizmap/install/installer.php
lizmap/install/clean_vartmp.sh
lizmap/install/set_rights.sh

Configuration

It's necessary to go in the administration panel of Lizmap Web Client to set up the module.

Administration panel

This configuration will create or edit the file lizmap/var/config/altiProfil.ini.php, which might contain for instance :

[altiProfil]
altisource=Source of data

;if database
altiProfileProvider=database
altiProfileSchema=dem_schema
altiProfileTable=dem_table
srid=3957
; profilUnit = PERCENT or DEGREES - unit for the profil
profilUnit= PERCENT
; dock panel = dock or minidock or rightdock
dock=dock
altiresolution=DEM resolution

;if IGN French data provider
;altiProfileProvider= ign
ignServiceUrl=https://wxs.ign.fr/

You can specify your data source. Depending on your datasource, some extra configuration might be needed.

Database

altiProfileProvider=database

IGN French provider

altiProfileProvider=ign

Override the configuration for a single project

For every project published in Lizmap, for instance my_project.qgs, you can add a new file with extension .alti at the end of the file. In our example, it would be my_project.qgs.alti.

This file allows you to override schema and table settings (when altiProfil is configued to use database as data source).

For instance

[altiProfil]
altiProfileSchema=srtm
altiProfileTable=srtm_paris_high_resolution

Use-case from a database

To use this module with a database, you should connect to a raster table having a DEM. You need to add in the file profiles.ini.php (located inlizmap/var/config) the given block :

[jdb:altiProfil]
driver=pgsql
database=name of database
host=localhost (or URL)
user=the login for the database
password=password for the database
search_path=if the table is in a specific schema, otherwise, let "public"

Cas de l'utilisation à partir de l'API IGN

French only 🇫🇷

En raison de l'absence de continuité de service de l'offre Pro IGN, il n'a pas été possible de tester complément l'intégration de l'API. Les tests effectués ont été réalisés sur la base des exemples donnés dans la documentation.

Il est possible que l'intégration ne soit pas optimale, mais cela devrait tout de même être fonctionnel.

arno974/lizmap-altiprofil 适用场景与选型建议

arno974/lizmap-altiprofil 是一款 基于 PLpgSQL 开发的 Composer 扩展包,目前已累计 263 次下载、GitHub Stars 达 5, 最近一次更新时间为 2021 年 04 月 08 日, 在 PHP 生态内属于活跃度较高的组件。

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

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

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

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

BUG 修复 & 性能优化

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

项目外包 & 长期维护

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

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

统计信息

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

GitHub 信息

  • Stars: 5
  • Watchers: 6
  • Forks: 13
  • 开发语言: PLpgSQL

其他信息

  • 授权协议: MPL-2.0
  • 更新时间: 2021-04-08