| the 2D API WEB 2D API Javascript WEB 2D API Flex WEB 2D API the 3D API |
|---|
The Geoportal's API aims at bringing reference datasets to any application, thus allowing overlays between users' datasets and the reference datasets.
Information found in this documentation heavily rely on the knowledge of Information Technology and Geographical Information. Amongst these technologies, one can find :
The above technologies are not the only ones to know in the field of geomatics ...
The following diagram shows the overall architecture of the API :

The above diagram shows three main parts :
Datastores are located there. They are either managed through database software (postgreSQL, mySQL, Oracle, Informix, ArcSDE, etc ...) or directly filesystem based like folders or caches.
They are accessed through services (Web Map Service, Web Feature Service, ...) or by usual HTTP file transfers (Keyhole Markup Language, ...). Another important component also resides on service-side : the Geographical Digital Right Management service (aka, GeoDRM or GeoRM). This service manages the license coming from clients.
The API's client is loaded there.
This component implements the API interfaces with the GeoDRM service.
Geoportal's WMS-C, WMS, WFS services can be plugged to desktop GIS applications. One needs to develop a connector to our GeoRM implementation along with the above services connectors. For more information, please contact us at 'contact dot api at ign dot fr'.
The 2D API allows you to create maps by getting connected to Geoportal's services.
The Geoportal's WEB 2D API is the port of the Geoportal's API for web mapping applications.
The Javascript WEB 2D API allows you to create maps in a few lines of HTML into your web site.
Designed and developed in Javascript on top of the OpenLayers library (open source software under BSD license), it acts as an overlay by adding new functionalities and widgets.
The current documentation and, especially code snippets, have been written against the 1.0 version of the Javascript WEB 2D API.
Releases are built on different OpenLayers releases :
| Date of release | Version | Functionalities |
|---|---|---|
| January, 17th 2011 | 1.2 | OpenLayers 2.10, vector datasets are now loaded through the use of OpenLayers.Protocol and OpenLayers.Strategy without impact on the API itself in order to get closer to OpenLayers 3.0. See Change log. |
| August, 2nd 2010 | 1.1 | OpenLayers 2.9.1 See Change Log. |
| March, 15th 2010 | 1.0 | OpenLayers 2.8, primary support of ExtendedData in KML. See Change Log. WMS (1.3.0) and WFS (1.1.0) capabilities parsing. OpenLS is now GeoDRM protected. |
| May, 6th 2009 | 1.0beta4 | Viewer and Map are now distinguished for preparing upcoming 1.0 version : it is necessary to modify web pages to switch to 1.0beta4 as stated in Change Log. Introduction of minimum, standard and extended APIs. OpenLS (Location Utility Service) search engine support added. Experimental. |
| November, 4th 2008 | 1.0beta3 | OpenLayers 2.7, primary Geoconcept export writer. No more Prototype and Script.aculo.us dependencies. New EditingToolbar and layerSwitcher components. Documentation based now on NaturalDocs. World zoom level activated. |
| July, 1st 2008 | 1.0beta2 | OpenLayers 2.6, more GPX support. |
| June, 4th 2008 | 1.0beta1 | Bug fixes, some 2.6 features and primary GPX support. |
| April, 28th 2008 | 1.0beta | OpenLayers 2.5 with projection support. |
For more information, see Change Log.
All of these functionalities are directly and simply accessible through the Geoportal.Map class. The latter provides few methods to do the job.
Developers can also use OpenLayers API while using the Geoportal API.
For the 2D Web client, its internal architecture consists of :
This component implements the API look'n feel and interfaces with the GeoDRM service.
Designed and developed in Flex on top of the OPENSCALES open source project (LGPL v3 license), the MXML/ActionScript WEB 2D API is still under construction. An example can be seen over there.
IGN is contributing with a minimal GeoAPI implementation and GeoDRM connector to OPENSCALES.
A proof of concept of using Geoportal's 2D streams into 3D application has been to use Nasa World Wind.
N1 JavaScript is a trademark of Sun MicroSystems Inc.
N2 ActionScript is a trademark of Adobe Inc.