[Proj] Convert MODIS Sinusoidal to WGS84

Kristian Evers kreve at sdfe.dk
Tue Mar 27 05:23:13 EST 2018


Hi Jürgen,

Try this instead:

$ echo 4447802.078667 -1111950.519667 | cs2cs +proj=sinu +to +proj=latlong +datum=WGS84
40d34'27.915"E  10d3'18.399"S 0.000

WGS84 is not an operation<http://proj4.org/operations/index.html> in PROJ. It is however a recognised as a datum that can be used in
conjunction with an operation such as “latlong”.

Since what you are doing is really just converting projected sinusoidal coordinates to it’s originating
latitude and longitude you can also just do

$ echo 4447802.078667 -1111950.519667 | proj -I +proj=sinu
40d34'27.915"E 10d3'18.399”S

To reach the same result.

/Kristian

On 27 Mar 2018, at 12:13, Juergen Stumpe <jstumpe.ho at gmail.com<mailto:jstumpe.ho at gmail.com>> wrote:

Hello,

I'm trying to convert Modis meter values to WGS84 decimal degrees,
using the PROJ4 command line, but I'm not able to set the parameters
correctly.

E.g. the command "echo 4447802.078667 -1111950.519667 | cs2cs
+proj=sinu +to +proj=WSG84" fails with "projection initialization
failurecause: Unknown error".

Does anybody know how the define the PROJ4 command line properly, in
order to achieve a conversion with parameters according the attached
TWCC screen shot?

Thanks in advance!

Juergen
<TWCC Screen Shot.PNG>_______________________________________________
Proj mailing list
Proj at lists.maptools.org<mailto:Proj at lists.maptools.org>
http://lists.maptools.org/mailman/listinfo/proj

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/proj/attachments/20180327/236fa4a0/attachment.htm 


More information about the Proj mailing list