Difference between revisions of "Upgrading GRASS database"

From GRASS-Wiki
Jump to navigation Jump to search
(fix old module URLs)
 
(5 intermediate revisions by 2 users not shown)
Line 3: Line 3:
=== Migrating from GRASS 4 to GRASS 5 ===
=== Migrating from GRASS 4 to GRASS 5 ===


'''Raster:''' The LZW compression has been removed which requires a format conversion: see [http://grass.osgeo.org/announces/announce_lzw_removal.html announcement] from Jan. 2001.
'''Raster:''' The LZW compression has been removed which requires a format conversion: see [http://old.grass.osgeo.org/announces/announce_lzw_removal.html announcement] from Jan. 2001.


'''Raster3D:''' No changes.
'''Raster3D:''' No changes.
Line 13: Line 13:
=== Migrating from GRASS 4 to GRASS 6 ===
=== Migrating from GRASS 4 to GRASS 6 ===


'''Raster:''' The LZW compression has been removed which requires a format conversion: see [http://grass.osgeo.org/announces/announce_lzw_removal.html announcement] from Jan. 2001.
'''Raster:''' The LZW compression has been removed which requires a format conversion: see [http://old.grass.osgeo.org/announces/announce_lzw_removal.html announcement] from Jan. 2001.


'''Raster3D:''' No changes.
'''Raster3D:''' No changes.


'''Sites:''' Sites have been deprecated and are handled as vector points. Convert sites maps to vector maps with {{cmd|v.in.sites|version=64}} (for all maps, use {{cmd|v.in.sites.all|version=64}}).
'''Sites:''' Sites have been deprecated and are handled as vector points. Convert sites maps to vector maps with [https://old.grass.osgeo.org/grass64/manuals/v.in.sites.html v.in.sites] (for all maps, use [https://old.grass.osgeo.org/grass64/manuals/v.in.sites.all.html v.in.sites.all]).


'''Vector:''' You need to convert the format with {{cmd|v.convert|version=64}} (for all maps, use {{cmd|v.convert.all|version=64}}).
'''Vector:''' You need to convert the format with [https://old.grass.osgeo.org/grass64/manuals/v.convert.html v.convert] (for all maps, use [https://old.grass.osgeo.org/grass64/manuals/v.convert.all.html v.convert.all]).


=== Migrating from GRASS 5 to GRASS 6 ===
=== Migrating from GRASS 5 to GRASS 6 ===
Line 27: Line 27:
'''Raster3D:''' No changes.
'''Raster3D:''' No changes.


'''Sites:''' Sites have been deprecated and are handled as vector points. Convert sites maps to vector maps with {{cmd|v.in.sites|version=64}} (for all maps, use {{cmd|v.in.sites.all|version=64}}).
'''Sites:''' Sites have been deprecated and are handled as vector points. Convert sites maps to vector maps with [https://old.grass.osgeo.org/grass64/manuals/v.in.sites.html v.in.sites] (for all maps, use [https://old.grass.osgeo.org/grass64/manuals/v.in.sites.all.html v.in.sites.all]).


'''Vector:''' You need to convert the format with {{cmd|v.convert|version=64}} (for all maps, use {{cmd|v.convert.all|version=64}}).
'''Vector:''' You need to convert the format with [https://old.grass.osgeo.org/grass64/manuals/v.convert.html v.convert] (for all maps, use [https://old.grass.osgeo.org/grass64/manuals/v.convert.all.html v.convert.all]).


=== Migrating from GRASS 6 to GRASS 7 ===
=== Migrating from GRASS 6 to GRASS 7 ===


''IMPORTANT: GRASS 7 is NOT recommended for production use as it is under heavy development.''
'''Raster:''' No changes.


'''Raster:''' No changes (yet) but format update planned.
'''Raster3D:''' No changes.
 
'''Vector:''' You need to rebuild the topology with {{cmd|v.build}} (for all maps automatically: {{cmd|v.build.all}}).
 
=== Migrating from GRASS 7 to GRASS 8 ===


'''Raster3D:''' No changes.
So far format changes in GRASS GIS 8 are not yet under development.


'''Vector:''' You need to rebuild the topology with {{cmd|v.build|version=70}}.
See [https://trac.osgeo.org/grass/wiki/Grass8Planning GRASS 8 planning: ideas]


== Troubleshooting ==
== Troubleshooting ==

Latest revision as of 21:14, 24 June 2021

Upgrading the GRASS database from older to recent GRASS versions

Migrating from GRASS 4 to GRASS 5

Raster: The LZW compression has been removed which requires a format conversion: see announcement from Jan. 2001.

Raster3D: No changes.

Sites: No changes.

Vector: You need to rebuild the topology with v.support.

Migrating from GRASS 4 to GRASS 6

Raster: The LZW compression has been removed which requires a format conversion: see announcement from Jan. 2001.

Raster3D: No changes.

Sites: Sites have been deprecated and are handled as vector points. Convert sites maps to vector maps with v.in.sites (for all maps, use v.in.sites.all).

Vector: You need to convert the format with v.convert (for all maps, use v.convert.all).

Migrating from GRASS 5 to GRASS 6

Raster: No relevant changes.

Raster3D: No changes.

Sites: Sites have been deprecated and are handled as vector points. Convert sites maps to vector maps with v.in.sites (for all maps, use v.in.sites.all).

Vector: You need to convert the format with v.convert (for all maps, use v.convert.all).

Migrating from GRASS 6 to GRASS 7

Raster: No changes.

Raster3D: No changes.

Vector: You need to rebuild the topology with v.build (for all maps automatically: v.build.all).

Migrating from GRASS 7 to GRASS 8

So far format changes in GRASS GIS 8 are not yet under development.

See GRASS 8 planning: ideas

Troubleshooting

  • "XXX is not a valid mapset" error:
This normally indicates that the directory lacks a WIND file. Copying the DEFAULT_WIND file (if it exists) to WIND should suffice.