MCPcopy Index your code
hub / github.com/camptocamp/ngeo

github.com/camptocamp/ngeo @2.9.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release 2.9.0 ↗ · + Follow
1,872 symbols 5,055 edges 525 files 1,197 documented · 64%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

ngeo

ngeo is a JS library that aims to ease the development of applications based on AngularJS and OpenLayers.

More specifically, ngeo is a collection of AngularJS Components and Services useful for developing applications combining AngularJS and OpenLayers.

ngeo uses webpack: webpack gives you the possibility to use easily only the specific part of JavaScript, css and html that you need for your application.

If you use ngeo we recommend that you also use webpack, because this is the way we design and use ngeo at Camptocamp. But using webpack is not strictly mandatory: standalone builds of ngeo can be created.

To know more about ngeo take a look at:

  • The examples
  • The Storybook
  • The documentation can be found in each file. There is currently no API web-documentation for this version (you may also use API documentation).

ngeo also includes a contribs directory where non-core contributions may be placed. ngeo currently includes one contrib: gmf. That contrib includes components specific to the GeoMapFish project, that is components that rely on GeoMapFish-specific web services. The gmf contrib examples are also available online.

Requirements

  • make – GNU Make.
  • node – nodejs JS runtime environment.
  • npm – npm package manager.
  • python – 3.x installed on the system (be careful with pyenv)

On my Ubuntu 24.04, I had to set the following environment variables to make it work:

  • NODE_GYP_FORCE_PYTHON=/usr/bin/python
  • PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig/:/usr/share/pkgconfig/

Go further

Other docs related to ngeo:

Contributing

Install the pre-commit hooks:

pip install pre-commit
pre-commit install --allow-missing-config

Extension points exported contracts — how you extend this code

Document (Interface)
* Type declarations extending TypeScript's lib/lib.dom.d.ts. * https://github.com/Microsoft/TypeScript/blob/master/lib/
types/dom.d.ts
AuthenticationFunctionalities (Interface)
(no doc)
srcapi/store/user.ts
PanelResize (Interface)
(no doc)
src/canvas/DesktopElement.ts
Chainable (Interface)
(no doc)
cypress/types/types.d.ts
Element (Interface)
(no doc)
types/dom.d.ts
RoleInfo (Interface)
(no doc)
srcapi/store/user.ts
CSSStyleDeclaration (Interface)
(no doc)
types/dom.d.ts
User (Interface)
(no doc)
srcapi/store/user.ts

Core symbols most depended-on inside this repo

get
called by 580
src/map/BackgroundLayerMgr.js
set
called by 108
src/routing/RoutingFeatureComponent.js
value
called by 102
src/rule/Rule.js
clear
called by 79
src/query/MapQuerent.js
t
called by 79
src/misc/php-date-formatter.js
setActive
called by 75
src/interaction/Modify.js
getState
called by 64
srcapi/store/user.ts
map
called by 59
src/datasource/DataSources.js

Shape

Method 1,079
Function 486
Class 296
Interface 8
Enum 3

Languages

TypeScript100%

Modules by API surface

src/datasource/OGC.js56 symbols
src/misc/php-date-formatter.js49 symbols
src/canvas/ToolButtonsImplElements.ts45 symbols
src/format/FeatureHash.js38 symbols
src/theme/Themes.js30 symbols
src/print/component.js30 symbols
src/datasource/ExternalDataSourcesManager.js30 symbols
src/search/component.js27 symbols
src/filter/ruleComponent.js27 symbols
src/query/Querent.js25 symbols
src/lidar/PanelElement.ts22 symbols
src/interaction/Measure.js22 symbols

For agents

$ claude mcp add ngeo \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page