Changeset 833


Ignore:
Timestamp:
Jun 9, 2017, 12:46:19 PM (8 years ago)
Author:
cresson
Message:

DOC: Add some comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ms-style/zoo-project/zoo-kernel/service_internal_ms.c

    r832 r833  
    136136    return (val-x0)*(y1-y0)/(x1-x0) + y0;
    137137}
    138 
    139138double base( double val ) {
    140139    if ( val <= 0.25 ) return 0;
     
    843842   */
    844843
    845   /* msRasterResample (NEAREST/AVERAGE/BILINEAR) */
    846   const char * msRasterResamplingPropertyName       = "msRasterResample";
    847   /* msRasterStyle (linearStretching/classify) */
    848   const char * msRasterStylePropertyName            = "msRasterStyle";
    849   const char * msRasterStyleLinearStretchingPropertyValue       = "linearStretching";
     844  // Properties names
     845  const char * msRasterResamplingPropertyName       = "msRasterResample";       /* can be NEAREST/AVERAGE/BILINEAR */
     846  const char * msRasterStylePropertyName            = "msRasterStyle";          /* can be linearStretching/classify */
     847  const char * msRasterStyleOptionsPropertyName     = "msRasterStyleOptions";   /* can be the path to a mapfile */
     848
     849  // Allowed properties values
     850  const char * msRasterStyleLinearStretchingPropertyValue       = "linearStretching";   /* RasterStyle */
    850851  const char * msRasterStyleColorPalettePropertyValue           = "classify";
    851   const char * msRasterStyleOptionsPropertyName     = "msRasterStyleOptions";
    852   /* options for linear stretching */
    853   const char * msRasterStyleLinearStretchingMinMaxPropertyName  = "minMax";
     852  const char * msRasterStyleLinearStretchingMinMaxPropertyName  = "minMax";             /* Linear stretching */
    854853  const char * msRasterStyleLinearStretchingMeanStdPropertyName = "meanStd";
    855854
     855  // Maximum number of classes (classify mode)
    856856  const unsigned int msRasterStyleClassifyAutoMaximumNumberOfClasses = 256;
    857857
     
    953953  /*
    954954   * This is just for the backward compatibility and will be deprecated
     955   * TODO: mark this as deprecated
    955956   */
    956957  {
     
    11661167
    11671168        } // styleType is LINEAR_STRETCHING
     1169
    11681170      else if( styleType == CLASSIFY )
    11691171        {
    1170         if(iBand==0)
     1172        if(iBand==0) // classify only the first band
    11711173          {
    11721174          if (classifyType == USER)
     
    12911293
    12921294          } // styleType is CLASSIFY
     1295
    12931296        } //iBand is 0
    12941297
Note: See TracChangeset for help on using the changeset viewer.

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png