Changeset 11829


Ignore:
Timestamp:
Jun 17, 2011 6:44:38 AM (5 years ago)
Author:
warmerdam
Message:

Fix GetMapserverUnitUsingProj?() for proj=latlong (#3883)

Location:
trunk/mapserver
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/mapserver/HISTORY.TXT

    r11828 r11829  
    6363- Improve rangeset item checking so that Bands=1,2,3 is supported with WCS 1.0
    6464  (#3919).
     65
     66- Fix GetMapserverUnitUsingProj() for proj=latlong (#3883)
     67
    6568
    6669Version 6.0.0 (2011-05-11)
  • trunk/mapserver/mapprojhack.c

    r11022 r11829  
    8282{
    8383#ifdef USE_PROJ
    84     char *proj_str = pj_get_def( psProj->proj, 0 );
     84    char *proj_str;
     85
     86    if( pj_is_latlong( psProj ) )
     87        return MS_DD;
     88
     89    proj_str = pj_get_def( psProj->proj, 0 );
    8590
    8691/* -------------------------------------------------------------------- */
Note: See TracChangeset for help on using the changeset viewer.