[GRASS-user] using v.line.center

Markus Neteler neteler at osgeo.org
Thu Jun 5 16:46:46 EDT 2008


On Thu, Jun 5, 2008 at 7:38 PM, Maciej Sieczka <tutey at o2.pl> wrote:
> Manuel Sangiao pisze:
>
>> WARNING: Cannot get point on line: cat=927 offset=89379.795093 (line
>> lenght=2.219076) P 927 927 89379.795093
>>
>> I guess the reason for this error is the projection (mapset?) unit.
>> The projection unit(s) in my mapset is degree(s). And the length
>> units are meters.
>
> v.line.center as it is can't work in latlon Location. It uses v.to.db
> for length calculation, which cannot measure in degrees,

I think it can... from the man page:
"When calculating perimeters in Latitude-Longitude locations, the geodesic
 distance between the vertices is used.
"

Maybe the problem is different? remember to add "-x" to the first
line of v.line.center to obtain detailed steps of processing (shell
debugging).

Markus


More information about the grass-user mailing list