locationtech / proj4j

Java port of the Proj.4 library for coordinate reprojection
Other
184 stars 73 forks source link

support geocent #59

Closed tuanng-cognite closed 4 years ago

tuanng-cognite commented 4 years ago

This is to support transforming into geocentric coordinate system.

https://github.com/locationtech/proj4j/blob/master/src/main/resources/proj4/nad/epsg#L11252 Currently, it is not able to transform to EPSG:4978.

new CRSFactory().createFromName("EPSG:4978")

"Unknown projection: geocent"

pomadchin commented 4 years ago

Hi! Thanks a lot for your contribution! It looks like this test should pass now, could you fix it?

Also, could you please sign the Eclipse Contributor Agreement so the Eclipse bot won't complain about it?

After signing the ECA just do git commit --amend -s && git push origin -f support-geocent

tuanng-cognite commented 4 years ago

Thanks @pomadchin. I pushed a new PR here https://github.com/locationtech/proj4j/pull/60