承接 geo-io/crs 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

geo-io/crs

Composer 安装命令:

composer require geo-io/crs

包简介

Coordinate Reference System (CRS) utilities.

README 文档

README

Build Status Coverage Status

Coordinate Reference System (CRS) utilities.

Installation

Install through composer. Check the packagist page for all available versions.

composer require geo-io/crs

Usage

def_to_srid

Converts a CRS definition to a Spatial Reference System Identifier (SRID).

echo GeoIO\CRS\def_to_srid('urn:ogc:def:crs:OGC:1.3:CRS84')."\n";
echo GeoIO\CRS\def_to_srid('http://spatialreference.org/ref/epsg/4322')."\n";

The above example will produce the following output.

4326
4322

If the definition can't be converted to a SRID, it throws a GeoIO\CRS\Exception\UnknownDefinitionException.

srid_to_urn

Converts a Spatial Reference System Identifier (SRID) to an URN.

echo GeoIO\CRS\srid_to_urn(4326)."\n";
echo GeoIO\CRS\srid_to_urn(4322)."\n";

The above example will produce the following output.

urn:ogc:def:crs:OGC:1.3:CRS84
urn:ogc:def:crs:EPSG::4322

License

Copyright (c) 2016-2022 Jan Sorgalla. Released under the MIT License.

统计信息

  • 总下载量: 25.26k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 0
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-01-27

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固