Skip to content

ProjJson 0.2 Schema Incorrect for Prime Meridian? #2354

Description

@mlptownsend

Problem description

Love the projjson schema and output, but I may have found a problem with the prime_meridian definition. If you output EPSG:22300 and EPSG:31293, you'll see the difference.

EPSG:22300:

"prime_meridian": {
"name": "Paris",
"longitude": {
  "value": 2.5969213,
  "unit": {
	"type": "AngularUnit",
	"name": "grad",
	"conversion_factor": 0.0157079632679489
  }
}
}

EPSG:31293:

"prime_meridian": {
"name": "Ferro",
"longitude": -17.6666666666667
}

The 0.2 schema defines the prime_meridian as seen in 22300 with longitude as value and unit, but it doesn't seem to account for the version seen in 31293 which has longitude as a number only.

Or maybe it's a problem with how projinfo is spitting out EPSG:31293 as projjson?

Environment Information

PROJ 7, Windows 10 x64.

Installation method

Built from source.

Full outputs of "projinfo -o projjson EPSG:22300 -q" and "projinfo -o projjson EPSG:31293 -q" attached.
22300.txt
31293.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions