Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> WGS84 is not a projection but just a reference ellipsoid used for distance calculations along earth's surface.

Fair enough, it only handles a single GCS and no PCSs.

WGS84 is more than just a datum, it is a GCS. It's also used for more than just distances; it defines a mean sea level used for elevation as well.

WGS84 is also used to mean EPSG 4326, hence why I asked like I did.

> There are many independent tools available to perform such projections if you need to draw a map or convert to a Euclidean coordinate system

Sure there are, but if I can't import EPGS 4269 (NAD83, used by the census), EPGS 3857 (Spherical Mercator), a state plane, or a UTM data source without first converting it, then I need to know that.



Ok, got it. Guess I mis-represented what WGS84 in my earlier post. What I should have said is that in RethinkDB we only mean a specific reference ellipsoid for computing distances between latitude/longitude coordinate pairs when referring to WGS84.

If you have data in other projections you will definitely have to convert it first.

On a side-note, in case it's of any help: There is a currently undocumented feature that allows you to specify an oblate reference ellispoid other than the one from WGS 84 in ReQL. The way you do that is by passing an object `{a: ..., f: ...}` to the `geo_system` optional argument. The value of 'a' must be the major radius of the ellipsoid in meters, and 'f' must be the flattening of the ellipsoid. This feature is not heavily tested though and should be used with caution.


/me immediately looks up one of the ellipsoids for Mars.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: