<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body dir="ltr" bgcolor="#ffffff" text="#000000">
<p style="margin-bottom: 0cm; margin-top: 0pt;">Rich Shepard wrote:<br>
</p>
<blockquote
cite="mid:alpine.LNX.2.00.1105231656070.23921@salmo.appl-ecosys.com"
type="cite">On Mon, 23 May 2011, Rich Shepard wrote:
<br>
<br>
<blockquote type="cite"> In GRASS-6.x is there a way to modify the
data in the default .dbf vector
<br>
attribute tables?
<br>
</blockquote>
<br>
This is interesting. I opened the .dbf in OO.o and there are the
county
<br>
names in the attribute column, 'NAMES'. When I query the table with the
db.*
<br>
tools I don't see the names, only the numbers in the previous two
columns.
<br>
<br>
Also, when I try to export the table I see errors and nothing is
exported:
<br>
<br>
GRASS 6.5.svn (Nevada-aea):~/grassdata > db.out.ogr in=county_bnd
<br>
dsn=/home/rshepard/counties for=CSV
<br>
</blockquote>
<br>
db.out.ogr is a wrapper around v.out.ogr, which forces "type=point".
SInce your county_bnd is probably a polygon layer, you probably want to
export to CSV the centroids (which hold the attrib data). Try this:<br>
<br>
v.out.ogr county_bnd olayer=county_bnd dsn=/home/rshepard/counties
format=CSV type=centroid<br>
<br>
<br>
<blockquote
cite="mid:alpine.LNX.2.00.1105231656070.23921@salmo.appl-ecosys.com"
type="cite">WARNING: The map contains islands. To preserve them in the
output map, use
<br>
the -c flag
<br>
WARNING: 47 boundary(ies) found, but not requested to be exported.
Verify
<br>
'type' parameter.
<br>
WARNING: 17 centroid(s) found, but not requested to be exported. Verify
<br>
'type' parameter.
<br>
WARNING: 17 areas found, but not requested to be exported. Verify
'type'
<br>
parameter.
<br>
WARNING: No points found, but requested to be exported. Will skip this
<br>
geometry type.
<br>
WARNING: Nothing to export
<br>
<br>
If I'm asking for attribute data to be exported from the .dbf why do
I get
<br>
errors about geographic attributes?
<br>
<br>
Confused, but wanting to learn,
<br>
<br>
Rich
<br>
_______________________________________________
<br>
grass-user mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/grass-user">http://lists.osgeo.org/mailman/listinfo/grass-user</a>
<br>
<br>
This mail was received via Mail-SeCure System.
<br>
<br>
<br>
</blockquote>
<br>
</body>
</html>