{"id":18525200,"url":"https://github.com/leifgehrmann/csv-reproject","last_synced_at":"2025-10-31T23:30:31.356Z","repository":{"id":92189034,"uuid":"184139532","full_name":"leifgehrmann/csv-reproject","owner":"leifgehrmann","description":"A command line tool to reproject a CSV from one CRS to another","archived":false,"fork":false,"pushed_at":"2019-04-30T21:50:39.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-26T00:41:44.997Z","etag":null,"topics":["csv","projection","python"],"latest_commit_sha":null,"homepage":null,"language":"Python","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/leifgehrmann.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}},"created_at":"2019-04-29T20:28:36.000Z","updated_at":"2019-05-03T20:45:04.000Z","dependencies_parsed_at":"2023-06-07T22:00:35.900Z","dependency_job_id":null,"html_url":"https://github.com/leifgehrmann/csv-reproject","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/leifgehrmann%2Fcsv-reproject","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leifgehrmann%2Fcsv-reproject/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leifgehrmann%2Fcsv-reproject/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leifgehrmann%2Fcsv-reproject/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leifgehrmann","download_url":"https://codeload.github.com/leifgehrmann/csv-reproject/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239242066,"owners_count":19605946,"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":["csv","projection","python"],"created_at":"2024-11-06T17:44:43.493Z","updated_at":"2025-10-31T23:30:31.297Z","avatar_url":"https://github.com/leifgehrmann.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# csv-reproject\n\nA command line tool to reproject a CSV from one Coordinate Reference System to\nanother.\n\n## Example\n\nImagine the following CSV file with some annoying columns:\n\n```\nId,Name,Easting/Northing\n10,Bob,\" 325311,673501\"\n20,Alice,\" 259562,664497\"\n30,Carol,\" 266645,845032\"\n```\n\nTo re-project these coordinates, one can run the following command:\n\n```\ncsv-reproject \\\n    --from-proj=\"epsg:27700\" \\\n    --from-x-column=\"Easting/Northing\" \\\n    --from-x-format=\" (-?[0-9.]+),.*\" \\\n    --from-y-column=\"Easting/Northing\" \\\n    --from-y-format=\".*,(-?[0-9.]+)\" \\\n    --to-proj=\"EPSG:4326\" \\\n    --to-x-header=Longitude \\\n    --to-y-header=Latitude \\\n    myData.csv\n```\n\nThis will modify the file to have two new columns called `Longitude` and\n`Latitude` which can now easily be imported into software like JOSM!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleifgehrmann%2Fcsv-reproject","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleifgehrmann%2Fcsv-reproject","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleifgehrmann%2Fcsv-reproject/lists"}