swen100 / phpng-proj Goto Github PK
View Code? Open in Web Editor NEWA php extension for proj.4
License: MIT License
A php extension for proj.4
License: MIT License
Hi @swen100,
First, many thx for this php ext (I was searching for it for a long time ^^)
Before making some PR (fixing windows build on config.w32, adding distance function) I would like to know on which branch does I have to work as it's seems that proj6+ is in a "strange" state
This branch is 3 commits ahead, 5 commits behind master.
Otherwise, my first results are... wonderful ;)
>>>>>> testTransform(2056, 4326, [[2628735.83,1177466.63]...{359}]))
------------------------------------------------------------------------
iter engine | ms | res
------------------------------------------------------------------------
x50 NATIVE | 18.504 | 7.8146916554778 46.747766576805
x50 * PHP-PROJ | 48.01 | 7.8146906996667 46.74777125661
x50 GDAL | 3344.469 | 7.81469069966669 46.7477712566097
x50 CS2CS | 3370.474 | 7.8146906997 46.7477712566
x50 PROJ4PHP | 4913.202 | 7.8146906996667 46.74777125523
------------------------------------------------------------------------
https://epsg.io/transform#s_srs=2056 | 7.8146908 46.7477713
>>>>>> testDistance(45.832615, 6.865129,44.922525, 6.359967, 4326)
----------------------------------------------
iter engine | ms | m or °
----------------------------------------------
X1000 nativeHaversineGC | 1.5 | 108738.42
X1000 nativeVincentyGC | 2 | 108738.42
X1000 * projGeodesic | 11.002 | 108609.97
X1000 brickGeos | 19.004 | 1.04
X1000 phpGeosHausdorff | 66.013 | 1.04
X1000 phpGeos | 72.514 | 1.04
X1000 MySQL | 183.537 | 108610.81
X1000 brickMySQL | 226.545 | 108610.81
X1000 projGeodExe | 35007.9 | 108609.97
----------------------------------------------
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.