Jason Judge

Results 289 comments of Jason Judge

I'm collecting together data for datums at the moment. A datum (in this context) includes both the ellipsoid and the origin (the centre of the Earth). There are a few...

The two-letter codes for the ellipsoids are defined by ISO/IEC 18026. This standard is behind a paywall, but there is enough of the codes spread around the 'net to bring...

Hi @coreation I did start trying to convert proj4 to PHP, and have got some way. That was to convert the OSGB datum to the single datum that geotools uses....

Yeah, go for it. It was 5.3 because that is where thephpleague libraries were at the time. 5.4 is definitely a good minimum now. 5.5 has some nice features, but...

Just for a bit of background on the proj4 conversion, I'm basically taking the JavaScript library and converting it almost line-for-line. Ultimately there may be a better way to organise...

https://github.com/muka/proj4php/tree/master/src/proj4php - go for it :-) A bit of namespacing, autoloading and PSR-*, and it could be a nice composer library.

One thing the JS libraries don't do, but which PHP is probably more suited to, is to drive some of the functionality from data rather than have all those files...

Sorry this has been left hanging for so long. I'm getting back to it now :-) The OSGB conversion involves a datum shift to WGS84 as well as a projection...

It should work. I don't believe the port the server runs on needs to be available to your local VSCode. I have it running over an ssh connection, with PHP...

The permissions can get messed up if you are using containers on the remote server to run PHP, since the container may be accessing the source volume as a different...