{"id":18778675,"url":"https://github.com/ramsailopal/yottadb-maps","last_synced_at":"2025-12-17T16:30:15.009Z","repository":{"id":127742772,"uuid":"464432495","full_name":"RamSailopal/YottaDB-Maps","owner":"RamSailopal","description":"A demo of M based globals as a co-ordinate store that can then be used to map points of interest.","archived":false,"fork":false,"pushed_at":"2022-03-23T11:11:11.000Z","size":1479,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-29T10:25:31.018Z","etag":null,"topics":["english-football-league","gps","gps-data","gtm","intersystems-cache","interysystems","mapping","maps","mumps","points-of-interest","telematics","yottadb"],"latest_commit_sha":null,"homepage":"","language":"Go","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/RamSailopal.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":"2022-02-28T10:15:57.000Z","updated_at":"2023-07-21T12:15:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"82e2f320-c555-48dc-b5f8-25537dbb1cc0","html_url":"https://github.com/RamSailopal/YottaDB-Maps","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/RamSailopal%2FYottaDB-Maps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamSailopal%2FYottaDB-Maps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamSailopal%2FYottaDB-Maps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamSailopal%2FYottaDB-Maps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RamSailopal","download_url":"https://codeload.github.com/RamSailopal/YottaDB-Maps/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239690074,"owners_count":19681035,"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":["english-football-league","gps","gps-data","gtm","intersystems-cache","interysystems","mapping","maps","mumps","points-of-interest","telematics","yottadb"],"created_at":"2024-11-07T20:16:54.420Z","updated_at":"2025-12-17T16:30:14.974Z","avatar_url":"https://github.com/RamSailopal.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# YottaDB-Maps\n\n ![Alt text](yottadb-maps.webp?raw=true?raw=true \"Maps view\")\n\nA demo of M based globals (YottaDB/Intersystems/GTM) as a co-ordinate store that can then be used to map points of interest.\n\nThe demo uses the co-ordinates of the football grounds in England as a data set and then exposes this data via a REST API to be consumed and then utilised to display the locations of the grounds on a map:\n\n     ^STADIUMS(\"A.F.C. Bournemouth\",50.735277)=-1.83833\n     ^STADIUMS(\"Arsenal \",51.555)=\"-0.108611\"\n     ^STADIUMS(\"Aston Villa \",52.509167)=-1.884722\n     ^STADIUMS(\"Barnsley \",53.552222)=-1.4675\n     ^STADIUMS(\"Birmingham City \",52.475703)=-1.868189\n     ^STADIUMS(\"Blackburn Rovers \",53.728611)=-2.489167\n     ^STADIUMS(\"Blackpool \",53.804722)=-3.048056\n     ^STADIUMS(\"Bolton Wanderers \",53.580556)=-2.535556\n     ^STADIUMS(\"Bradford City\",53.804222)=-1.759022\n     ^STADIUMS(\"Brentford\",51.488183)=\"-0.302639\"\n\n**React-leaflet** is used in the \"front-end\" and **mg-web/YottaDB** as the \"back-end\"\n\n# Gitpod deployment\n\n[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/RamSailopal/YottaDB-Maps)\n\n1) Create a free/paid Gitpod account - https://www.gitpod.io/\n2) Log into the account\n3) Open a new browser tab and add **gitpod.io/#https://github.com/RamSailopal/YottaDB-Maps** to the address - This will create a new Gitpod cloud instance.\n4) Let the containers fully load\n5) Click on the **remote explorer** icon on the left hand panel (looking like a monitor)\n6) Click the globe icon next to **9966** to view the front-end and the globe icon next to **8080** for the backend and then add **/api/cords** to the end.\n7) Due to blocked cross origin requests, A CORS browser add-on also needs to be added and enabled\n   https://addons.mozilla.org/en-GB/firefox/addon/cors-everywhere/\n   \n   https://chrome.google.com/webstore/detail/cors-unblock/lfhmikememgdcahcdlaciloancbhjino?hl=en\n   \n   With the firefox addon, ensure that the plugin is enabled in the browser header as in the image below:\n   \n   ![Alt text](https://github.com/RamSailopal/Fileman-d3/raw/main/corsenabled.png?raw=true?raw=true \"CORS enabled\")\n   \n   This contrasts to when CORS is disabled as in the image below:\n   \n   ![Alt text](https://github.com/RamSailopal/Fileman-d3/raw/main/corsdisabled.png?raw=true?raw=true \"CORS disabled\") \n   \n   Once the CORS plugin is enabled, the map of the English football grounds will appear.\n\n# Local Deployment\n\nWith Git, Docker and docker compose installed:\n\n     git clone https://github.com/RamSailopal/YottaDB-Maps.git\n     cd YottaDB-Maps\n     export apiadd=\"https://ipaddress-of-docker-server:8080/\"\n     docker-compose up\n    \nFront-end - http://ipaddress-of-docker-server:9966\nBack-end - http://ipaddress-of-docker-server:8080/api/cords\n\n# References\n\n**React-leaflet** - https://react-leaflet.js.org/\n\n**YottaDB** - https://yottadb.com\n\n**mg-web** - https://github.com/robtweed/mgweb-server\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Framsailopal%2Fyottadb-maps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Framsailopal%2Fyottadb-maps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Framsailopal%2Fyottadb-maps/lists"}