Luisa wrote:
What is a GRASS sites file? How can I obtain this?
a sites file is what vector points maps were called in earlier versions
of GRASS.
grass-addons/imagery/i.pr/TODO:
"""
This module set was developed for GRASS 5.
TODO:
- change to ANSI prototypes
- follow SUBMITTING rules
- change sites to vector
"""
There is a "cheap" coding option which supports the old sites API while
using new vector points maps. I don't know if these modules use that
or not. The real solution is to make them use the new vector API (not
so hard, documented into the wiki somewhere?).
Hamish
Hamish wrote:
Luisa wrote:
What is a GRASS sites file? How can I obtain this?
a sites file is what vector points maps were called in earlier versions
of GRASS.
grass-addons/imagery/i.pr/TODO:
"""
This module set was developed for GRASS 5.
TODO:
- change to ANSI prototypes
- follow SUBMITTING rules
- change sites to vector
"""
There is a "cheap" coding option which supports the old sites API while
using new vector points maps. I don't know if these modules use that
or not. The real solution is to make them use the new vector API (not
so hard, documented into the wiki somewhere?).
If i.pr compiles without warnings (regarding the sites API) it should
work in 6.x. Otherwise it's not much work to change it to use the new
vector API.
Markus M
The only warning that i get is:
warning: format not a string literal and no format arguments
Where is that “cheap trick”. Before I do any implementation i.ptr I have to understand that its classification works. So far, fraom all the messages that I have read, no one can use the classification…
Luisa
2010/5/19 Markus Metz <markus.metz.giswork@googlemail.com>
Hamish wrote:
Luisa wrote:
What is a GRASS sites file? How can I obtain this?
a sites file is what vector points maps were called in earlier versions
of GRASS.
grass-addons/imagery/i.pr/TODO:
“”"
This module set was developed for GRASS 5.
TODO:
- change to ANSI prototypes
- follow SUBMITTING rules
- change sites to vector
“”"
There is a “cheap” coding option which supports the old sites API while
using new vector points maps. I don’t know if these modules use that
or not. The real solution is to make them use the new vector API (not
so hard, documented into the wiki somewhere?).
If i.pr compiles without warnings (regarding the sites API) it should
work in 6.x. Otherwise it’s not much work to change it to use the new
vector API.
Markus M
Hi thereInstead of GRASS sites file I used a normal GRASS-vector and I got this error:
Dev note: Adapted sites library used for vector points. (module should be updated to GRASS 6 vector library)
Since I’m only testing i.pr module I would like to know where can I get a conversion script/function between Vector->Site file?
If this runs ok I will implement this using GRASS vector.
Thanks
Luisa
2010/5/19 Luisa Peña <luisapena1979@gmail.com>
The only warning that i get is:
warning: format not a string literal and no format arguments
Where is that “cheap trick”. Before I do any implementation i.ptr I have to understand that its classification works. So far, fraom all the messages that I have read, no one can use the classification…
Luisa
2010/5/19 Markus Metz <markus.metz.giswork@googlemail.com>
Hamish wrote:
Luisa wrote:
What is a GRASS sites file? How can I obtain this?
a sites file is what vector points maps were called in earlier versions
of GRASS.
grass-addons/imagery/i.pr/TODO:
“”"
This module set was developed for GRASS 5.
TODO:
- change to ANSI prototypes
- follow SUBMITTING rules
- change sites to vector
“”"
There is a “cheap” coding option which supports the old sites API while
using new vector points maps. I don’t know if these modules use that
or not. The real solution is to make them use the new vector API (not
so hard, documented into the wiki somewhere?).
If i.pr compiles without warnings (regarding the sites API) it should
work in 6.x. Otherwise it’s not much work to change it to use the new
vector API.
Markus M
Luisa Peña wrote:
Hi there
Instead of GRASS sites file I used a normal GRASS-vector and I got this
error:
Dev note: Adapted sites library used for vector points. (module should be
updated to GRASS 6 vector library)
This is not an error, it's simply a message meant for the developer
maintaining this module, not even a warning, you can safely proceed.
Since you used a normal GRASS vector, the module did not abort with an
error, right?
Since I'm only testing i.pr module I would like to know where can I get a
conversion script/function between Vector->Site file?
If this runs ok I will implement this using GRASS vector.
Thanks
Luisa
2010/5/19 Luisa Peña <luisapena1979@gmail.com>
The only warning that i get is:
warning: format not a string literal and no format arguments
Where is that "cheap trick". Before I do any implementation i.ptr I have
to understand that its classification works. So far, fraom all the messages
that I have read, no one can use the classification...
Luisa
2010/5/19 Markus Metz <markus.metz.giswork@googlemail.com>
Hamish wrote:
> Luisa wrote:
>> What is a GRASS sites file? How can I obtain this?
>
>
> a sites file is what vector points maps were called in earlier versions
> of GRASS.
>
> grass-addons/imagery/i.pr/TODO:
> """
> This module set was developed for GRASS 5.
>
> TODO:
> - change to ANSI prototypes
> - follow SUBMITTING rules
> - change sites to vector
> """
>
> There is a "cheap" coding option which supports the old sites API while
> using new vector points maps. I don't know if these modules use that
> or not. The real solution is to make them use the new vector API (not
> so hard, documented into the wiki somewhere?).
If i.pr compiles without warnings (regarding the sites API) it should
work in 6.x. Otherwise it's not much work to change it to use the new
vector API.
Markus M
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user
Yes you are absolutely right. It seems to work…
Where can I find this?
“here is a “cheap” coding option which supports the old sites API while
using new vector points maps. I don’t know if these modules use that
or not. The real solution is to make them use the new vector API (not
so hard, documented into the wiki somewhere?).”
Luisa
2010/5/19 Markus Metz <markus.metz.giswork@googlemail.com>
Luisa Peña wrote:
Hi there
Instead of GRASS sites file I used a normal GRASS-vector and I got this
error:
Dev note: Adapted sites library used for vector points. (module should be
updated to GRASS 6 vector library)
This is not an error, it’s simply a message meant for the developer
maintaining this module, not even a warning, you can safely proceed.
Since you used a normal GRASS vector, the module did not abort with an
error, right?
Since I’m only testing i.pr module I would like to know where can I get a
conversion script/function between Vector->Site file?
If this runs ok I will implement this using GRASS vector.
Thanks
Luisa
2010/5/19 Luisa Peña <luisapena1979@gmail.com>
The only warning that i get is:
warning: format not a string literal and no format arguments
Where is that “cheap trick”. Before I do any implementation i.ptr I have
to understand that its classification works. So far, fraom all the messages
that I have read, no one can use the classification…
Luisa
2010/5/19 Markus Metz <markus.metz.giswork@googlemail.com>
Hamish wrote:
Luisa wrote:
What is a GRASS sites file? How can I obtain this?
a sites file is what vector points maps were called in earlier versions
of GRASS.
grass-addons/imagery/i.pr/TODO:
“”"
This module set was developed for GRASS 5.
TODO:
- change to ANSI prototypes
- follow SUBMITTING rules
- change sites to vector
“”"
There is a “cheap” coding option which supports the old sites API while
using new vector points maps. I don’t know if these modules use that
or not. The real solution is to make them use the new vector API (not
so hard, documented into the wiki somewhere?).
If i.pr compiles without warnings (regarding the sites API) it should
work in 6.x. Otherwise it’s not much work to change it to use the new
vector API.
Markus M
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user
Luisa Peña wrote:
Yes you are absolutely right. It seems to work...
Where can I find this?
"here is a "cheap" coding option which supports the old sites API while
using new vector points maps. I don't know if these modules use that
or not. The real solution is to make them use the new vector API (not
so hard, documented into the wiki somewhere?)."
The old sites API is deprecated. It does not allow modules to handle
old GRASS sites, instead a regular GRASS 6 vector with points is
required for the sites API in GRASS 6. Any module still using this old
sites API works just fine in GRASS 6 with a GRASS 6 vector. The i.pr
modules still use this API and should be updated, but that does not
mean that the i.pr modules need an old GRASS sites vector, instead
i.pr.training needs a regular GRASS 6 vector with points.
In short, as far as vector input for non-interactive i.pr.training is
concerned, the module should work just fine as is in GRASS 6.
Markus Metz:
Luisa Peña wrote:
>
> Hi there
> Instead of GRASS sites file I used a normal GRASS-vector and I got this
> error:
> Dev note: Adapted sites library used for vector points. (module should
> be
> updated to GRASS 6 vector library)
This is not an error, it's simply a message meant for the developer
maintaining this module, not even a warning, you can safely proceed.
Since you used a normal GRASS vector, the module did not abort with an
error, right?
> Since I'm only testing i.pr module I would like to know where can I get
> a
> conversion script/function between Vector->Site file?
> If this runs ok I will implement this using GRASS vector.
> Thanks
> Luisa
>
> 2010/5/19 Luisa Peña <luisapena1979@gmail.com>
>>
>> The only warning that i get is:
>> warning: format not a string literal and no format arguments
>> Where is that "cheap trick". Before I do any implementation i.ptr I
>> have
>> to understand that its classification works. So far, fraom all the
>> messages
>> that I have read, no one can use the classification...
>> Luisa
>>
>> 2010/5/19 Markus Metz <markus.metz.giswork@googlemail.com>
>>>
>>> Hamish wrote:
>>> > Luisa wrote:
>>> >> What is a GRASS sites file? How can I obtain this?
>>> >
>>> >
>>> > a sites file is what vector points maps were called in earlier
>>> > versions
>>> > of GRASS.
>>> >
>>> > grass-addons/imagery/i.pr/TODO:
>>> > """
>>> > This module set was developed for GRASS 5.
>>> >
>>> > TODO:
>>> > - change to ANSI prototypes
>>> > - follow SUBMITTING rules
>>> > - change sites to vector
>>> > """
>>> >
>>> > There is a "cheap" coding option which supports the old sites API
>>> > while
>>> > using new vector points maps. I don't know if these modules use that
>>> > or not. The real solution is to make them use the new vector API
>>> > (not
>>> > so hard, documented into the wiki somewhere?).
>>>
>>> If i.pr compiles without warnings (regarding the sites API) it should
>>> work in 6.x. Otherwise it's not much work to change it to use the new
>>> vector API.
>>>
>>> Markus M
>>
>
>
> _______________________________________________
> grass-user mailing list
> grass-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>
>
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user