Mon, Oct 11 2004
19:47:59
|
|
Request created by guest
|
|
Subject: v.out.ogr fails to write negative cat values
Platform: Mac OSX
grass obtained from: Trento Italy site
grass binary for platform: Compiled from Sources
GRASS Version: 5.7cvs20041009
When exporting a vector map with no attribute table, just cats, and the cats
contain some negative
values, those negative values don't get exported. The feature is still exported,
just with no cat value.
GRASS says 'WARNING: nn features without category written' on all formats. In
a shapefile, the values
in the dbf are a string of asterisks '***********'. In a csv file it's just
empty. In a MapInfo dat file, I
can't tell for sure (just poking around with a hex editor), but it looks like
they are either zero or null.
Example: lines generated from r.contour get no attribute table, with the elevations
(rounded to
integers) in the category, and lines that are below sea level (or otherwise negative
elevation) get
negative categories.
v.out.ascii works fine and exports negative cat values. |
|
Tue, Oct 12 2004
14:29:53
|
|
Comments added by guest
|
|
|
Tue, Oct 12 2004
17:57:30
|
|
Mail sent by blazek@itc.it
|
|
Return-Path |
<blazek@itc.it>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
Message-Id |
<200410121557.i9CFvL930083@janacek.itc.it.>
|
Content-Type |
text/plain; charset="iso-8859-1"
|
From |
Radim Blazek <blazek@itc.it>
|
To |
Request Tracker <grass-bugs@intevation.de>, grass5@grass.itc.it
|
Subject |
Re: [GRASS5] [bug #2656] (grass) v.out.ogr fails to write negative cat values
|
Date |
Tue, 12 Oct 2004 17:57:21 +0200
|
X-Mailer |
KMail [version 1.3.2]
|
References |
<20041011174759.9759D100158@lists.intevation.de>
|
In-Reply-To |
<20041011174759.9759D100158@lists.intevation.de>
|
MIME-Version |
1.0
|
Content-Transfer-Encoding |
8bit
|
X-Spam-Status |
No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
|
X-Spam-Level |
|
Cat values should never be negative. r.contour should
be modified to create a table.
Radim
On Monday 11 October 2004 19:47, Request Tracker wrote:
> this bug's URL: http://intevation.de/rt/webrt?serial_num=2656
> -------------------------------------------------------------------------
>
> Subject: v.out.ogr fails to write negative cat values
>
> Platform: Mac OSX
> grass obtained from: Trento Italy site
> grass binary for platform: Compiled from Sources
> GRASS Version: 5.7cvs20041009
>
> When exporting a vector map with no attribute table, just cats, and the
> cats contain some negative values, those negative values don't get
> exported. The feature is still exported, just with no cat value. GRASS
> says 'WARNING: nn features without category written' on all formats. In a
> shapefile, the values in the dbf are a string of asterisks '***********'.
> In a csv file it's just empty. In a MapInfo dat file, I can't tell for
> sure (just poking around with a hex editor), but it looks like they are
> either zero or null.
>
> Example: lines generated from r.contour get no attribute table, with the
> elevations (rounded to integers) in the category, and lines that are below
> sea level (or otherwise negative elevation) get negative categories.
>
> v.out.ascii works fine and exports negative cat values.
>
> -------------------------------------------- Managed by Request Tracker
>
> _______________________________________________
> grass5 mailing list
> grass5@grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass5
|
|
Mon, Nov 29 2004
15:07:22
|
|
Status changed to resolved by mneteler
|
|