[mapserver-users] Polar Orthographic Projection Using MMS

Joseph Ardizzone ardizzone at postit.gsfc.nasa.gov
Sun Mar 23 10:03:03 EDT 2008


Hi,

I'm attempting to use the mapserver to create polar orthographic 
projections. The mapfile that I am using contains several layers 
including continental boundaries and the NASA Blue Marble land image. 
The default output projection was set to EPSG:4326. I modified the 
output projection to be:

EXTENT -6378137.0 -6356752.0 6378137.0 6356752.0

PROJECTION
  "proj=ortho"
  "lat_0=90.0"
  "lon_0=0.0"
  "x_0=0.0"
  "y_0=0.0"
  "ellps=WGS84"
END

When I invoke the mapserver with the modified mapfile, the continental 
boundaries (polygon type shapefile) display as expected. However, the 
Blue Marble image only displays along a narrow longitude boundary. If I 
play with the "EXTENT" settings I can often get more or less of the 
image displayed. I know that the image is global so that is not the 
problem. Here is the mapfile layer information for the land:

  LAYER
    NAME "land"
    TYPE RASTER
    STATUS on
    PROJECTION
      "init=epsg:4326"
    END
    TILEINDEX "/sivo/data/bluemarble/bluemarble.shp"
    METADATA
      "wms_title" "Blue Marble 2002 - MODIS composite land image"
      "wms_layer_group" "/Reference"
      ###NOTE: wms_group_abstract does not seem to work.
      "wms_group_abstract" "These ancillary datasets are provided for 
cartographic reference purposes."
      "wms_abstract" "The Blue Marble 2002 dataset is a composite of 
cloud-free land images from the Moderate Resolution Imaging 
Spectroradiometer (MODIS) instrument aboard NASA's Terra satellite. The 
spatial resolution is approximately 1km. The image was produced by NASA 
Goddard Space Flight Center. For more information see NASA Earth 
Observatory (http://earthobservatory.nasa.gov/)."
    END
  END

Any help is greatly appreciated. Thanks, Joe


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the mapserver-users mailing list