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

Function msInitProjection

mapfile.c:1028–1039  ·  view source on GitHub ↗

** Initialize, load and free a projectionObj structure */

Source from the content-addressed store, hash-verified

1026** Initialize, load and free a projectionObj structure
1027*/
1028int msInitProjection(projectionObj *p)
1029{
1030 p->gt.need_geotransform = MS_FALSE;
1031 p->numargs = 0;
1032 p->args = NULL;
1033#ifdef USE_PROJ
1034 p->proj = NULL;
1035 p->args = (char **)malloc(MS_MAXPROJARGS*sizeof(char *));
1036 MS_CHECK_ALLOC(p->args, MS_MAXPROJARGS*sizeof(char *), -1);
1037#endif
1038 return(0);
1039}
1040
1041void msFreeProjection(projectionObj *p) {
1042#ifdef USE_PROJ

Callers 15

FLTParseEpsgStringFunction · 0.85
FLTApplySimpleSQLFilterFunction · 0.85
FLTParseGMLEnvelopeFunction · 0.85
msOWSPrintBoundingBoxFunction · 0.85
msWCSGetCoverageFunction · 0.85
msWCSGetCoverageMetadataFunction · 0.85
msWCSGetCoverage20Function · 0.85
initLayerFunction · 0.85
initMapFunction · 0.85
FTLParseEpsgStringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected