PHP Classes

PHP GeoJson Library: Parse and validate GeoJSON string, array or object

Recommend this page to a friend!
  Info   View files Documentation   View files View files (38)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2024-01-16 (5 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 51 All time: 10,664 This week: 84Up
Version License PHP version Categories
geojson 1.0MIT/X Consortium ...7Geography, Parsers, PHP 7
Description 

Author

This package can parse and validate GeoJSON strings, arrays, or objects.

It can take a GeoJSON definition as a string and parse it to get its definition as an object.

The package can process the GeoJSON object to process and validate the GeoJSON features like its lines, points, and polygons.

Innovation Award
PHP Programming Innovation award nominee
January 2024
Number 6
GeoJSON is a format based on the JSON format used to represent features that define aspects of geographic locations, such as the shapes of regions, neighborhoods, and streets.

This package can process GeoJSON data format to process and validate geographic features of specific locations.

Manuel Lemos
Picture of Niko Peikrishvili
  Performance   Level  
Name: Niko Peikrishvili <contact>
Classes: 7 packages by
Country: Georgia Georgia
Age: ???
All time rank: 31984 in Georgia Georgia
Week rank: 258 Up1 in Georgia Georgia Up
Innovation award
Innovation award
Nominee: 4x

Documentation

Validate GeoJson to RFC 7946 standard


  Files folder image Files  
File Role Description
Files folder imagespec (1 file, 3 directories)
Files folder imagesrc (1 file, 3 directories)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file phpcs.xml Data Auxiliary data
Accessible without login Plain text file phpspec.yml Data Auxiliary data
Accessible without login Plain text file phpstan.neon Data Auxiliary data
Accessible without login Plain text file README.MD Doc. Documentation

  Files folder image Files  /  spec  
File Role Description
Files folder imageassets (2 files)
Files folder imageFeatureTypes (6 files)
Files folder imageGeoJSONTypes (2 files)
  Plain text file GeoJSONSpec.php Class Class source

  Files folder image Files  /  spec  /  assets  
File Role Description
  Accessible without login Plain text file feature_without_collection.json Data Auxiliary data
  Accessible without login Plain text file plain_polygon.json Data Auxiliary data

  Files folder image Files  /  spec  /  FeatureTypes  
File Role Description
  Plain text file LineStringSpec.php Class Class source
  Plain text file MultiLineStringSpec.php Class Class source
  Plain text file MultiPointSpec.php Class Class source
  Plain text file MultiPolygonSpec.php Class Class source
  Plain text file PointSpec.php Class Class source
  Plain text file PolygonSpec.php Class Class source

  Files folder image Files  /  spec  /  GeoJSONTypes  
File Role Description
  Plain text file FeatureCollectionSpec.php Class Class source
  Plain text file FeatureSpec.php Class Class source

  Files folder image Files  /  src  
File Role Description
Files folder imageExceptions (7 files)
Files folder imageFeatureTypes (9 files)
Files folder imageGeoJSONTypes (5 files)
  Plain text file GeoJSON.php Class Class source

  Files folder image Files  /  src  /  Exceptions  
File Role Description
  Plain text file FeatureTypeIsNotSupported.php Class Class source
  Plain text file GeoJSONTypeIsNotDefined.php Class Class source
  Plain text file GeoJSONTypeIsNotSupported.php Class Class source
  Plain text file InvalidFeatureTypeException.php Class Class source
  Plain text file InvalidGeoJSONInputException.php Class Class source
  Plain text file InvalidGeoJSONTypeException.php Class Class source
  Plain text file MissingFieldException.php Class Class source

  Files folder image Files  /  src  /  FeatureTypes  
File Role Description
  Plain text file FeatureInterface.php Class Class source
  Plain text file FeatureTypeAbstract.php Class Class source
  Accessible without login Plain text file FeatureTypesEnum.php Aux. Auxiliary script
  Plain text file LineString.php Class Class source
  Plain text file MultiLineString.php Class Class source
  Plain text file MultiPoint.php Class Class source
  Plain text file MultiPolygon.php Class Class source
  Plain text file Point.php Class Class source
  Plain text file Polygon.php Class Class source

  Files folder image Files  /  src  /  GeoJSONTypes  
File Role Description
  Plain text file Feature.php Class Class source
  Plain text file FeatureCollection.php Class Class source
  Plain text file GeoJSONTypeAbstract.php Class Class source
  Accessible without login Plain text file GeoJSONTypeEnum.php Aux. Auxiliary script
  Plain text file GeoJSONTypeInterface.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:51
This week:0
All time:10,664
This week:84Up