MCPcopy Index your code
hub / github.com/MapServer/MapServer / msProjectionsDiffer

Function msProjectionsDiffer

mapproject.c:898–921  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

896*/
897
898int 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() */

Callers 15

msQueryByAttributesFunction · 0.85
msQueryByFilterFunction · 0.85
msQueryByRectFunction · 0.85
msQueryByFeaturesFunction · 0.85
msQueryByPointFunction · 0.85
msQueryByShapeFunction · 0.85
msDrawShapeFunction · 0.85
msDrawPointFunction · 0.85
msBuildWMSLayerURLFunction · 0.85
msDrawWMSLayerLowFunction · 0.85
RebuildClustersFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected