{"id":16964004,"url":"https://github.com/eva-ss/maplib","last_synced_at":"2025-10-08T09:31:20.502Z","repository":{"id":65754142,"uuid":"587565732","full_name":"EVA-SS/MapLib","owner":"EVA-SS","description":"🌏实用的地图空间计算/桩号/车道级","archived":false,"fork":false,"pushed_at":"2024-10-28T04:06:41.000Z","size":335,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-28T10:46:39.749Z","etag":null,"topics":["csharp","geolocation","geometry","map"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EVA-SS.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":"2023-01-11T03:32:15.000Z","updated_at":"2024-10-28T04:06:45.000Z","dependencies_parsed_at":"2024-10-27T09:04:36.114Z","dependency_job_id":null,"html_url":"https://github.com/EVA-SS/MapLib","commit_stats":null,"previous_names":["haku-men/maplib"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EVA-SS%2FMapLib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EVA-SS%2FMapLib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EVA-SS%2FMapLib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EVA-SS%2FMapLib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EVA-SS","download_url":"https://codeload.github.com/EVA-SS/MapLib/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235700107,"owners_count":19031668,"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":["csharp","geolocation","geometry","map"],"created_at":"2024-10-13T23:26:51.958Z","updated_at":"2025-10-08T09:31:20.497Z","avatar_url":"https://github.com/EVA-SS.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MapLib\n实用的地图空间计算/桩号/车道级\n\n📣点是**零维**的，线是**一维**的，区域是**二维**的\n\n\u003e 因行业所需，开发了这份开源库，已经经过现实与时间测试\n\n## 🌴支持\n\n#### 坐标转换\n\n火星坐标/百度坐标/世界坐标\n\u003e GCJ-02/BD-09/WGS84\n\n#### 计算里程\n\n计算两点之间的距离，计算线的距离\n\n#### 判断是否在区域内\n\n判断点是否在区域内\n\n#### 方向角/目标点\n\n计算两点的方向角，通过当前点和方向角计算某个距离的目标点\n\n#### 桩号/自定义\n\n使用 `方向角/目标点` 能获取未来点位置的特性，我们可以将杂乱无章的线坐标轻松转换成井然有序的桩号点\n\u003e结合现实中 `人工测绘误差` 的实际桩号 `系统内称为自定义桩号` 通过平均里程的方式，达到与现实1:1的桩号分部\n\n## ✍参考\n\n[http://www.movable-type.co.uk/scripts/latlong.html](http://www.movable-type.co.uk/scripts/latlong.html)\n\n![方向角](screenshot/Bearing.png?raw=true)\n\n![目标点](screenshot/Destination.png?raw=true)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feva-ss%2Fmaplib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feva-ss%2Fmaplib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feva-ss%2Fmaplib/lists"}