MCPcopy Create free account
hub / github.com/OSGeo/PROJ / createTmpFile

Function createTmpFile

test/unit/proj_context_test.cpp:43–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41namespace {
42
43static bool createTmpFile(const std::string &filename) {
44 FILE *f = fopen(filename.c_str(), "wt");
45 if (!f)
46 return false;
47 fprintf(
48 f,
49 "<MY_PIPELINE> +proj=pipeline +step +proj=utm +zone=31 +ellps=GRS80\n");
50 fclose(f);
51 return true;
52}
53
54// ---------------------------------------------------------------------------
55

Callers 2

createTempDictFunction · 0.85
TESTFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected