[GRASS-dev] Convert from GRASS5 to GRASS6

Greetings

I have been trying to use i.pr addon module in GRASS6.4 but Markus explained to me that this addon was developed for GRASS5. So, if I wanted to use in GRASS6 I would have to "covert" to GRASS6.I want to know where can I find some documentation regarding the conversion from GRASS5 to GRASS6 and what are the main differences. With this I will evaluate the effort I will need to convert a module from GRASS5 to GRASS6
Thanks

Antonio

__________ Information from ESET NOD32 Antivirus, version of virus signature database 5040 (20100419) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com

António wrote:

I have been trying to use i.pr addon module in
GRASS6.4 but Markus explained to me that this addon
was developed for GRASS5. So, if I wanted to use in GRASS6 I
would have to "covert" to GRASS6.I want to know where can I
find some documentation regarding the conversion from GRASS5
to GRASS6 and what are the main differences. With this I
will evaluate the effort I will need to convert a module
from GRASS5 to GRASS6

for an imagery (raster) module, maybe it is as simple as writing a new
Makefile? (start with a copy from something similar)
the raster format and display drivers didn't really change between 5 and 6.

Hamish

On 19/04/10 16:46, Hamish wrote:

António wrote:

I have been trying to use i.pr addon module in
GRASS6.4 but Markus explained to me that this addon
was developed for GRASS5. So, if I wanted to use in GRASS6 I
would have to "covert" to GRASS6.I want to know where can I
find some documentation regarding the conversion from GRASS5
to GRASS6 and what are the main differences. With this I
will evaluate the effort I will need to convert a module
from GRASS5 to GRASS6

for an imagery (raster) module, maybe it is as simple as writing a new
Makefile? (start with a copy from something similar)
the raster format and display drivers didn't really change between 5 and 6.

I'm note sure the issue is only with Makefiles. See

http://www.osgeo.org/pipermail/grass-dev/2007-November/034342.html
and
http://lists.osgeo.org/pipermail/grass-user/2007-November/042041.html

where I came upon the same issue. Never had the time to pursue afterwards, but apparently the module compiles ok.

Moritz

I believe the module compilation was ok. The problem is opening/displaying images in panel (monitor) using d.mon X0 and then i.pr.training command.

Moritz Lennert wrote:

On 19/04/10 16:46, Hamish wrote:

António wrote:

I have been trying to use i.pr addon module in
GRASS6.4 but Markus explained to me that this addon
was developed for GRASS5. So, if I wanted to use in GRASS6 I
would have to "covert" to GRASS6.I want to know where can I
find some documentation regarding the conversion from GRASS5
to GRASS6 and what are the main differences. With this I
will evaluate the effort I will need to convert a module
from GRASS5 to GRASS6

for an imagery (raster) module, maybe it is as simple as writing a new
Makefile? (start with a copy from something similar)
the raster format and display drivers didn't really change between 5 and 6.

I'm note sure the issue is only with Makefiles. See

http://www.osgeo.org/pipermail/grass-dev/2007-November/034342.html
and
http://lists.osgeo.org/pipermail/grass-user/2007-November/042041.html

where I came upon the same issue. Never had the time to pursue afterwards, but apparently the module compiles ok.

Moritz

__________ Information from ESET NOD32 Antivirus, version of virus signature database 5041 (20100419) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com

__________ Information from ESET NOD32 Antivirus, version of virus signature database 5041 (20100419) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com

Hi Hamish and Lennert

I decided to sleep over this matter and today, I realized that it makes sense. The thing is i.pr.training is compiling but in the panel the rasters are not being displayed. Maybe some library it's not working. I will give a try

Is there any wiki regarding library changes from GRASS5 to GRASS6?
Thanks
Antonio

for an imagery (raster) module, maybe it is as simple as writing a new
Makefile? (start with a copy from something similar)
the raster format and display drivers didn't really change between 5 and 6.

I'm note sure the issue is only with Makefiles. See

http://www.osgeo.org/pipermail/grass-dev/2007-November/034342.html
and
http://lists.osgeo.org/pipermail/grass-user/2007-November/042041.html

where I came upon the same issue. Never had the time to pursue afterwards, but apparently the module compiles ok.

Moritz

__________ Information from ESET NOD32 Antivirus, version of virus signature database 5042 (20100419) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com