[GRASS-user] v.to.db: obscenely large area values for tiny islands ?!

Hi,

I just observed the phenomenon of about totally exeragated area readings for islands, using GRASS 6.3.0 on SuSe with postgres (pg driver):

A location of county data for northern central europe was set up from a shape file [topology had been checked with v.build], including all the tiny islands dotting the southern shoreline of the Northern and Baltic Seas.

Eventually, a vector layer of subdivided counties _and all the separate islands_ was created.

  v.db.addcol foo col="area double precision" layer=1
  v.to.db map=foo type=centroid option=area col=area unit=h

was used to derive the areas in hectar.

As said, above the areas for the islands remain way too large.
Example:
The fair island of Helgoland should have a size of 2.076ha (according to Wikipedia).
The area calculated by v.to.db are stately 498.465 ha. Even considering eventual land reclamation actions, that's out of scale.

Area readings for landlocked counties are fine.

Has anybody also encountered this ? Are there workarounds ?

Peter
  
--
Dr. Peter Löwe
<peter.loewe@gmx.de>

Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger01

Hello,
first - does every island has a unique CAT?
second - if Yes, can You, please, provide sample data/location?
Areas *should* be correct, still there's some interesting category
related manipulations in v.to.db and without test data I'm too lazy
search for possible bugs :slight_smile:

Maris.

On Mon, Mar 23, 2009 at 6:45 PM, Maris Nartiss <maris.gis@gmail.com> wrote:

Hello,
first - does every island has a unique CAT?
second - if Yes, can You, please, provide sample data/location?
Areas *should* be correct, still there's some interesting category
related manipulations in v.to.db and without test data I'm too lazy
search for possible bugs :slight_smile:

I suspect that Peter works in LatLong which still may cause troubles
(Wolf fixed the geodetic length in Nov 2005, though).

Peter: GRASS 6.3.0 is getting dated, could you try with 6.4.0RC3 instead?
http://grass.osgeo.org/download/index.php#g64x
-> OpenSUSE

Then we could fix things before the official 6.4.0 release.

Markus