| 1007 | } |
| 1008 | |
| 1009 | static 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 |
no test coverage detected