Giter VIP home page Giter VIP logo

Comments (9)

FObermaier avatar FObermaier commented on September 23, 2024 1

This WKT for your coordinate system gives deltas in 0.5 cm range:

PROJCS["Israel / Israeli TM Grid",
    GEOGCS["Israel",
        DATUM["Israel",
            SPHEROID["GRS 1980",6378137,298.257222101,
                AUTHORITY["EPSG","7019"]],
            TOWGS84[-48,55,52,0,0,0,0],
            AUTHORITY["EPSG","6141"]],
        PRIMEM["Greenwich",0,
            AUTHORITY["EPSG","8901"]],
        UNIT["degree",0.01745329251994328,
            AUTHORITY["EPSG","9122"]],
        AUTHORITY["EPSG","4141"]],
    UNIT["metre",1,
        AUTHORITY["EPSG","9001"]],
    PROJECTION["Transverse_Mercator"],
    PARAMETER["latitude_of_origin",31.73439361111111],
    PARAMETER["central_meridian",35.20451694444445],
    PARAMETER["scale_factor",1.0000067],
    PARAMETER["false_easting",219529.584],
    PARAMETER["false_northing",626907.39],
    AUTHORITY["EPSG","2039"],
    AXIS["Easting",EAST],
    AXIS["Northing",NORTH]]

It gives (222285.99965981062, 631556.00379951776, NaN) which is accurate to about 0.5 cm.
One central point is missing in your constructed coordinate system and that is the TOWGS conversion information.

from projnet4geoapi.

FObermaier avatar FObermaier commented on September 23, 2024

Longitude_of_origin and Central_Meridian are different names for the same value.

from projnet4geoapi.

HarelM avatar HarelM commented on September 23, 2024

Thanks for the quick response.
That might be true but neglecting to add the central_meridian parameter causes an exception...
Any other input regarding the issue I'm facing? I'm really stuck... :-/

from projnet4geoapi.

FObermaier avatar FObermaier commented on September 23, 2024

In that case you have to provide the same value as for longitude_of_origin.

from projnet4geoapi.

HarelM avatar HarelM commented on September 23, 2024

Placing this value did not help solve the issue :-(

from projnet4geoapi.

HarelM avatar HarelM commented on September 23, 2024

Thanks!!! I'll give it a go tonight.
Is there a way to create it using code instead of this string?
Will Inverse() work? I tired it on another projection and got a not implemented exception.

from projnet4geoapi.

FObermaier avatar FObermaier commented on September 23, 2024

Is there a way to create it using code instead of this string?

yes, see this example.

Will Inverse() work? I tired it on another projection and got a not implemented exception.

No, it won't. Set up the opposite transformation by exchanging source and target coordinate systems.

from projnet4geoapi.

HarelM avatar HarelM commented on September 23, 2024

Is there a way to make the Inverse() work then? Should I create a small class that inherits from IMathTransform and implements the transform and inverse methods only (These are all the functions I need)?

from projnet4geoapi.

HarelM avatar HarelM commented on September 23, 2024

Question is answered and tested after #11 was implemented.

from projnet4geoapi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.