https://github.com/infra-geo-ouverte/igo2-lib
Librairie Infrastructure Géomatique Ouverte 2.0 (IGO-2) / Open GIS Infrastructure 2.0 Library
https://github.com/infra-geo-ouverte/igo2-lib
angular gis igo igo2-library javascript mapping openlayers
Last synced: 3 months ago
JSON representation
Librairie Infrastructure Géomatique Ouverte 2.0 (IGO-2) / Open GIS Infrastructure 2.0 Library
- Host: GitHub
- URL: https://github.com/infra-geo-ouverte/igo2-lib
- Owner: infra-geo-ouverte
- License: mit
- Created: 2017-04-06T15:07:50.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2026-01-12T21:19:35.000Z (5 months ago)
- Last Synced: 2026-01-13T01:50:49.318Z (5 months ago)
- Topics: angular, gis, igo, igo2-library, javascript, mapping, openlayers
- Language: TypeScript
- Homepage: https://infra-geo-ouverte.github.io/igo2-lib/
- Size: 34.9 MB
- Stars: 41
- Watchers: 17
- Forks: 28
- Open Issues: 72
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- awesome-openlayers - Open GIS Infrastructure 2.0 Library
README
[](https://angular.io/styleguide)
[](https://github.com/infra-geo-ouverte/igo2-lib/actions?query=workflow/complete)
[](https://gitter.im/igo2/Lobby)
[](https://snyk.io/test/github/infra-geo-ouverte/igo2-lib)
# IGO2 Library
This repository is home to the IGO2 Library on which IGO2 is built. IGO2 and this library are open source projects using Angular, Angular Material and OpenLayers. While IGO2 is mapping oriented, this library can easily serve other purposes as it contains many components and services that may benefit any web application.
## Description
IGO2 library is divided into several elements:
- @igo2/utils : Basic utilies without dependency (ex: base64, clipboard, uuid)
- @igo2/core : Element affecting the core of the application (ex: config, language, message, media, request)
- @igo2/common : Library containing reusable components (ex: clickout, drag-drop, list, panel, spinner, table)
- @igo2/auth : Library grouping the authentication and security module
- @igo2/geo : Library containing the geomatic components. Depends on Openlayers.
- @igo2/context : Library of components uniting @igo2/geo and @igo2/auth
- @igo2/integration : Library integrate basic components
## Demo
- [Demo IGO2 Library](https://infra-geo-ouverte.github.io/igo2-lib/)
- [Demo IGO2 for Open Data Quebec](https://geoegl.msp.gouv.qc.ca/igo2/apercu-qc/)
- [Demo IGO2 on GitHub](https://github.com/infra-geo-ouverte/igo2#table-of-content-english)
## User Installation
The latest release of IGO2 Library can be used and installed from npm.
Example:
`npm install --save @igo2/core`
`npm install --save @igo2/common`
- See the demo code for examples of simple use.
## For developers
### Developer Installation
Require:
| IGO2 version | Node version |
| ------------ | ------------ |
| >= 16.x | >= 18.10.0 |
| >= 1.15.x | >= 16.19.x |
| >= 1.13.x | >= 14, <= 16 |
| 1.5.x | >= 12, <= 14 |
| < 1.5.x | >= 8, <= 11 |
| 0.x.x | >= 6, <= 10 |
If you want to develop in IGO2 Library, it can be installed by:
1. Clone current repository: using `git clone https://github.com/infra-geo-ouverte/igo2-lib.git`
2. Navigate to the folder igo2-lib : `cd igo2-lib/`
3. Install dependencies by running `npm install`
4. Build librairies: `npm run build.libs`
5. Start form npm `npm start.demo` (or you can run the VsCode config (`Launch Demo`))
6. Open your browser at http://localhost:4200/
### Build
Run `npm run build.libs` to build the whole project. The build artifacts will be stored in the `dist/` directory.
### Running tests
Run `npm run test.libs` to execute the tests