Skip to content

Unsupported Ellipsoids? #22

@harumscarum

Description

@harumscarum

I have noticed this issue long time ago, but just recently was able to isolate it - apparently bpyproj do not support projections where are datum/spheroid different from WGS 84 which cause slight scale/rotate transformations - really noticeable in big scenes (up to 10 meters for 200 km scene)

here is example

  • Specific projection for the Kaliningrad https://epsg.io/20004 (DATUM"Pulkovo_1995", SPHEROID "Krassowsky 1940") and I used both EPSG code and Proj4 Params, but result do not match GIS data from QGIS or GlobalMapper
  • However, if WGS 84 projection used https://epsg.io/32634 - result delivered with bpyproj match other GIS sources perfectly

Is there any way to fix this?
And do I understand correctly that bpyroj do not use online database for the most actual EPSG data, but use Proj4 strings stored locally \scripts\addons\bpyproj\dependencies\binaries\windows_64_37\site-packages\pyproj\data
May I suggest you to use WKT to get accurate result? https://inbo.github.io/tutorials/tutorials/spatial_crs_coding/

UPD

I'm checking projections and just found one more datum/ellipsoid which deliver accurate results - DATUM"NAD83(NSRS2007)", SPHEROID "GRS 1980" - hope this helps

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions