Skip to content

proj4 +towgs84 property in EPSG:2039 gives offset in transformation #194

@shmueldarchi

Description

@shmueldarchi

I used your proj4 value for transforming coordinates from WGS84 to EPSG:2039 with OL Transform and Proj4js. The transformation had an offset of about 100 meters.
After researching, I found that the value had a transformation from:
+proj=tmerc +lat_0=31.7343936111111 +lon_0=35.2045169444444 +k=1.0000067 +x_0=219529.584 +y_0=626907.39 +ellps=GRS80 +towgs84=23.772,17.49,17.859,0.3132,1.85274,-1.67299,-5.4262 +units=m +no_defs +type=crs
to:
+proj=tmerc +lat_0=31.7343936111111 +lon_0=35.2045169444444 +k=1.0000067 +x_0=219529.584 +y_0=626907.39 +ellps=GRS80 +towgs84=-24.0024,-17.1032,-17.8444,-0.33009,-1.85269,1.66969,5.4248 +units=m +no_defs +type=crs.
After the change, the transform worked correctly.

NOTE
I didn't see any open source that gives this value by default, so if it's not correct, I would like to know.

BR,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions