academe / osgb-tools

Ordnance Survey (GB) grid reference conversion tools
MIT License
5 stars 1 forks source link

Composer ready #2

Closed RickSeymour closed 9 years ago

RickSeymour commented 9 years ago

This commit adds in the required parameters to composer.json to allow this to be submitted to packagist.org

judgej commented 9 years ago

Thanks. This tool does still need much more work, and has been too far on my back-burner for too long, so I have not been intending to make it packagist-ready yet, but we might as well get this in ready. If you find it useful and think it should be in packagist now, then we might as well go for it and see what happens.

The bit that has kind of been holding me up, is the conversion of the OSGB datum to the WGS84 datum (in both directions). This conversion could be coded in here, but I was hoping to extend the https://github.com/thephpleague/geotools package to do this in a more generic way. The last time I looked, the League package did not cater for or recognise any datums other than the WGS84 (sat-nav, Google, kind of the international reference datum that everything is converted via). Maybe I should put that idea aside for now and code it here, and extend it later?