Skip to content
This repository has been archived by the owner on Sep 29, 2021. It is now read-only.

Commit

Permalink
Merge pull request #121 from infra-geo-ouverte/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
mbarbeau committed Jan 5, 2016
2 parents 6165b0b + 2fb6b0b commit bca2f17
Show file tree
Hide file tree
Showing 28 changed files with 469 additions and 380 deletions.
21 changes: 13 additions & 8 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -216,13 +216,13 @@ igo.initConfigs = function(grunt){
mode: '770'
},
cacheDossier: {
src: ['interfaces/navigateur/app/cache/', 'pilotage/app/cache/']
src: ['interfaces/navigateur/app/cache/']
},
cacheFichier: {
options: {
mode: '660'
},
src: ['interfaces/navigateur/app/cache/*', 'pilotage/app/cache/*']
src: ['interfaces/navigateur/app/cache/*']
}
},
shell: {
Expand Down Expand Up @@ -295,7 +295,7 @@ igo.initConfigs = function(grunt){
}
},
clean: {
cache: ['interfaces/navigateur/app/cache/*', 'pilotage/app/cache/*']
cache: ['interfaces/navigateur/app/cache/*']
},
watch: {
scripts: {
Expand Down Expand Up @@ -339,14 +339,19 @@ igo.includeModules = function(grunt, modules){
if(!modules){
return false;
}

var base = '';
if(grunt['projectPath']){
base = grunt['projectPath'] + '/';
}
for (var key in modules) {
var mod = modules[key];
if(!mod.options){
continue;
}
if(grunt.file.isDir(mod.options.directory) && grunt.file.isFile(mod.options.directory + '/Gruntfile.js')){
if(grunt.file.isDir(base + mod.options.directory) && grunt.file.isFile(base + mod.options.directory + '/Gruntfile.js')){
require("grunt-load-gruntfile")(grunt);
grunt.loadGruntfile(mod.options.directory);
grunt.loadGruntfile(base + mod.options.directory);
}
};
}
Expand All @@ -373,12 +378,12 @@ igo.initTasks = function(grunt){

grunt.registerTask('default', ['libs', 'build', 'cache']);
grunt.registerTask('build', ['buildIgo', 'buildLibs']);
grunt.registerTask('buildIgo', ['requirejs']);
grunt.registerTask('buildIgo', 'build les js Igo', ['requirejs']);
grunt.registerTask('buildLibs', ['shell:buildOpenLayers', 'uglify:LayerTreeBuilder', 'uglify:WMSBrowser', 'uglify:GeoExt', 'uglify:GeoExtDebug']);
grunt.registerTask('cache', ['clean:cache', 'chmod:cacheDossier', 'chmod:cacheFichier']);
grunt.registerTask('libs', ['shell:bowerinstall']);
grunt.registerTask('doc', ['jsdoc']);
grunt.registerTask('qUnit', ['shell:qUnit']);
grunt.registerTask('doc', 'Génération de la documentation', ['jsdoc']);
grunt.registerTask('qUnit', 'Lancer les tests unitaires', ['shell:qUnit']);
grunt.registerTask('notify', ['notify:watch']);
grunt.registerTask('surveiller', ['watch:scripts']);
grunt.registerTask('gruntConfig', ['copy:gruntConfig']);
Expand Down
2 changes: 0 additions & 2 deletions doc/installation/installation_linux_base.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,9 @@ git clone https://github.com/infra-geo-ouverte/igo.git <br />

** Changer le groupe de ces dossiers par l'usager de votre serveur Web <br />
chgrp www-data /var/www/html/igo/interfaces/navigateur/app/cache <br />
chgrp www-data /var/www/html/igo/pilotage/app/cache

** Donner le droit d'écriture à ces dossiers <br />
chmod 775 /var/www/html/igo/interfaces/navigateur/app/cache <br />
chmod 775 /var/www/html/igo/pilotage/app/cache <br />

## Cloner les librairies
cd igo <br />
Expand Down
62 changes: 34 additions & 28 deletions doc/xml/DocumentationXML.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,13 @@ Fichier XML de configuration
* [1.1.1.6 Panneau Onglet](#panneauonglet)
* [1.1.1.7 Panneau table](#panneautable)
* [1.1.1.8 Création d'un panneau personnalisé](#creation-panneau-personnalisé)
* [1.1.2 Élément de panneau accordeon](#elementAccordeon)
* [1.1.2 Élément de panneau accordeon](#element-panneau-accordeon)
* [1.1.2.1 Arborescence](#arborescence)
* [1.1.2.2 Impression](#impression)
* [1.1.2.3 Localisation](#localisation)
* [1.1.2.3 Google Itinéraire](#googleItineraire)
* [1.1.2.3 Google Street View](#googleStreetView)
* [1.1.2.4 Création d'un élément de panneau accordéon personnalisé](#creationelementpanneauaccordeonpersonnalise)
* [1.1.3 Élément de localisation](#elementlocalisation)
* [1.1.2.3 Google Itinéraire](#googleitineraire---pas-implanté)
* [1.1.2.3 Google Street View](#googlestreetview---pas-implanté)
* [1.1.3 Élément de localisation](#Élément-de-localisation)
* [1.1.3.1 Recherche par adresse](#rechercheadresse)
* [1.1.3.2 Recherche par borne](#rechercheborne)
* [1.1.3.3 Recherche par cadastre rénové ](#recherchecadastrereno)
Expand All @@ -37,40 +36,41 @@ Fichier XML de configuration
* [1.2.3 Outil](#outil)
* [1.2.3.1 outilAide](#outilaide)
* [1.2.3.2 outilAjoutWMS](#outilajoutwms)
* [1.2.3.3 outilAssocierFichier](#outilassocierFichier)
* [1.2.3.4 outilAnalyseSpatiale](#outilanalysespatiale)
* [1.2.3.3 outilAssocierFichier](#outilassocierfichier)
* [1.2.3.4 outilAnalyseSpatiale](#outilanalysespatiale---non-implanté)
* [1.2.3.5 outilDeplacement](#outildeplacement)
* [1.2.3.6 outilDessin](#outildessin)
* [1.2.3.7 outilExportGPX](#outilexportgpx)
* [1.2.3.8 outilExportShp](#outilexportshp)
* [1.2.3.9 outilHistoriqueNavigation](#outilhistoriquenavigation)
* [1.2.3.10 outilnfo](#outilinfo)
* [1.2.3.10 outilInfo](#outilinfo)
* [1.2.3.11 outilMesure](#outilmesure)
* [1.2.3.12 outilDeplacerCentre](#outildeplacercentre)
* [1.2.3.13 outilPartagerCarte](#outilpartagercarte)
* [1.2.3.14 outilRapporterBogue](#outilrapporterbogue)
* [1.2.3.14 outilReporterBogue](#outilreporterbogue)
* [1.2.3.15 outilZoomEtendueMaximale](#outilzoometenduemaximale)
* [1.2.3.16 outilZoomPreselection](#outilzoompreselection)
* [1.2.3.17 outilZoomRectangle](#outilzoomrectangle)
* [1.2.3.18 outilEdition](#outiledition)
* [1.2.3.19 outilItineraire](#outilitineraire)
* [1.2.3.20 outilSelection](#outilSelection)
* [1.2.3.20 outilSelection](#outilselection)
* [1.2.3.21 Création d'un outil personnalisé](#creation-outil-personnalise)
* [4 Contexte](#contexte)
* [5 Liste des couches](#liste-des-couches)
* [5.1 Groupe de couche](#groupe-couche)
* [5.1 Groupe de couches](#groupe-de-couches)
* [5.2 Couche](#couche)
* [5.2.1 Blanc](#blanc)
* [5.2.2 Google](#google)
* [5.2.3 Marqueurs](#marqueurs)
* [5.2.4 OSM](#osm)
* [5.2.5 TMS](#tms)
* [5.2.6 Vecteur](#vecteur)
* [5.2.7 WMS](#WMS)
* [5.2.7 WMS](#wms)
* [5.2.8 ArcGIS93Rest](#arcgis93rest)
* [6 Actions](#actions)
* [6.1 Action](#action)
* [7 Déclencheurs](#declencheurs)
* [7.1 Déclencheur](#declencheur)
* [7 Déclencheurs](#déclencheurs)
* [7.1 Déclencheur](#déclencheur)
* [8 Exemples de fichier de configuration XML](#exemples-de-fichier-de-configuration-xml)
* [8.1 Configuration minimale (avec contexte défini dans le fichier de configuration)](#configuration-minimale-xml)
* [8.2 Configuration minimale (avec contexte chargé à partir de la BD)](#configuration-minimale-bd)
Expand Down Expand Up @@ -367,7 +367,7 @@ Permet la définition d'un panneau appelé à contenir un tableau.
![](media/image7.png)


Creation Panneau personnalise
Creation Panneau personnalisé
----------------------------------

*Exemple*
Expand Down Expand Up @@ -486,18 +486,7 @@ Aucun
<element-accordeon classe="googleStreetView"/>
```

*Aperçu*


Creation element de panneau accordeon personnalise
--------------------------------------------------

*Exemple*

*Aperçu*


Element de localisation
Élément de localisation
=======================

*Balise XML: `element`*
Expand Down Expand Up @@ -1074,7 +1063,7 @@ l'historique" visible="true" actif="true"/>
![](media/image22.png)


outilnfo
outilInfo
--------

Permet la définition d'un outil d'interrogation du contenu de la carte.
Expand Down Expand Up @@ -1677,6 +1666,23 @@ Permet la définition d'une couche provenant d’un service de carte (WMS).
visible="true" active="faux" opacite="100" ordreAffichage="1"/>
```

ArcGIS93Rest
---

Permet la définition d'une couche provenant d’un service rest de ArcGIS.

*Attributs ou valeurs spécifiques*

| Nom | Description | Obligatoire | Valeurs possibles | Valeur défaut |
|-------|-----------------------------------------------|---------------|-----------------------|---------------|
|url |URL du service |Oui |URL | |
|nom |Nom de la couche |Oui |Chaîne alphanumérique | |
|titre | Titre de la couche |Oui |Chaîne alphanumérique | |

*Exemples*
```xml
<couche titre="ArcGis93Rest" protocole="ArcGIS93Rest" url="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Specialty/ESRI_StateCityHighway_USA/MapServer/export" nom="0,1,2" />
```

Actions
=======
Expand Down
Loading

0 comments on commit bca2f17

Please sign in to comment.