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

Function writeGrid

mapfile.c:1009–1023  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1007}
1008
1009static void writeGrid(FILE *stream, int indent, graticuleObj *pGraticule)
1010{
1011 if(!pGraticule) return;
1012
1013 indent++;
1014 writeBlockBegin(stream, indent, "GRID");
1015 writeString(stream, indent, "LABELFORMAT", NULL, pGraticule->labelformat);
1016 writeNumber(stream, indent, "MAXARCS", 0, pGraticule->maxarcs);
1017 writeNumber(stream, indent, "MAXSUBDIVIDE", 0, pGraticule->maxsubdivides);
1018 writeNumber(stream, indent, "MAXINTERVAL", 0, pGraticule->maxincrement);
1019 writeNumber(stream, indent, "MINARCS", 0, pGraticule->minarcs);
1020 writeNumber(stream, indent, "MININTERVAL", 0, pGraticule->minincrement);
1021 writeNumber(stream, indent, "MINSUBDIVIDE", 0, pGraticule->minsubdivides);
1022 writeBlockEnd(stream, indent, "GRID");
1023}
1024
1025/*
1026** Initialize, load and free a projectionObj structure

Callers 1

writeLayerFunction · 0.85

Calls 4

writeBlockBeginFunction · 0.85
writeStringFunction · 0.85
writeNumberFunction · 0.85
writeBlockEndFunction · 0.85

Tested by

no test coverage detected