connormanning / entwine

Entwine - point cloud organization for massive datasets
https://entwine.io
Other
451 stars 128 forks source link

I need authrity and horizontal parameters of "srs" #256

Closed hisayan closed 1 year ago

hisayan commented 3 years ago

I need authrity and horizontal parameters of "srs"

I tried this command.

$ entwine build -r EPSG:6676 EPSG:4978 -i ./foo.laz -o ./bar

It works fine on entwine 2.1 which installed by conda.

$ tail ./bar/ept.json

  "srs": {
    "authority": "EPSG",
    "horizontal": "4978",
    "wkt": "GEOCCS[\"WGS 84\",DATUM[\"WGS_1984\",SPHEROID[\"WGS 84\",6378137,298.257223563,AUTHORITY[\"EPSG\",\"7030\"]],AUTHORITY[\"EPSG\",\"6326\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"metre\",1,AUTHORITY[\"EPSG\",\"9001\"]],AXIS[\"Geocentric X\",OTHER],AXIS[\"Geocentric Y\",OTHER],AXIS[\"Geocentric Z\",NORTH],AUTHORITY[\"EPSG\",\"4978\"]]"
  },

when I compiled it from master branch and tried same command.

$ tail ./bar/ept.json

  "srs": {
    "wkt": "GEOCCS[\"WGS 84\",DATUM[\"WGS_1984\",SPHEROID[\"WGS 84\",6378137,298.257223563,AUTHORITY[\"EPSG\",\"7030\"]],AUTHORITY[\"EPSG\",\"6326\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"metre\",1,AUTHORITY[\"EPSG\",\"9001\"]],AXIS[\"Geocentric X\",OTHER],AXIS[\"Geocentric Y\",OTHER],AXIS[\"Geocentric Z\",NORTH],AUTHORITY[\"EPSG\",\"4978\"]]"
  },

There are no "authority" and "horizontal".

The next step, I use ept-tools.

It needs these parameters. but there is only wkt parameter.

What shoud I do ?

qiyan98 commented 3 years ago

This issue remains as of now. But thanks for pointing out that conda is a workable way! (entwine=2.1 worked fine)

hisayan commented 2 years ago

There is same problem on entwine@2.2. (both dockerhub and conda).

julienlau commented 2 years ago

may be linked to https://github.com/connormanning/entwine/issues/269

connormanning commented 1 year ago

These fields are emitted (if applicable) by current code.