{"id":18256947,"url":"https://github.com/mediacomem/ogc-api-features","last_synced_at":"2025-04-08T22:29:00.455Z","repository":{"id":73832517,"uuid":"601140710","full_name":"MediaComem/ogc-api-features","owner":"MediaComem","description":"Generic implementation of OGC API Features with Node.js, Express and PostgreSQL","archived":false,"fork":false,"pushed_at":"2023-06-01T12:41:21.000Z","size":60,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-02-14T17:43:27.052Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MediaComem.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-13T13:05:04.000Z","updated_at":"2023-04-27T12:58:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"d8147707-e245-4597-a30f-fad3b88545aa","html_url":"https://github.com/MediaComem/ogc-api-features","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MediaComem%2Fogc-api-features","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MediaComem%2Fogc-api-features/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MediaComem%2Fogc-api-features/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MediaComem%2Fogc-api-features/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MediaComem","download_url":"https://codeload.github.com/MediaComem/ogc-api-features/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247938582,"owners_count":21021553,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-05T10:24:16.135Z","updated_at":"2025-04-08T22:29:00.449Z","avatar_url":"https://github.com/MediaComem.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OGC API with Node.js, Express, and PostgreSQL\n\nGeneric implementation of OGC API with Node.js, Express and PostgreSQL\n\n## Step #1\n\nRun `cp env.sample .env` and adapt the content of the `.env` file to your environment.\n\nIt must at least have the following environment variables:\n\n```bash\nDB_NAME='\u003cdb_name\u003e'\nDB_HOST='\u003chost_name\u003e'\nDB_PORT=\u003cport_number\u003e\nDB_USER='\u003cuser_name\u003e'\nDB_PASSWORD='\u003cuser_password\u003e'\nAPP_HOST_PORT=\u003capplication_port_on_the_host\u003e\n```\n\n## Step #2\n\nCreate a `config.yml` file with the informations you want to display for each collection. You can take example on `config.example.yml`.\n\n## Step #3\n\nInstall the dependencies running the following command:\n\n`npm ci`\n\n## Step #4\n\nStart the server running the following command:\n\n`node index.js`\n\n__Note:__ For development purposes, you can use `nodemon` to automatically restart the server when a file is changed. To do so, run the following command:\n\n`nodemon index.js`\n\n## Step 5\n\nIf you want to have geopose information, add the entries `is_azimuth` (in case you have an azimuth instead of a yaw, the boolean must be `true`. In this case, we convert your azimuth to yaw), `yaw_field`, `roll_field` and `pitch_field` to your configuration file, as in the following example:\n```\n    providers:\n      - type: feature\n        name: PostgreSQL\n        data:\n          schema: public\n          id_field: id\n          table: images\n          geom_field: location\n          is_azimuth: true\n          yaw_field: azimuth\n          roll_field: roll\n          pitch_field: tilt\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmediacomem%2Fogc-api-features","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmediacomem%2Fogc-api-features","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmediacomem%2Fogc-api-features/lists"}