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

Function getMinValidContent

test/unit/test_defmodel.cpp:58–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56constexpr double modelMaxY = -25;
57
58static json getMinValidContent() {
59 json j;
60 j["file_type"] = "GeoTIFF";
61 j["format_version"] = "1.0";
62 j["source_crs"] = "EPSG:4959";
63 j["target_crs"] = "EPSG:7907";
64 j["definition_crs"] = "EPSG:4959";
65 j["extent"]["type"] = "bbox";
66 j["extent"]["parameters"] = {
67 {"bbox", {modelMinX, modelMinY, modelMaxX, modelMaxY}}};
68 j["time_extent"]["first"] = "1900-01-01T00:00:00Z";
69 j["time_extent"]["last"] = "2050-01-01T00:00:00Z";
70 j["components"] = json::array();
71
72 return j;
73}
74
75// ---------------------------------------------------------------------------
76

Callers 2

getFullValidContentFunction · 0.70
TESTFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected