Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OWC Context (POC) #90

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from
Draft

OWC Context (POC) #90

wants to merge 1 commit into from

Conversation

lowzonenose
Copy link
Contributor

@lowzonenose lowzonenose commented Dec 18, 2024

Exemple d’implémentation de OWC Context avec les service WMS

Le développement consiste à faire une transformation de schema entre la source et OWC Context.

Sources possible

  • le service de recherche
  • le datastore de cartes.gouv.fr
  • la conf tech de geoportail-configuration

Implémentation possible

  • implémentation via la classe de service
// appel via les services
 Gp.Services.getContext({
      data : [{
        name : "PLAN.IGN",
        service : "TMS",
      }],
      configuration : {
          type : "service", // ou service|json|object
          url : "[url du service de recherche]" // data: "file.json" ou data: {}
      },
      onSuccess : (response) => {}
      onFailure : (error) => {}
 });
  • implémentation direct avec la classe
// appel direct de la classe
var owc = new OWC({
 // conf tech issue de geoportal-configuration
 data : {...},
 // nom du template de transformation
 template : "geoportal-configuration", 
 // version du template
 version : 1.0, 
});
owc.setVersion();
owc.setData();
owc.setTemplate();
var context = owc.build();

Mettre en place pour les offering

  • WMS
  • WMTS
  • TMS
  • WFS
  • KML
  • GPX
  • GeoJSON

@lowzonenose lowzonenose self-assigned this Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant