Code Monkey home page Code Monkey logo

ogcapi-discrete-global-grid-systems's Introduction

ogcapi-discrete-global-grid-systems

SwaggerHub API definition

The file dggs-zonequery.yml can be pasted into a SwaggerHub project to test the structure of the API An example such project is: https://app.swaggerhub.com/apis/rggibb/dggs-zonequery/

OGC Standard Document Template Initialisation (Linux)

Commands to initialise and compile the OGC Metanorma Standard document template. These should be run from the root directory of this github repository.

  1. Download/update the Metanorma Docker Container

Note

docker pull metanorma/mn:latest

  1. Create new Metanorma OGC standard from OGC Template

Note

Example:

docker run -i -v "$(pwd)":/metanorma metanorma/mn metanorma new -d standard -t ogc -l https://github.com/metanorma/mn-templates-ogc 21_038_OGC_API_DGGS_Part_1

  1. Update Docker Instance with data from this github repository

Note

docker cp ./ <Docker_Container_ID>:"/metanorma/21_038_OGC_API_DGGS_Part_1"

Example: cd ./21_038_OGC_API_DGGS_Part_1 docker cp ./ 2622352e28ed:"/metanorma"

  1. Compile document

Note

docker start <docker_container> docker exec -it <docker_container> /bin/bash $> metanorma compile --agree-to-terms -t ogc -x xml,html,doc 21_038_OGC_API_DGGS_Part_1/document.adoc Example:

docker start 2622352e28ed docker exec -it 2622352e28ed /bin/bash $> metanorma compile --agree-to-terms -t ogc -x xml,html,doc 21_038_OGC_API_DGGS_Part_1/document.adoc

  1. Copy the compiled Metanorma documents back to the github repository local directory.

Note

docker cp <Docker_Container_ID>:"/metanorma/21_038_OGC_API_DGGS_Part_1" .

Example:

docker cp 2622352e28ed:"/metanorma/21_038_OGC_API_DGGS_Part_1" .

  1. Commit the changes and compiled Metanorma documents to github

Note

Example:

git commit -m "Changes to Conformance Class 1"

git push

ogcapi-discrete-global-grid-systems's People

Contributors

rggibb avatar geofizzydrink avatar ghobona avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.