Comments (7)
first off you can rewrite that as
var firstProjection = "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +units=m +k=1.0 +nadgrids=@null +no_defs"
proj4(firstProjection).inverse([4156404,7480076.5])
as for why ... so far I've ruled out issues with sphere vs ellipses as it is too small a difference to account for that.
from proj4js.
oh right ESPG:3857 is the projection that every uses a different number for. For parsing it from WKT I seem to remember having to put a manual fix in related to it claiming to be a sphere abut also having a reverse flattening specified.
from proj4js.
Um, I'm not that good in projections =
Did you mean fix in the library code or just setting proper Proj.4 string?
from proj4js.
sorry for the confusion I haven't figured out the what the issue yet is, in the first comment I was telling you an easier way you could specify the exact same thing, in the second comment I was more or less thinking out loud,
from proj4js.
The issue has to do with parsing the nadgrids parameter correctly to set datumCode=none. I have a fix for this, is there a way to make a pull request and associate it with this issue? GIthub aways seems to want to create a new issue for me.
from proj4js.
@madair create a new issue, and reference this one in it by mentioning it's number (#65) pulls are always separate from the issues in case we need to close the pull for reasons unrelated to the issue.
from proj4js.
looks like #66 closes this one
from proj4js.
Related Issues (20)
- Support of IAU CRS ? HOT 1
- proj4 returns [ Infinity, -Infinity ] for stere with lat_ts set to 90
- Add two-point equidistant projection HOT 1
- How to import Proj4 in Vite/Histoire (Nuxt 3 project) HOT 2
- Question: How to convert LngLat to Pixel of image and vice versa HOT 2
- EPSG:25832 uncought HOT 1
- Converting EPSG 4978 to EPSG 2154 isn't working HOT 9
- Using EPSG:5513 WKT from epsg.io produces incorrect result HOT 5
- Transformations outside the scope of the local projection coordinate system HOT 1
- Geocentric to topocentric conversion HOT 4
- Loading a nadrids file synchronously without node.js HOT 1
- transform.js:103 Uncaught TypeError: Cannot convert undefined or null to object HOT 2
- Transforming coordinates may throw error when no z is set HOT 2
- Inverse NTv2 transformation HOT 5
- Different distances between GPS coordinates and converted values in meter. HOT 4
- source.inverse is not a function HOT 3
- Stereographic North Pole Projection - DWD RADOLAN HOT 2
- The inverse method of the Ellipsoidal Azimuthal Equidistant projection returns incorrect results HOT 4
- To obtain the same results in EPSG:4301 as in PROJ HOT 3
- got correct utm coordinates in south hemiphere
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from proj4js.