[PROJ] Fwd: [EXTERNAL] Re: IAU2000 CRS definitions

Yann Chemin dr.yann.chemin at gmail.com
Wed May 22 00:34:32 PDT 2019


FYI
Forwarding Trent answer to the list.

----------
Dr. Yann Chemin
+33 7 83 85 5234
JRC, Ispra, IT



---------- Forwarded message ---------
From: Hare, Trent <thare at usgs.gov>
Date: Tue, 21 May 2019 at 17:27
Subject: Re: [EXTERNAL] Re: [PROJ] IAU2000 CRS definitions
To: Yann Chemin <dr.yann.chemin at gmail.com>
Cc: <proj at lists.osgeo.org>


Yann,


*>>What is the status of IAU integration in GDAL?  *
  Not much to update. I have been busy with supporting PDS (and learning
PDS4). Even has created a great start for both a raster and vector/table PDS4
driver in GDAL <https://www.gdal.org/frmt_pds4.html>. And also busy
supporting a camera model environment
<https://www.hou.usra.edu/meetings/planetdata2019/pdf/7019.pdf> based on
the CSM API (to be presented at the upcoming 4th Planetary Data Workshop
<https://www.hou.usra.edu/meetings/planetdata2019/>).

Anyway, paths forward for IAU integration into GDAL. All of which I could
use help with.

(1) validate major update to "create_IAU2000.py
<https://github.com/USGS-Astrogeology/GDAL_scripts/blob/master/OGC_IAU2000_WKT_v2/Source_Python/create_IAU2000.py>"
(by J-Christophe) and re-release WKT projection files to GitHub. This is a
script to take the IAU published radius values and create the WTK
projection files (per IAU-code) and initFile for proj4 can be created. We
had to clarify the use of Reference_Meridian = 0.0 for both WKT1 and WKT2.
You can wade through this confusing issue here:
https://github.com/USGS-Astrogeology/GDAL_scripts/issues/34  . That should
be *all resolved* in the latest version of the Python script and we can now
move forward.

(2) Update script to create for what GDAL needs. Here is what is required
(email from Even),
"""
Just provide the data as .sql scripts to be inserted in the database in
https://github.com/OSGeo/proj.4/tree/master/data/sql

Either manually, or through an import script that generates them from other
sources, like done for:
- EPSG: https://github.com/OSGeo/proj.4/blob/master/scripts/build_db.py
- ESRI:
https://github.com/OSGeo/proj.4/blob/master/scripts/build_db_from_esri.py
- IGNF:
https://github.com/OSGeo/proj.4/blob/master/scripts/build_db_create_ignf_from_xml.py

The database schema is in:
https://github.com/OSGeo/proj.4/blob/master/data/sql/proj_db_table_defs.sql

"""

(3. longer-term). Lastly, I'm not sure what to do with spatialreference.org.
I keep hearing it has been deprecated, so no updates, but it keeps hanging
around. :-). If we need a new registry we can help stand something up (or
maybe just use Github?). But, I would still like our codes to head over to
the OGC CRS resolver (not sure the status for that effort though) - see:
http://external.opengeospatial.org/twiki_public/CRSdefinitionResolver  But
... by forcing the date in the name (e.g. IAU2000, IAU2015), I sort-of
messed up RESTful "versioning" which should look more like (for Mars 49900
using the 2000 report would be something like "/def/crs/IAU/2000/49900"
*not* "/def/crs/IAU2000/49900"). I guess for the resolver website we could
just split the IAU and year...?

I would love to see progress made on this front - so again, I would welcome
the help!

thanks,
Trent

Also, as a reminder, J-Christophe, also has a fork of Mapserver (on his
github site) with IAU projection code support. We need to test that too (as
have used Mapserver for years
<http://planetarygis.blogspot.com/2014/09/tips-to-interact-with-astros-wms-maps.html>
and
embarrassingly default to EPSG:4326! Fortunately degrees are degrees but
not a good precedence for us to use all these years).




On Tue, May 21, 2019 at 2:57 AM Yann Chemin <dr.yann.chemin at gmail.com>
wrote:

> +1 to Nyall's email.
>
> is there a way we could help integrating those in PROJ/GDAL?
>
> Thanks,
> Yann
>
> ---------- Forwarded message ---------
>> From: Nyall Dawson <nyall.dawson at gmail.com>
>> Date: Tue, May 21, 2019 at 9:02 AM
>> Subject: [PROJ] IAU2000 CRS definitions
>> To: PROJ <proj at lists.osgeo.org>
>>
>>
>> Hi list,
>>
>> I see quite a lot of "IAU2000" CRS definitions on
>> https://www.spatialreference.org/ref/?page=4&search=iau which are not
>> available in the proj database.
>>
>> Is there any plans to integrate these systems into proj?
>>
>> Nyall
>> _______________________________________________
>> PROJ mailing list
>> PROJ at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/proj
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/proj/attachments/20190522/bba341cb/attachment.html>


More information about the PROJ mailing list