Skip to content

Commit

Permalink
bump version number
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.osgeo.org/grass/grass/trunk@46641 15284696-431f-4ddb-bdfa-cd5b030d7da7
  • Loading branch information
HamishB committed Jun 9, 2011
1 parent 82c1c64 commit e05e0c6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions raster/r.out.vtk/writeascii.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ write_vtk_normal_header(FILE * fp, struct Cell_head region, double elevation,

/*Simple vtk ASCII header */
fprintf(fp, "# vtk DataFile Version 3.0\n");
fprintf(fp, "GRASS 6 Export\n");
fprintf(fp, "GRASS GIS 7 Export\n");
fprintf(fp, "ASCII\n");
fprintf(fp, "DATASET STRUCTURED_POINTS\n"); /*We are using the structured point dataset. */

Expand Down Expand Up @@ -109,7 +109,7 @@ void write_vtk_structured_elevation_header(FILE * fp, struct Cell_head region)

/*Simple vtk ASCII header */
fprintf(fp, "# vtk DataFile Version 3.0\n");
fprintf(fp, "GRASS 6 Export\n");
fprintf(fp, "GRASS GIS 7 Export\n");
fprintf(fp, "ASCII\n");
fprintf(fp, "DATASET STRUCTURED_GRID\n"); /*We are using the structured grid dataset. */
fprintf(fp, "DIMENSIONS %i %i %i\n", region.cols, region.rows, 1);
Expand All @@ -125,7 +125,7 @@ void write_vtk_polygonal_elevation_header(FILE * fp, struct Cell_head region)

/*Simple vtk ASCII header */
fprintf(fp, "# vtk DataFile Version 3.0\n");
fprintf(fp, "GRASS 6 Export\n");
fprintf(fp, "GRASS GIS 7 Export\n");
fprintf(fp, "ASCII\n");
fprintf(fp, "DATASET POLYDATA\n"); /*We are using polydataset. */
fprintf(fp, "POINTS %i float\n", region.cols * region.rows);
Expand Down
6 changes: 3 additions & 3 deletions raster3d/r3.out.vtk/writeVTKHead.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ void write_vtk_structured_point_header(FILE * fp, char *vtkFile,
/*Simple vtk ASCII header */

fprintf(fp, "# vtk DataFile Version 3.0\n");
fprintf(fp, "GRASS 6 Export\n");
fprintf(fp, "GRASS GIS 7 Export\n");
fprintf(fp, "ASCII\n");
fprintf(fp, "DATASET STRUCTURED_POINTS\n"); /*We are using the structured point dataset. */

Expand Down Expand Up @@ -94,7 +94,7 @@ void write_vtk_structured_grid_header(FILE * fp, char *vtkFile,
G_debug(3,
_("write_vtk_structured_grid_header: Writing VTKStructuredGrid-Header"));
fprintf(fp, "# vtk DataFile Version 3.0\n");
fprintf(fp, "GRASS 6 Export\n");
fprintf(fp, "GRASS GIS 7 Export\n");
fprintf(fp, "ASCII\n");
fprintf(fp, "DATASET STRUCTURED_GRID\n"); /*We are using the structured grid dataset. */
fprintf(fp, "DIMENSIONS %i %i %i\n", region.cols, region.rows,
Expand All @@ -115,7 +115,7 @@ void write_vtk_unstructured_grid_header(FILE * fp, char *vtkFile,
G_debug(3,
_("write_vtk_unstructured_grid_header: Writing VTKUnstructuredGrid-Header"));
fprintf(fp, "# vtk DataFile Version 3.0\n");
fprintf(fp, "GRASS 6 Export\n");
fprintf(fp, "GRASS GIS 7 Export\n");
fprintf(fp, "ASCII\n");
fprintf(fp, "DATASET UNSTRUCTURED_GRID\n"); /*We are using the unstructured grid dataset. */
/*Only cell data is available, because we creating a hexaeder/vtk-voxel for every voxel */
Expand Down
2 changes: 1 addition & 1 deletion vector/v.out.vtk/head.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ int write_vtk_head(FILE * fp, struct Map_info *Map)
{
G_debug(3, _("writeVTKHeader: Writing VTK-Header"));
fprintf(fp, "# vtk DataFile Version 3.0\n");
fprintf(fp, "GRASS 6 vector map: %s\n", Map->name);
fprintf(fp, "GRASS GIS 7 vector map: %s\n", Map->name);
fprintf(fp, "ASCII\n");
fprintf(fp, "DATASET POLYDATA\n"); /*We are using polydata. If Volume data is supported, uGrid should be used */
return (0);
Expand Down

0 comments on commit e05e0c6

Please sign in to comment.