[gdal-dev] IAU2000 support?

Yann ychemin at gmail.com
Thu Sep 24 05:45:43 PDT 2015


Thanks for the info both of you.

It is a recurring issue for me (and my work with gdal/GRASS),
please contact me when you are up to tricks on that,
I will try to find time to give a hand.

Cheers,
Yann

On 24/09/2015 14:26, Hare, Trent wrote:
> Yann,
>     Yes there has been no movement on pushing the planetary projection codes
> as simple script or function call within GDAL. Instead of expanding all the
> definitions as a large ASCII file, this method would allow us to more
> easily grow once updated radii values are defined. The lunar definition is
> not changing anytime soon but bodies like Mercury and even Mars will have
> updates. Thus once the IAU publishes a new set of definitions, we will need
> a new namespace (e.g. IAU2015). Most bodies will be the same but having a
> flexible system which takes the smallest footprint would be best. Anyway, I
> am hoping to move this issue forward by either finding time or funding a
> contract.
>
> As an alternative to the urn:ogc and the need for the local iau2000.wkt
> file, you can use a an http address also. For example:
> $ gdalsrsinfo "http://spatialreference.org/ref/iau2000/49900/"
>
> PROJ.4 : '+proj=longlat +a=3396190 +b=3376200 +no_defs '
>
> OGC WKT :
> GEOGCS["Mars 2000",
>      DATUM["D_Mars_2000",
>          SPHEROID["Mars_2000_IAU_IAG",3396190.0,169.89444722361179]],
>      PRIMEM["Greenwich",0],
>      UNIT["Decimal_Degree",0.0174532925199433]]
>
> Regards,
> Trent
>
> On Thu, Sep 24, 2015 at 5:13 AM, Even Rouault <even.rouault at spatialys.com>
> wrote:
>
>> Le jeudi 24 septembre 2015 14:10:37, Yann a écrit :
>>> sorry, I get this from Ubuntu, thus my question.
>>>
>>> gdalsrsinfo urn:ogc:def:crs:IAU2000:30100
>>>
>>> ERROR 1: ERROR - failed to load SRS definition from
>>> urn:ogc:def:crs:IAU2000:30100
>> I think this dates back to ancient GDAL versions but you need to add the
>> iau2000.wkt file in the GDAL data directory.
>>
>>> On 24/09/2015 11:45, Even Rouault wrote:
>>>> Yann,
>>>>
>>>>> I have recovered a old script I made about 1.5 year ago (and about 1+
>>>>> version of Ubuntu away) to process Chandrayaan-M3 Moon data in
>>>>> IAU2000:30100 and it seems that gdal_translate/gdalwarp do not know
>> that
>>>>> code anymore.
>>>> Looking at the code you need to use a OGC URN:
>>>>
>>>> $ gdalsrsinfo urn:ogc:def:crs:IAU2000:30100
>>>>
>>>> PROJ.4 : '+proj=longlat +a=1737400 +b=1737400 +no_defs '
>>>>
>>>> OGC WKT :
>>>> GEOGCS["Moon 2000",
>>>>
>>>>       DATUM["D_Moon_2000",
>>>>
>>>>           SPHEROID["Moon_2000_IAU_IAG",1737400.0,0.0]],
>>>>
>>>>       PRIMEM["Greenwich",0],
>>>>       UNIT["Decimal_Degree",0.0174532925199433]]
>>>>> This is not a blocker, since the wkt style works like a charm.
>>>>>
>>>>> We had discussions earlier about planetary support in this list, among
>>>>> whom Trent was involved (IIRC). Does anybody have any update about the
>>>>> status change for the newest version of GDAL?
>>>> Status quo.
>>>>
>>>> Even
>> --
>> Spatialys - Geospatial professional services
>> http://www.spatialys.com
>> _______________________________________________
>> gdal-dev mailing list
>> gdal-dev at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>>

-- 
-----
Mobile: +33 (0)7 83 85 52 34



More information about the gdal-dev mailing list