PHPackages                             arno974/lizmap-altiprofil - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. arno974/lizmap-altiprofil

ActiveJelix-module[Utility &amp; Helpers](/categories/utility)

arno974/lizmap-altiprofil
=========================

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

0.5.10(11mo ago)523313[8 issues](https://github.com/arno974/lizmap-altiProfil/issues)[1 PRs](https://github.com/arno974/lizmap-altiProfil/pulls)MPL-2.0PLpgSQL

Since Jun 22Pushed 11mo ago6 watchersCompare

[ Source](https://github.com/arno974/lizmap-altiProfil)[ Packagist](https://packagist.org/packages/arno974/lizmap-altiprofil)[ Docs](http://3liz.com)[ RSS](/packages/arno974-lizmap-altiprofil/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)DependenciesVersions (26)Used By (0)

AltiProfil for Lizmap
=====================

[](#altiprofil-for-lizmap)

[![Packagist](https://camo.githubusercontent.com/5873a446e50fc99984ff9239bbd21456294e0f51a19f9e462c9b56e87e47abc9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f61726e6f3937342f6c697a6d61702d616c746970726f66696c)](https://packagist.org/packages/arno974/lizmap-altiprofil)

Description
-----------

[](#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](altiProfil.jpeg)](altiProfil.jpeg)

Installation
------------

[](#installation)

Use minimum version 0.5.0 with Lizmap 3.8

[Version 0.4.2](https://github.com/arno974/lizmap-altiProfil/releases/tag/0.4.2) is compatible with Lizmap Web Client 3.4 and &lt; 3.8.

You should install it with [Composer](https://getcomposer.org). If you can't, you must follow the **manual installation** part.

### With Composer

[](#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

[](#manual-installation)

- Download the ZIP from the [GitHub release page](https://github.com/arno974/lizmap-altiProfil/releases).
- 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
-------------

[](#configuration)

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

[![Administration panel](altiProfilAdmin.png)](altiProfilAdmin.png)

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

[](#database)

```
altiProfileProvider=database
```

### IGN French provider

[](#ign-french-provider)

```
altiProfileProvider=ign
```

Override the configuration for a single project
-----------------------------------------------

[](#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
------------------------

[](#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 in`lizmap/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
------------------------------------------

[](#cas-de-lutilisation-à-partir-de-lapi-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.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community22

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor3

3 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~76 days

Recently: every ~46 days

Total

25

Last Release

334d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/290459ede6092f63bfb9ad51d7062b8d565d49fefb720833930eae5e53143a19?d=identicon)[arnaud-sig](/maintainers/arnaud-sig)

---

Top Contributors

[![Gustry](https://avatars.githubusercontent.com/u/1609292?v=4)](https://github.com/Gustry "Gustry (31 commits)")[![nworr](https://avatars.githubusercontent.com/u/43475951?v=4)](https://github.com/nworr "nworr (28 commits)")[![laurentj](https://avatars.githubusercontent.com/u/336034?v=4)](https://github.com/laurentj "laurentj (25 commits)")[![arno974](https://avatars.githubusercontent.com/u/425243?v=4)](https://github.com/arno974 "arno974 (22 commits)")[![rldhont](https://avatars.githubusercontent.com/u/1575538?v=4)](https://github.com/rldhont "rldhont (18 commits)")[![mdouchin](https://avatars.githubusercontent.com/u/3492210?v=4)](https://github.com/mdouchin "mdouchin (11 commits)")[![meyerlor](https://avatars.githubusercontent.com/u/15894401?v=4)](https://github.com/meyerlor "meyerlor (3 commits)")[![josemvm](https://avatars.githubusercontent.com/u/10053874?v=4)](https://github.com/josemvm "josemvm (2 commits)")[![ygorigor](https://avatars.githubusercontent.com/u/1684359?v=4)](https://github.com/ygorigor "ygorigor (1 commits)")[![lspg](https://avatars.githubusercontent.com/u/820220?v=4)](https://github.com/lspg "lspg (1 commits)")[![mach0](https://avatars.githubusercontent.com/u/482081?v=4)](https://github.com/mach0 "mach0 (1 commits)")

---

Tags

profilemodulejelixlizmapaltitudedem

### Embed Badge

![Health badge](/badges/arno974-lizmap-altiprofil/health.svg)

```
[![Health](https://phpackages.com/badges/arno974-lizmap-altiprofil/health.svg)](https://phpackages.com/packages/arno974-lizmap-altiprofil)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
