定制 eslider/spatialite 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

eslider/spatialite

Composer 安装命令:

composer require eslider/spatialite

包简介

Sqlite and spatialite static binaries

README 文档

README

  • Windows x32 and Linux x64 binaries
  • PHP shell wrapper driver
  • PHP native wrapper driver

About

SpatiaLite is an open source library intended to extend the SQLite core to support fully fledged Spatial SQL capabilities. SQLite is intrinsically simple and lightweight:

  • a single lightweight library implementing the full SQL engine
  • standard SQL implementation: almost complete SQL-92
  • no complex client/server architecture
  • a whole database simply corresponds to a single monolithic file (no size limits)
  • any DB-file can be safely exchanged across different platforms, because the internal architecture is universally portable
  • no installation, no configuration

SpatiaLite is smoothly integrated into SQLite to provide a complete and powerful Spatial DBMS (mostly OGC-SFS compliant). Using SQLite + SpatiaLite you can effectively deploy an alternative open source Spatial DBMS roughly equivalent to PostgreSQL + PostGIS.

SpatiaLite is licensed under the MPL tri-license terms; you are free to choose the best-fit license between:

Installation

composer require "eslider/spatialite"

Develop

composer update

Setup

In order to get native driver work, you need set absolute path of sqlite3.extension_dir variable in php.ini file to the bin/x64 directory, where mod_spatialite.so can be found.

Example:

sqlite3.extension_dir = /var/www/project_name/vendor/eslider/spatialite/bin/x64/mod_spatialite

Tests

PHP Unit test command:

bin/phpunit tests

By the first time tests creates an spatialite.sqlite file in the project directory. The file has geometries and spatial functions. This initial process take some time (>1 min). Next time tests runs faster.

Data-Management

Spatialite data management GUI

wine spatialite_gui.exe

Refer

统计信息

  • 总下载量: 2.78k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 5
  • 点击次数: 0
  • 依赖项目数: 4
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: LGPL-2.1
  • 更新时间: 2016-03-08

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固