Nantes Université
Skip to content
GitLab
Explorer
Connexion
S'inscrire
Navigation principale
Rechercher ou aller à…
Projet
A
Assignment
Gestion
Activité
Membres
Labels
Programmation
Tickets
Tableaux des tickets
Jalons
Wiki
Code
Requêtes de fusion
Dépôt
Branches
Validations
Étiquettes
Graphe du dépôt
Comparer les révisions
Compilation
Pipelines
Jobs
Planifications de pipeline
Artéfacts
Déploiement
Releases
Registre de modèles
Opération
Environnements
Surveillance
Incidents
Service d'assistance
Analyse
Données d'analyse des chaînes de valeur
Analyse des contributeurs
Données d'analyse CI/CD
Données d'analyse du dépôt
Expériences du modèle
Aide
Aide
Support
Documentation de GitLab
Comparer les forfaits GitLab
Forum de la communauté
Contribuer à GitLab
Donner votre avis
Raccourcis clavier
?
Extraits de code
Groupes
Projets
Afficher davantage de fils d'Ariane
Damiano Albani
Assignment
Validations
c022d6ef
Valider
c022d6ef
rédigé
il y a 9 ans
par
Damiano Albani
Parcourir les fichiers
Options
Téléchargements
Correctifs
Plain Diff
Describe JS frontend usage.
parent
96c9fb64
Aucune branche associée trouvée
Branches contenant la validation
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
Modifications
1
Masquer les modifications d'espaces
En ligne
Côte à côte
Affichage de
1 fichier modifié
README.md
+30
-1
30 ajouts, 1 suppression
README.md
avec
30 ajouts
et
1 suppression
README.md
+
30
−
1
Voir le fichier @
c022d6ef
...
...
@@ -46,7 +46,36 @@
#### JavaScript client frontend
TODO
On startup, the user is presented with a full-screen map view. At that point, it
is possible to zoom, pan and move around the map.
Via a control in the top left corner, the creation / edition of user
features can be made.
A "feature" is made of several properties : an ID, a label and a geometry.
While the ID is automatically generated by the server, the user is responsible
of setting the value of the label (form field) and the geometry (WYSIWYG editor).
All features can be deleted at once with a dedicated button, while individual
features must be deleted in the edit popup window.
In this application, background layers are tile-based MapQuest and OSM sources.
On the other hand, foreground layers are (hand-selected) WFS resources.
The application provides an "intersection mode", which can be switched ON/OFF
via a checkbox at the top-right corner.
When this mode is ON, data from foreground / WFS layers is restricted to areas
which intersects with user features.
This is achieved through an OGC
``Intersects``
filter within the WFS
``GetFeature``
request.
This data filtering could have been done at the client side, using OpenLayers
capabilities. However, it would have incurred lots of data transfer and put a
strain on the web browser memory usage.
##### Known issues
Having user features which geographically overlap breaks WFS requests made
while "intersection mode" is active.
This is due to how the WFS
``GetFeature``
query +
``Intersects``
filter is constructed
(
``MultiPolygon``
made of the combination of all
``Polygon``
features).
### _Software libraries selected_
...
...
This diff is collapsed.
Cliquez pour l'agrandir.
Aperçu
0%
Chargement en cours
Veuillez réessayer
ou
joindre un nouveau fichier
.
Annuler
You are about to add
0
people
to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Enregistrer le commentaire
Annuler
Veuillez vous
inscrire
ou vous
se connecter
pour commenter