awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
google avatar

google/open-location-code

0
View on GitHub↗
4,329 星标·527 分支·Java·Apache-2.0·7 次浏览plus.codes↗

Open Location Code

Open Location Code 是一个地理编码库和工具集,用于将全球经纬度坐标转换为标准化的、人类可读的字母数字数字地址,反之亦然。它作为一个离线位置编码系统,为地球上的任何位置生成唯一标识符,专门为缺乏正式街道地址或邮政系统的地区提供数字地址。

该系统作为无状态算法过程运行,允许在无需网络访问、互联网连接或外部数据库查找表的情况下对坐标进行编码和解码。它利用基于参考的缩短方式,通过省略基于附近参考点的公共前缀来减少地理标识符的长度。

该库包括用于双向地理编码转换和代码操作的实用工具。这些能力涵盖了位置字符串的验证、从缩短版本中恢复完整代码,以及将坐标转换为字母数字字符的分层网格。

Features

  • Digital Addressing Systems - Creates unique alphanumeric identifiers for locations that lack formal street addresses or postal systems.
  • Geocode Decoders - Open Location Code translates alphanumeric location codes into latitude and longitude coordinates without requiring a network connection.
  • Geographic Coordinate Encoders - Provides the core capability of encoding global coordinates into standardized alphanumeric digital addresses.
  • Global Location Identifiers - Creates unique and precise digital identifiers for any location on Earth where street addresses are missing.
  • Geocoding Libraries - Provides a comprehensive library for converting latitude and longitude coordinates into short alphanumeric digital addresses and back.
  • Offline Geolocation Indexes - Translates location codes back into coordinates locally without requiring an internet connection or external database.
  • Custom Alphabet Encodings - Implements a custom alphabet encoding to transform grid indices into concise, human-readable location strings.
  • Coordinate-to-Code Encoders - Encodes global map coordinates into a standardized short-code format for use as digital addresses.
  • Spatial Partitioning Systems - Divides the global map into a hierarchy of nested squares to map coordinates to alphanumeric characters.
  • Stateless Algorithm Implementations - Implements mathematical formulas to calculate coordinates from strings without requiring any external state or database.
  • Bit-Shifting Arithmetic - Uses bit-shifting and binary logic to convert floating point coordinates into discrete grid cell identifiers.
  • Offline Geocoding Systems - Operates as a coordinate-to-code system without network access or external lookup tables to resolve geographic positions.
  • Spatial Precision Levels - Nests smaller grid cells within larger ones to allow for varying levels of precision and zoom.
  • Geocode Recovery - Restores a full location code by combining a shortened version with a nearby reference location.
  • Geographic Identifier Management - Reduces the length of geographic identifiers using local reference points to make addresses easier for humans to share.
  • Geographic Code Manipulators - Open Location Code reduces the length of a location code by using a nearby reference point to omit leading characters.
  • Reference-Based Identifiers - Omits the common prefix of a location code by storing a nearby reference point for local recovery.
  • Geographic Code Validators - Verifies whether a string is a valid sequence or a complete and well-formed location code.

Star 历史

google/open-location-code 的 Star 历史图表google/open-location-code 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

Open Location Code 的开源替代方案

相似的开源项目,按与 Open Location Code 的功能重合度排序。
  • geopy/geopygeopy 的头像

    geopy/geopy

    4,819在 GitHub 上查看↗

    geopy is a Python geocoding library and geolocation client used to convert human-readable addresses into geographic coordinates and resolve coordinates back into street addresses using various third-party web services. The library provides a consistent provider-based interface that abstracts multiple external geocoding services, allowing for interchangeable backends. It includes built-in request rate limiting and asynchronous client interfaces to manage API call frequency and execute concurrent lookups without halting execution. Beyond geocoding, the project includes geospatial utilities for

    Pythongeocodergeocodingpython
    在 GitHub 上查看↗4,819
  • geocoder-php/geocodergeocoder-php 的头像

    geocoder-php/Geocoder

    3,975在 GitHub 上查看↗

    Geocoder is a PHP library for converting addresses to geographic coordinates and coordinates back into addresses using various third-party services. It functions as a multi-provider geocoding wrapper and a reverse geocoding engine, providing an abstraction layer to manage multiple geocoding APIs. The project allows for switching between providers or chaining requests for failover to ensure high availability. It also serves as a GeoIP location resolver, translating IP addresses into geographic coordinates and location details through either remote services or local binary databases. The libra

    PHPgeocoder
    在 GitHub 上查看↗3,975
  • alexreisner/geocoderalexreisner 的头像

    alexreisner/geocoder

    6,446在 GitHub 上查看↗

    This is a Ruby toolkit for converting addresses to geographic coordinates and performing reverse geocoding via multiple external API providers. It provides a library for integrating location services into Ruby applications, including an IP geolocation tool to translate IP addresses into coordinates, city names, and country data. The project includes a command line interface for bulk geocoding of database records with integrated rate limiting and a geospatial query engine for calculating distances and performing radius or bounding box searches. It also features a mocking framework that provide

    Ruby
    在 GitHub 上查看↗6,446
  • dylang/shortiddylang 的头像

    dylang/shortid

    5,715在 GitHub 上查看↗

    shortid is a library for creating compact, non-sequential strings used as unique identifiers for database records and public URLs. It functions as a URL-friendly identifier utility designed to produce short alphanumeric strings. The project allows for the use of a custom alphabet to control the visual appearance of identifiers and avoid ambiguity. This custom character set mapping ensures that generated keys meet specific formatting or branding requirements. The system includes capabilities for non-sequential key generation to prevent resource enumeration, as well as tools to validate whethe

    JavaScript
    在 GitHub 上查看↗5,715
查看 Open Location Code 的所有 22 个替代方案→

常见问题解答

google/open-location-code 是做什么的?

Open Location Code 是一个地理编码库和工具集,用于将全球经纬度坐标转换为标准化的、人类可读的字母数字数字地址,反之亦然。它作为一个离线位置编码系统,为地球上的任何位置生成唯一标识符,专门为缺乏正式街道地址或邮政系统的地区提供数字地址。

google/open-location-code 的主要功能有哪些?

google/open-location-code 的主要功能包括:Digital Addressing Systems, Geocode Decoders, Geographic Coordinate Encoders, Global Location Identifiers, Geocoding Libraries, Offline Geolocation Indexes, Custom Alphabet Encodings, Coordinate-to-Code Encoders。

google/open-location-code 有哪些开源替代品?

google/open-location-code 的开源替代品包括: geocoder-php/geocoder — Geocoder is a PHP library for converting addresses to geographic coordinates and coordinates back into addresses using… geopy/geopy — geopy is a Python geocoding library and geolocation client used to convert human-readable addresses into geographic… alexreisner/geocoder — This is a Ruby toolkit for converting addresses to geographic coordinates and performing reverse geocoding via… dylang/shortid — shortid is a library for creating compact, non-sequential strings used as unique identifiers for database records and… googlemaps/google-maps-services-python — This project is a Python client library for interacting with Google Maps web services to retrieve geospatial, routing,… hpneo/gmaps — gmaps is a library that provides a wrapper for the Google Maps API, serving as a geospatial data toolkit and…