MCPcopy Create free account
hub / github.com/MapServer/MapServer / writeProjection

Function writeProjection

mapfile.c:1585–1596  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1583}
1584
1585static void writeProjection(FILE *stream, int indent, projectionObj *p) {
1586#ifdef USE_PROJ
1587 int i;
1588
1589 if(!p || p->numargs <= 0) return;
1590 indent++;
1591 writeBlockBegin(stream, indent, "PROJECTION");
1592 for(i=0; i<p->numargs; i++)
1593 writeString(stream, indent, NULL, NULL, p->args[i]);
1594 writeBlockEnd(stream, indent, "PROJECTION");
1595#endif
1596}
1597
1598/*
1599** Initialize, load and free a labelObj structure

Callers 2

writeLayerFunction · 0.85
msSaveMapFunction · 0.85

Calls 3

writeBlockBeginFunction · 0.85
writeStringFunction · 0.85
writeBlockEndFunction · 0.85

Tested by

no test coverage detected