| 896 | */ |
| 897 | |
| 898 | int msProjectionsDiffer( projectionObj *proj1, projectionObj *proj2 ) |
| 899 | |
| 900 | { |
| 901 | int i; |
| 902 | |
| 903 | if( proj1->numargs == 0 || proj2->numargs == 0 ) |
| 904 | return MS_FALSE; |
| 905 | |
| 906 | if( proj1->numargs != proj2->numargs ) |
| 907 | return MS_TRUE; |
| 908 | |
| 909 | /* This test should be more rigerous. */ |
| 910 | if( proj1->gt.need_geotransform |
| 911 | || proj2->gt.need_geotransform ) |
| 912 | return MS_TRUE; |
| 913 | |
| 914 | for( i = 0; i < proj1->numargs; i++ ) |
| 915 | { |
| 916 | if( strcmp(proj1->args[i],proj2->args[i]) != 0 ) |
| 917 | return MS_TRUE; |
| 918 | } |
| 919 | |
| 920 | return MS_FALSE; |
| 921 | } |
| 922 | |
| 923 | /************************************************************************/ |
| 924 | /* msTestNeedWrap() */ |
no outgoing calls
no test coverage detected