Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:api [2017/03/17 08:44]
Patrick Weber [!!! OLD VERSION OF THE API !!!]
en:api [2018/02/13 14:34] (current)
Andrea Donno
Line 1: Line 1:
- 
- 
- 
  
 ====== !!! OLD VERSION OF THE API !!! ====== ====== !!! OLD VERSION OF THE API !!! ======
Line 11: Line 8:
 [[https://apiv3.geoportail.lu/proj/1.0/build/apidoc/]] [[https://apiv3.geoportail.lu/proj/1.0/build/apidoc/]]
 ** **
- 
- 
- 
- 
- 
- 
-====== Welcome to the ACT's GeoAPI Documentation ====== 
- 
-The GeoAPI is a web delivered service platform delivering both data and functionality, enabling geographical information to be viewed on a map. Just as with the geoportail.lu web service, the GeoAPI enables the integration in external web pages of the geoportail functionality.  Although the options for data processing are limited compared with “real” office GIS software, some targeted queries and analyses are possible. A web GIS makes access to geographical information truly independent of platform, installation and location. The services presented here are available via web map services (WMS) and application programming interfaces (APIs).  
- 
-This section is geared towards developers interested in using the API on their webpages. 
- 
-**Important Note:** For access to the GeoAPI on your own servers, you will need to [[support.geoportail@act.etat.lu|request access to the ACT]], specifying the server address you wish to grant access too.  
- 
-==== Index of Content ==== 
-  * [[en:api:businesscase|Why use the GeoAPI]] 
-  * [[en:api:basicTutorial|Basic GeoAPI Step by Step Tutorial]] 
-  * [[en:api:extendedTutorial|Extended GeoAPI Step by Step Tutorial]] 
-  * [[en:api:apiReference|Reference of the GeoAPI]] 
-  * [[en:api:geoapifaq|Frequently Asked Questions for the GeoAPI]] 
-  * [[en:api:shortexamples|List of examples of GeoAPI]] 
-  * [[en:api:otherservices|Other Services offered]] 
-  * [[en:api:layerslist|Data Layers Functionality details]] 
-  * [[//apps.geoportail.lu/exemple_api/exemplesWikiGeoAPI/iterate_layers_api.html|Live GeoAPI Layers Listing]] 
-  * [[//apps.geoportail.lu/exemple_api/exemplesWikiGeoAPI/iterate_layers_tourisme.html|Live GeoAPI Layers Listing - Theme Tourisme]] 
-  * [[en:api:termsofuse|GeoAPI Terms of Use]]  
- 
----- 
-==== Quick Code Example ==== 
- 
-Please find below a complete self contained example implementation of the API: 
- 
-<html><iframe seamless=true frameborder=0 width="600" height="400" src="//apps.geoportail.lu/exemple_api/exemplesWikiGeoAPI/minimal.html"></iframe></html> 
- 
-<code javascript |sample.html> 
-<html> 
- <head> 
-  <title>Exemple d'utilisation</title> 
-<link rel="stylesheet" type="text/css" href="//api.geoportail.lu/build/latest/ext-all.css" /> 
-<link rel="stylesheet" type="text/css" href="//api.geoportail.lu/build/latest/xtheme-gray.css" /> 
-<link rel="stylesheet" type="text/css" href="//api.geoportail.lu/build/latest/api.css" /> 
-<link rel="stylesheet" type="text/css" href="//api.geoportail.lu/build/latest/MapFishApi_api.css" /> 
-<link rel="stylesheet" type="text/css" href="//api.geoportail.lu/build/latest/geoadmin.css" /> 
-<script type="text/javascript" src="//api.geoportail.lu/build/latest/ext-base.js"></script> 
-<script type="text/javascript" src="//api.geoportail.lu/build/latest/ext-all.js"></script> 
-<script type="text/javascript" src="//api.geoportail.lu/build/latest/geoadmin.js"></script> 
-<script type="text/javascript" src="//api.geoportail.lu/api.js"></script> 
- 
- </head> 
-  <body> 
-   <div id='map' style="width:600px;height:400px"/> 
-   <script type="text/javascript">    
-    lux = new OpenLayers.Projection("EPSG:2169"); // the luxembourg coordinate reference system  
-    wgs = new OpenLayers.Projection("EPSG:4326"); // the WGS84 coordinate reference system, as used widely 
-    lonLat = new OpenLayers.LonLat(6.12459923192738, 49.6188206257115 ).transform( wgs, lux ); 
-    geo = new geoadmin.API({lang: 'fr'}); 
-    geo.createMap({ 
-     div: 'map', 
-     easting: lonLat.lon, 
-     northing: lonLat.lat, 
-     zoom: 8, 
-     bgLayer: 'pixelmaps' 
-    }); 
-    </script> 
-  </body> 
-<html> 
-</code> 
  
en/api.txt · Last modified: 2018/02/13 14:34 by Andrea Donno
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0