Forum

Author Topic: custom projection gives unsupported vertical datum error  (Read 9266 times)

Mikeman

  • Newbie
  • *
  • Posts: 4
    • View Profile
custom projection gives unsupported vertical datum error
« on: June 22, 2016, 05:42:43 AM »
I get an error message "unsupported vertical datum" when trying to use a custom projection. What am I missing?

I created the attached custom projection for GDA94 (Zone 55) using the Ausgeoid09 model, in Australia. The ausgeoid09.tiff was downloaded from the Agisoft site and placed in the Geoid folder, as instructed.

Photoscan Pro Vs 1.2.5

Paulo

  • Hero Member
  • *****
  • Posts: 1389
    • View Profile
Re: custom projection gives unsupported vertical datum error
« Reply #1 on: June 22, 2016, 06:45:44 AM »
Hello,

the VERT_DATUM entry in the prj file must be the same as TIFF_DESC inside the geoid tif file.

So I changed the entry in the prj file so it corresponds to TIFF_DESC....

Here is the changed prj file
Code: [Select]
COMPD_CS["GDA94 / MGA zone 55 + ausgeoid09 geoid height",PROJCS["GDA94 / MGA zone 55",GEOGCS["GDA94",DATUM["Geocentric Datum of Australia 1994",SPHEROID["GRS 1980",6378137,298.257222101,AUTHORITY["EPSG","7019"]],TOWGS84[0,0,0,0,0,0,0],AUTHORITY["EPSG","6283"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.01745329251994328,AUTHORITY["EPSG","9102"]],AUTHORITY["EPSG","4283"]],PROJECTION["Transverse_Mercator",AUTHORITY["EPSG","9807"]],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",147],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000],UNIT["metre",1,AUTHORITY["EPSG","9001"]],AUTHORITY["EPSG","28355"]],VERT_CS["AUSGEOID09 geoid height",VERT_DATUM["[glow=red,2,300]Australian Height Datum[/glow]",2005,AUTHORITY["EPSG","5111"]],UNIT["metre",1,AUTHORITY["EPSG","9001"]]]]

Hope this prj file works!
Best Regards,
Paul Pelletier,
Surveyor

Paulo

  • Hero Member
  • *****
  • Posts: 1389
    • View Profile
Re: custom projection gives unsupported vertical datum error
« Reply #2 on: June 22, 2016, 06:49:03 AM »
Sorry,

please find attached prj file that should work with AusGeoid09.tif file...

in former reply I introduced some erroneous text insise inserted code...
Best Regards,
Paul Pelletier,
Surveyor

Mikeman

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: custom projection gives unsupported vertical datum error
« Reply #3 on: June 22, 2016, 07:21:24 AM »
Thanks for the modified prj file. I tested it and I still get the same error message. I also modified it for zone 50 and tested on another project but still the same error message. I will keep trying to see what is causing the problem

Mikeman

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: custom projection gives unsupported vertical datum error
« Reply #4 on: June 22, 2016, 07:25:08 AM »
I also looked at the Tiff file and copied the subject title into the prj file but that also did not work

VERT_DATUM["Australian Height Datum",2005,AUTHORITY["EPSG","5111"]]

Paulo

  • Hero Member
  • *****
  • Posts: 1389
    • View Profile
Re: custom projection gives unsupported vertical datum error
« Reply #5 on: June 22, 2016, 07:43:15 AM »
Strange,

on my side, it does work. I took a small project and imported simulated Camera center coordinates corresponding to your area of the world. Then I transformed to GDA94/MGA55 + Ausgeoid and did get coordinates with elevations compensated with geoid height... see attached screen copies...
Best Regards,
Paul Pelletier,
Surveyor

ARF

  • Newbie
  • *
  • Posts: 41
    • View Profile
Re: custom projection gives unsupported vertical datum error
« Reply #6 on: July 30, 2016, 12:43:00 AM »
Did you get this to work ok?