simonschaufi/php-libkml 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

simonschaufi/php-libkml

最新稳定版本:v1.0.1

Composer 安装命令:

composer require simonschaufi/php-libkml

包简介

A library to manipulate KML/KMZ files

关键字:

README 文档

README

Donate Latest Version on Packagist GitHub Tests Action Status Total Downloads License

A php library to parse KML/KMZ files.

php-libKML maps KML/KMZ data into PHP objects that follow the KML specification. The purpose of the library is to create KML file from code, parse KML files and convert to another format maintaining the complete KML information.

Features

  • KML schema version 2.2
  • PHP 7.4+
  • Composer integration
  • Object oriented design
  • Comprehensive KML model
  • Import
    • KML

Future features:

  • Google extensions support
  • Import
    • KMZ
    • GeoJson
  • Export
    • KML/KMZ
    • GeoJson
    • WKT

Installation

You can install the package via composer:

composer require simonschaufi/php-libkml

Usage

$kmlReader = new KmlReader();
$kmlDocument = $kmlReader->fromString($kml);
// or
$kmlDocument = $kmlReader->fromKmlFile($kmlFilePath);

Contributing

Pull Requests are gladly welcome!

Please remember to add an issue and connect it to your pull requests. It is very helpful to understand what kind of issue the PR is going to solve.

Bugfixes:

Please describe what kind of bug your fix solves and give us feedback on how to reproduce the issue. We're going to accept only bugfixes if we can reproduce the issue.

Execute unit tests:

composer local:tests:unit

Execute acceptance tests:

composer local:tests:acceptance

Credits

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

  • Stars: 30
  • Watchers: 4
  • Forks: 11
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0
  • 更新时间: 2024-02-22