Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2 questions: "confusion about EPSG:900913" and "performance of Equirectangular projection" #49

Open
ji-podhead opened this issue Nov 26, 2022 · 4 comments

Comments

@ji-podhead
Copy link

ji-podhead commented Nov 26, 2022

Equirectangular projection
wouldnt it be better for planar projection/map to use Equirectangular coordinates:? this could even spare unnesscesary computation in spherical mode with a increased zoom/low fov by switching to planatary.
by switching to non-spherical coordinates i dont need to to convert and remap/interpolate the spherical coordinates for every single vertex of every element that i want to place/find on the planatary map.
->
"x = r λ cos(φ0)
y = r φ
This is simple equirectangular projection.In most cases, you'll be able to compute cos(φ0) only once, which makes subsequent computations of large numbers of points really cheap."


EPSG:900913
i guess you relate to EPSG4326:
"There are a few things that you are mixing up.
Google Earth is in a Geographic coordinate system with the wgs84 datum. (EPSG: 4326)
Google Maps is in a projected coordinate system that is based on the wgs84 datum. (EPSG 3857)
The data in Open Street Map database is stored in a gcs with units decimal degrees & datum of wgs84. (EPSG: 4326)

my problem is that 900913 is actually not listed on https://spatialreference.org/ ->** can be used to generate proj4 reference code like https://spatialreference.org/ref/sr-org/7483/proj4/ for absolute accurate coord.-to-cartesian-converion**


thanks again for the project. its really great!! im having problems with spherical geometry in react-fiber though...planning to publish a react-preset, but spherical, is just not working... anyway thanks for support!- leo

@ji-podhead
Copy link
Author

ji-podhead commented Nov 26, 2022

since epsg:3857 cuts the map at +-85° latitude, im kinda confused about the projected coordinates, i guess that is why people had problems with extremely distorted poles. right now i use +-19949545.833216466 as boundary, but thats not really relating to 40030/2 (Earth's circumference/2). 19949545.833216466 derived from datumstospherical-boundaries with mapscale=Earth's circumference*10^x

@ji-podhead
Copy link
Author

ji-podhead commented Nov 27, 2022

ok i get it now, the epsg guys refused to give it a valid epsg number:
[Unfortunately, however, EPSG were rather dismissive of the system used by Microsoft and Google (more details in a bit) and refused to assign it an official EPSG code. An EPSG statement (as reported by Morten Nielsen ) read:
------>“We have reviewed the coordinate reference system used by Microsoft, Google, etc. and believe that it is technically flawed. We will not devalue the EPSG dataset by including such inappropriate geodesy and cartography.”

@ji-podhead
Copy link
Author

so is it possible to use Equirectangular projection for planes?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant