{"id":31760981,"url":"https://github.com/do-me/flatgeobuf-viewer","last_synced_at":"2025-10-09T21:42:46.331Z","repository":{"id":302064456,"uuid":"1011127878","full_name":"do-me/flatgeobuf-viewer","owner":"do-me","description":"A simple web-based app for viewing and inspecting flatgeobuf files (.fgb).","archived":false,"fork":false,"pushed_at":"2025-06-30T11:07:58.000Z","size":2784,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-30T11:47:14.800Z","etag":null,"topics":["flatgeobuf","maplibre","openfreemap"],"latest_commit_sha":null,"homepage":"https://do-me.github.io/flatgeobuf-viewer/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/do-me.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2025-06-30T10:46:51.000Z","updated_at":"2025-06-30T11:08:01.000Z","dependencies_parsed_at":"2025-06-30T11:47:17.253Z","dependency_job_id":"019be559-a18a-4c9b-ad0d-c12fe866a34e","html_url":"https://github.com/do-me/flatgeobuf-viewer","commit_stats":null,"previous_names":["do-me/flatgeobuf-viewer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/do-me/flatgeobuf-viewer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/do-me%2Fflatgeobuf-viewer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/do-me%2Fflatgeobuf-viewer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/do-me%2Fflatgeobuf-viewer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/do-me%2Fflatgeobuf-viewer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/do-me","download_url":"https://codeload.github.com/do-me/flatgeobuf-viewer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/do-me%2Fflatgeobuf-viewer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002052,"owners_count":26083286,"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","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["flatgeobuf","maplibre","openfreemap"],"created_at":"2025-10-09T21:41:55.102Z","updated_at":"2025-10-09T21:42:46.325Z","avatar_url":"https://github.com/do-me.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FlatGeobuf Viewer\n\n[![Live Demo](https://img.shields.io/badge/Live-Demo-brightgreen?style=for-the-badge)](https://do-me.github.io/flatgeobuf-viewer/)\n\nA fast, simple, client-side web application to visualize [FlatGeobuf](https://flatgeobuf.org/) (`.fgb`) files directly in your browser.\n\n![Screenshot of the FlatGeobuf Viewer application](https://github.com/user-attachments/assets/423226e7-9652-4624-ae7a-aa08ef42b7fb)\n\n## Features\n\n-   **Drag \u0026 Drop:** Easily load `.fgb` files from your local machine.\n-   **Feature Inspection:** Click on any feature to view its properties in a popup.\n-   **Metadata Viewer:** See the file's header metadata, including CRS, geometry type, and schema.\n-   **Data Statistics:** Get a quick overview of the feature count and geometry type.\n-   **Dark Mode:** Toggle between light and dark themes for comfortable viewing.\n-   **Client-Side Processing:** Your data stays on your machine. No uploads, no waiting.\n-   **Responsive Design:** Works on both desktop and mobile devices.\n\n## How to Use\n\n1.  **Open the Live Demo:** [https://do-me.github.io/flatgeobuf-viewer/](https://do-me.github.io/flatgeobuf-viewer/)\n2.  **Load Data:**\n    -   Drag and drop a `.fgb` file anywhere on the page.\n    -   OR, click the \"Load Data\" box to browse for a file on your computer.\n3.  **Explore:** The map will automatically zoom to your data's extent and display the features.\n\nA default dataset is loaded on startup for demonstration.\n\n## Data \n\n- NUTS3 areas downloaded from https://ec.europa.eu/eurostat/web/gisco/geodata/statistical-units/territorial-units-statistics\n- Quickly processed and filtered with GeoPandas:\n\n```python\nimport geopandas as gpd\ngdf = gpd.read_file(\"NUTS_RG_01M_2024_3857.geojson\")\ngdf[\n    (gdf[\"CNTR_CODE\"].isin([\"IT\",\"DE\",\"AT\",\"CH\",\"HR\",\"SI\",\"MC\",\"SM\",\"FR\", \"LI\"])) \u0026 # random list of countries\n    (gdf[\"LEVL_CODE\"] == 3)\n    ].to_crs(\"4326\").to_file(\"EU_NUTS3_01M.fgb\")\n```\n\n## Technology Stack\n\n-   [FlatGeobuf](https://github.com/flatgeobuf/flatgeobuf) - For deserializing `.fgb` files.\n-   [MapLibre GL JS](https://maplibre.org/) - For rendering the interactive map.\n-   [Tailwind CSS](https://tailwindcss.com/) - For styling the user interface.\n-   [JSON-Formatter-JS](https://github.com/mohsen1/json-formatter-js) - For pretty-printing metadata.\n-   [OpenFreeMap](https://openfreemap.org/quick_start/) - For the basemap.\n\n## Credits and Acknowledgements\n\n-   Developed by **Dominik Weckmüller**.\n-   This project is derived from and inspired by the official [FlatGeobuf MapLibre Example](https://flatgeobuf.org/examples/maplibre/).\n\n## License\n\nThis project is licensed under the MIT License - see the `LICENSE` file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdo-me%2Fflatgeobuf-viewer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdo-me%2Fflatgeobuf-viewer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdo-me%2Fflatgeobuf-viewer/lists"}