Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Awesome Geospatial | 3,176 | 17 days ago | cc0-1.0 | |||||||
Long list of geospatial tools and resources | ||||||||||
Postgis | 1,336 | 2 | 3 days ago | 1 | February 27, 2018 | 3 | gpl-2.0 | PLpgSQL | ||
PostGIS spatial database extension to PostgreSQL [mirror] | ||||||||||
Geocompr | 1,303 | 19 hours ago | 21 | other | R | |||||
Open source book: Geocomputation with R | ||||||||||
Pgrouting | 1,002 | 7 days ago | 1 | February 27, 2018 | 66 | gpl-2.0 | C++ | |||
Repository contains pgRouting library. Development branch is "develop", stable branch is "master" | ||||||||||
Doctrine Postgis | 193 | 19 | 1 | 2 months ago | 14 | April 21, 2022 | 2 | mit | PHP | |
Spatial and Geographic Data with PostGIS and Doctrine. | ||||||||||
Awesome Spatial | 160 | 5 years ago | 100 | |||||||
A list of awesome spatial repositories. | ||||||||||
Geospatial | 144 | 3 | 7 | 12 days ago | 18 | December 07, 2021 | 81 | agpl-3.0 | JavaScript | |
Odoo and GIS | ||||||||||
Geocloud2 | 141 | 21 hours ago | 11 | agpl-3.0 | JavaScript | |||||
The GC2 framework helps you build a spatial data infrastructure quickly and easily. Powered using open source components for a scalable solution focused on freedom rather than fees. | ||||||||||
Featureserver | 102 | 8 years ago | 9 | other | Python | |||||
FeatureServer is as OGC web feature service and filter encoding Python server. | ||||||||||
Postpic | 98 | 5 years ago | 2 | C | ||||||
PostPic is an extension for the open source dbms PostgreSQL that enables image processing inside the database, like PostGIS does for spatial data. It adds the new 'image' type to the SQL, and several functions to process images and to extract their attributes. |
Parser library for 2D, 3D, and 4D Open Geospatial Consortium (OGC) WKB or PostGIS EWKB spatial object data.
There are two use patterns for the parser. The value to be parsed can be passed into the constructor, then parse()
called on the returned Parser
object:
$parser = new Parser($input);
$value = $parser->parse();
If many values need to be parsed, a single Parser
instance can be used:
$parser = new Parser();
$value1 = $parser->parse($input1);
$value2 = $parser->parse($input2);
The parser currently supports 3 WKB encodings:
The parser supports a number of input formats:
pack('H*', $hexString)
)'01010000003D0AD7A3.....'
)x
, X
, 0x
, or 0X
('0x01010000003D0AD7A3.....'
, etc.)The parser will return an array with the keys type
, value
, srid
, and dimension
.
type
string, the uppercase spatial object type (POINT
, LINESTRING
, etc.) without any dimension.value
array, contains integer or float values for points, nested arrays containing these based on spatial object type, or empty array for EMPTY geometry.srid
integer, the SRID if present in EWKB value, null
otherwise.dimension
string, will contain Z
, M
, or ZM
for the respective 3D and 4D objects, null
otherwise.The Reader
and Parser
will throw exceptions implementing interface CrEOF\Geo\WKB\Exception\ExceptionInterface
.