[GRASS-user] GRASS sites file

Luisa Peña luisapena1979 at gmail.com
Wed May 19 10:38:05 EDT 2010


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)

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 at 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 at 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
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20100519/a34a231a/attachment.html


More information about the grass-user mailing list