All Projects → geo-io → wkb-parser

geo-io / wkb-parser

Licence: MIT license
Well-known binary (WKB) Parser.

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to wkb-parser

Doctrine Postgis
Spatial and Geographic Data with PostGIS and Doctrine.
Stars: ✭ 161 (+133.33%)
Mutual labels:  geometry, spatial, geography
Geokit
Geo-Toolkit for PHP.
Stars: ✭ 223 (+223.19%)
Mutual labels:  geometry, geo, geography
Microsoft.SqlServer.Types
a .NET Standard implementation of the spatial types in `Microsoft.SqlServer.Types`
Stars: ✭ 64 (-7.25%)
Mutual labels:  geometry, geography
erkir
Երկիր (Erkir) - a C++ library for geodesic and trigonometric calculations
Stars: ✭ 26 (-62.32%)
Mutual labels:  geometry, geography
Laravel Mysql Spatial
MySQL Spatial Data Extension integration with Laravel.
Stars: ✭ 578 (+737.68%)
Mutual labels:  geometry, spatial
Openrailwaymap
An OpenStreetMap-based project for creating a map of the world's railway infrastructure.
Stars: ✭ 150 (+117.39%)
Mutual labels:  geo, spatial
Geostats
A tiny and standalone javascript library for classification and basic statistics :
Stars: ✭ 183 (+165.22%)
Mutual labels:  geo, geography
GeoJSON4EntityFramework
Create GeoJSON from Entity Framework Spatial Data or WKT
Stars: ✭ 18 (-73.91%)
Mutual labels:  geometry, spatial
turf-go
A Go language port of Turf.js
Stars: ✭ 41 (-40.58%)
Mutual labels:  geo, geography
Geotools
Geo-related tools PHP 5.4+ library built atop Geocoder and React libraries
Stars: ✭ 1,157 (+1576.81%)
Mutual labels:  geometry, geo
Leaflet.path.drag
Drag functionality for Leaflet vector layers
Stars: ✭ 72 (+4.35%)
Mutual labels:  geometry, geo
Openlayers Editor
OpenLayers Editor
Stars: ✭ 138 (+100%)
Mutual labels:  geo, spatial
Leaflet Ng2
Angular.io integration of Leaflet
Stars: ✭ 66 (-4.35%)
Mutual labels:  geo, spatial
Geostats.jl
An extensible framework for high-performance geostatistics in Julia
Stars: ✭ 222 (+221.74%)
Mutual labels:  geo, spatial
tile38
Real-time Geospatial and Geofencing
Stars: ✭ 8,117 (+11663.77%)
Mutual labels:  geo, spatial
delaunator-rs
Fast 2D Delaunay triangulation in Rust. A port of Delaunator.
Stars: ✭ 115 (+66.67%)
Mutual labels:  geometry, spatial
d3-geomap
A library for creating geographical maps based on D3.js
Stars: ✭ 124 (+79.71%)
Mutual labels:  geo, geography
Cartopy
Cartopy - a cartographic python library with matplotlib support
Stars: ✭ 857 (+1142.03%)
Mutual labels:  geometry, spatial
Mathnet Spatial
Math.NET Spatial
Stars: ✭ 246 (+256.52%)
Mutual labels:  geometry, spatial
GeoArrays.jl
Simple geographical raster interaction built on top of ArchGDAL, GDAL and CoordinateTransformations
Stars: ✭ 42 (-39.13%)
Mutual labels:  geo, spatial

Geo I/O WKB Parser

Build Status Coverage Status

A parser which transforms Well-known binary (WKB) representations into geometric objects.

class MyFactory implements GeoIO\Factory
{
    public function createPoint($dimension, array $coordinates, $srid = null)
    {
        return MyPoint($coordinates['x'], $coordinates['y']);
    }

    // ...
}

$factory = MyFactory();
$parser = new GeoIO\WKB\Parser\Parser($factory);

$myPoint = $parser->parse('000000000140000000000000004010000000000000'); // POINT(2.0 4.0)

Installation

Install through composer. Check the packagist page for all available versions.

composer require geo-io/wkb-parser

License

Copyright (c) 2014-2022 Jan Sorgalla. Released under the MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].