I have been work in convert the MODIS Tiles Grid from sinusoidal projection to lat long projection using python ogr2ogr.

It doens't works well, the shapefile reprojected presents some lines that was not present in the original shape and it produces many mismatching.

Link to donwload the original MODIS Grid Tiles

Any suggestion to fix it?

# my code in command line
ogr2ogr -s_srs "+proj=sinu +lon_0=0 +x_0=0 +y_0=0 +a=6371007.181 +b=6371007.181 +units=m +no_defs" -t_srs EPSG:4326 -f "ESRI Shapefile" "C:/path/tiles_mod.shp" "C:/path/tiles.shp"

The shapefiles reprojected

The original shapefiles in sinusoidal projection: Data in the original sinusoidal projection

Processed shapefile using ogr2ogr.
Picture comparing the global map and MODIS Tiles Grid reprojected

  • in both images you have lines running "behind" the map as they cross from one side to the other. This is as expected.
    – Ian Turton
    Commented Aug 31, 2017 at 16:58
  • 1
    see gis.stackexchange.com/questions/165440/…
    – Ian Turton
    Commented Aug 31, 2017 at 16:59
  • Hi @iant, the problem is when I will intersect this reprojected shape with other objetcs, i got multiples regions of the globe at same time. Any suggestion to fix it? Commented Aug 31, 2017 at 17:18
  • Did you ever find a solution?
    – M.O.
    Commented Jun 15, 2022 at 2:43


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.