{"id":18739709,"url":"https://github.com/roblabs/geojson-primer","last_synced_at":"2025-04-05T20:28:46.236Z","repository":{"id":250249175,"uuid":"822789989","full_name":"roblabs/geojson-primer","owner":"roblabs","description":"A primer on GeoJSON tools you can use with Visual Studio Code","archived":false,"fork":false,"pushed_at":"2024-07-31T21:44:25.000Z","size":12,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T21:37:45.415Z","etag":null,"topics":["cli","geojson","visualstudiocode"],"latest_commit_sha":null,"homepage":"https://RobLabs.com/geojson-primer","language":"TypeScript","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/roblabs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2024-07-01T20:38:34.000Z","updated_at":"2024-10-03T01:12:29.000Z","dependencies_parsed_at":"2024-07-26T04:43:27.871Z","dependency_job_id":"71e6a706-72d4-45be-926b-9b3fa82dd9bc","html_url":"https://github.com/roblabs/geojson-primer","commit_stats":null,"previous_names":["roblabs/geojson-primer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roblabs%2Fgeojson-primer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roblabs%2Fgeojson-primer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roblabs%2Fgeojson-primer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roblabs%2Fgeojson-primer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/roblabs","download_url":"https://codeload.github.com/roblabs/geojson-primer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247397294,"owners_count":20932501,"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":["cli","geojson","visualstudiocode"],"created_at":"2024-11-07T15:37:06.430Z","updated_at":"2025-04-05T20:28:46.211Z","avatar_url":"https://github.com/roblabs.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca href=\"https://roblabs.com\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/118112\" style=\"border-radius:4px\" width=\"20\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/roblabs/geojson-primer\"\u003e\u003cimg src=\"https://img.shields.io/github/stars/roblabs/geojson-primer?label=Source\u0026amp;style=social\" alt=\"GitHub Repo Source\" /\u003e\u003c/a\u003e\n\u003cimg src=\"https://img.shields.io/github/license/roblabs/geojson-primer\" alt=\"GitHub\" /\u003e\n[![vscode.dev](https://img.shields.io/badge/VSCode-.dev-blue)][vscode.dev]\n\n# 🛠️ GeoJSON Primer \n\nA primer[\u003csup\u003e1\u003c/sup\u003e](#about) on GeoJSON tools you can use with Visual Studio Code.\n\n## 🔨Visual Studio Code Extensions\n\n[GeoJSON.IO for VSCode] : \u003chttps://marketplace.visualstudio.com/items?itemName=swallow.geojson-io-for-vscode\u003e \"Create, Edit and Preview GeoJSON Data In VSCode\"\n\n[Rainbow CSV] : \u003chttps://marketplace.visualstudio.com/items?itemName=mechatroner.rainbow-csv\u003e \"Highlight CSV and TSV files\"\n* Plus other useful VS Code extensions\n    * Markdown editing (PDF, paste image, GitHub style preview)\n    * Git Graph\n\n---\n\n## GeoJSON Data\n\n### 🔧 Creating GeoJSON\n\n[geojson-random] : \u003chttps://www.npmjs.com/package/geojson-random\u003e \"Generate random GeoJSON features\"\n\nGenerate three random GeoJSON features\n\n```bash\ngeojson-random 3  \u003e 3.geojson\n```\n\n---\n\n### 🖋️ Prettier\n\n[prettier] : \u003chttps://www.npmjs.com/package/prettier\u003e \"Prettier is an opinionated code formatter\"\n\nMake a GeoJSON file 'prettier' or easier to read\n\n```bash\nprettier --write 3.geojson\n```\n\n---\n\n### 🪚 Converting GeoJSON\n\n[geojson2csv] : \u003chttps://www.npmjs.com/package/geojson2csv\u003e \"converting a geojson file to a csv file\"\n\nConvert GeoJSON to CSV\n\n```bash\ngeojson2csv data/parks.geojson\n```\n\n---\n\n### 🗜️ Precision for GeoJSON\n\n[geojson-precision-ts] : \u003chttps://www.npmjs.com/package/geojson-precision-ts\u003e \"Remove meaningless precision from GeoJSON\"\n\n---\n\n### ⚙️ Validate GeoJSON\n\n[@mapbox/geojsonhint] : \u003chttps://www.npmjs.com/package/@mapbox/geojsonhint\u003e \"complete, fast, standards-based validation for geojson\"\n\nUse `@mapbox/geojson` to look for hints on your GeoJSON\n\n```bash\ngeojsonhint 3.geojson\n```\n\nor, use `@placemarkio/check-geojson` to look to check your GeoJSON\n\n```bash\ngeojson-check 3.geojson\n```\n\n---\n\n### 🔬 Visualizing GeoJSON\n\nFrom the command line, you can push your GeoJSON to a browser that can help you visualize your GeoJSON.\n\n[geojsonio-cli] : \u003chttps://www.npmjs.com/package/geojsonio-cli\u003e \"Use the command line to open GeoJSON\"\n\n#### Visualize at GeoJSON.io\n\n* You can visualize your GeoJSON at \u003chttps://geojson.io\u003e\n\n```bash\n# from a command line, open GeoJSON on disk\ngeojsonio data/parks.geojson\n```\n\n---\n\n#### Visualize with NPS Park Tiles\n\n* You can visualize your GeoJSON at \u003chttps://RobLabs.com/geojson\u003e or inspect the [source for a GeoJSON visualizer](https://github.com/roblabs/geojson) to host on your own site.\n\n```bash\n# Pass in the domain of where to open your GeoJSON\ngeojsonio data/parks.geojson --domain=https://roblabs.com/geojson\n```\n\n---\n\n\u003c!-- Markdown Relative Links --\u003e \n[vscode.dev]: \u003chttps://vscode.dev/github/roblabs/geojson-primer\u003e \"A lightweight version of VS Code running fully in the browser\"\n\n\n### About\n\nCreated in summer 2024 as a way to teach others how to use GeoJSON, Node, and Visual Studio Code.  Use the random tools to generate GeoJSON.  Use 'prettier' to format GeoJSON.  Methods to convert GeoJSON properties to CSV for further inspection.\n\n\u003csmall\u003e\nˈprimər, noun  \u003ci\u003e\"an elementary textbook that serves as an introduction to a subject of study or is used for teaching children to read\"\u003c/i\u003e\n\u003c/small\u003e\n\n[🔝](#geojson-data)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froblabs%2Fgeojson-primer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froblabs%2Fgeojson-primer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froblabs%2Fgeojson-primer/lists"}