<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span lang=EN-GB>Hi,<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-GB>I am trying to export a contour layer to
PostGIS / Shapefile / GML but to no avail. The files I am trying to export are
in GRASS Vector format, thus I am using v.out.ogr. I am using the dataset found
with the Grass Book Edition 3 (North Carolina). My layer is elev_contour_3m. I
tried also to load the 10m contour layer in the same dataset but got the same
results, so I do not think it is a problem of the vector files, but more of an
exporting problem.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-GB>Any help how I can make this layer into a
useable layer outside GRASS is extremely appreciated!<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-GB>I am taking this email to wish everyone on
the list best wishes for Christmas and New Year to you and your families :)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-GB>Matthew<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-GB>I am supplying some info which might help
you give me some tips how I can do it.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-GB>GRASS 6.3.0RC1
(thesis):~/thesis_gis/thesis/yancho/vector/elev_contour_3m > v.out.ascii
elev_contour_3m format=standard | head -n 20<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB>ORGANIZATION: NC OneMap<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB>DIGIT DATE:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB>DIGIT NAME: helena<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB>MAP NAME:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB>MAP DATE: Fri
Mar 9 12:12:48 2007<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB>MAP SCALE: 1<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB>OTHER INFO:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB>ZONE:
0<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB>MAP THRESH: 0.000000<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB>VERTI:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB>L 309 1<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB> 644845.39132067
228495 58<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB> 644850.5257363
228485 58<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB> 644855
228476.80568172 58<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-GB>GRASS 6.3.0RC1 (thesis):~/thesis_gis/thesis/yancho/vector/elev_contour_3m
> v.db.select elev_contour_3m<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB>DBMI-DBF driver error:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB>Table 'elev_contour_3m' doesn't exist.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB>Error in db_open_select_cursor()<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-GB>GRASS 6.3.0RC1
(thesis):~/thesis_gis/thesis/yancho/vector/elev_contour_3m > v.info
elev_contour_3m<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB>+----------------------------------------------------------------------------+<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB> |
Layer:
elev_contour_3m
|<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB> |
Mapset:
yancho
|<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB> | Location:
thesis
|<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB> |
Database:
/home/yancho/thesis_gis
|<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB> |
Title:
|<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB> | Map
scale:
1:1
|<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB> | Map
format:
native
|<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB> | Name of creator:
helena
|<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB> | Organization: NC
OneMap
|<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB> | Source
date: Fri Mar 9 12:12:48 2007 <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-GB>| Number of
lines:
3355 Number
of islands:
0 |<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-GB>And these are the output formats I tried :<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-GB>GRASS 6.3.0RC1 (thesis):~/thesis_gis/thesis/yancho/vector/elev_contour_3m
> v.out.ogr input=elev_contour_3m format=ESRI_Shapefile
dsn=/home/yancho/elevation.shp<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB>WARNING: Vector map <elev_contour_3m>
is 3D. Use format specific layer<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB>
creation options (parameter 'lco') to export in 3D rather than 2D<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB>
(default)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB>DBMI-DBF driver error:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB>Table 'elev_contour_3m' doesn't exist<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-GB>ERROR: Unable to describe table
<elev_contour_3m><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-GB>GRASS 6.3.0RC1
(thesis):~/thesis_gis/thesis/yancho/vector/elev_contour_3m > v.out.ogr in=elev_contour_3m
type=face dsn="PG:host=localhost dbname=thesis user=usernamehere
password=passhere" format=PostgreSQL lco="SHPT=ARCZ"<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB>WARNING: Vector map <elev_contour_3m>
is 3D. Use format specific layer<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB>
creation options (parameter 'lco') to export in 3D rather than 2D<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB>
(default)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB>DBMI-DBF driver error:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB>Table 'elev_contour_3m' doesn't exist<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-GB>ERROR: Unable to describe table
<elev_contour_3m><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-GB>I tried also lco=”DIM=3” but
got same results.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p> </o:p></span></p>
<div class=MsoNormal align=center style='text-align:center'><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'>
<hr size=2 width="100%" align=center>
</span></div>
<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'>I
am using the free version of SPAMfighter for private users.<br>
It has removed 18742 spam emails to date.<br>
Paying users do not have this message in their emails.<br>
Try <a href="http://www.spamfighter.com/len">SPAMfighter</a> for free now!<o:p></o:p></span></p>
</div>
</body>
</html>