<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;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","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;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.gmailquote
        {mso-style-name:gmail_quote;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.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 style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I did not create the layer myself. Downloaded it in the north
Carolina package that came out with Grass Book 3<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> G. Allegri
[mailto:giohappy@gmail.com] <br>
<b>Sent:</b> Saturday, December 22, 2007 1:13 AM<br>
<b>To:</b> Matthew Pulis<br>
<b>Cc:</b> grass-user@lists.osgeo.org<br>
<b>Subject:</b> Re: [GRASS-user] Trying to export a 3d Layer<o:p></o:p></span></p>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal style='margin-bottom:12.0pt'>v.db.select tells you that you
haven't an associated db tabel... Maybe something wrong while creating your
elev_contoru_3m layer?<br>
<br>
Giovanni<o:p></o:p></p>
<div>
<p class=MsoNormal><span class=gmailquote>2007/12/21, Matthew Pulis <<a
href="mailto:mpulis@gmail.com"> mpulis@gmail.com</a>>:</span><o:p></o:p></p>
<div>
<div>
<p><span lang=EN-GB>Hi,</span><o:p></o:p></p>
<p><span lang=EN-GB> </span><o:p></o:p></p>
<p><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.</span><o:p></o:p></p>
<p><span lang=EN-GB> </span><o:p></o:p></p>
<p><span lang=EN-GB>Any help how I can make this layer into a useable layer
outside GRASS is extremely appreciated!</span><o:p></o:p></p>
<p><span lang=EN-GB> </span><o:p></o:p></p>
<p><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 :)</span><o:p></o:p></p>
<p><span lang=EN-GB> </span><o:p></o:p></p>
<p><span lang=EN-GB> </span><o:p></o:p></p>
<p><span lang=EN-GB>Matthew</span><o:p></o:p></p>
<p><span lang=EN-GB> </span><o:p></o:p></p>
<p><span lang=EN-GB> </span><o:p></o:p></p>
<p><span lang=EN-GB> </span><o:p></o:p></p>
<p><span lang=EN-GB>I am supplying some info which might help you give me some
tips how I can do it.</span><o:p></o:p></p>
<p><span lang=EN-GB> </span><o:p></o:p></p>
<p><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</span><o:p></o:p></p>
<p><span lang=EN-GB>ORGANIZATION: NC OneMap</span><o:p></o:p></p>
<p><span lang=EN-GB>DIGIT DATE:</span><o:p></o:p></p>
<p><span lang=EN-GB>DIGIT NAME: helena</span><o:p></o:p></p>
<p><span lang=EN-GB>MAP NAME:</span><o:p></o:p></p>
<p><span lang=EN-GB>MAP DATE: Fri Mar 9 12:12:48
2007</span><o:p></o:p></p>
<p><span lang=EN-GB>MAP SCALE: 1</span><o:p></o:p></p>
<p><span lang=EN-GB>OTHER INFO:</span><o:p></o:p></p>
<p><span lang=EN-GB>ZONE: 0</span><o:p></o:p></p>
<p><span lang=EN-GB>MAP THRESH: 0.000000</span><o:p></o:p></p>
<p><span lang=EN-GB>VERTI:</span><o:p></o:p></p>
<p><span lang=EN-GB>L 309 1</span><o:p></o:p></p>
<p><span lang=EN-GB> 644845.39132067
228495 58</span><o:p></o:p></p>
<p><span lang=EN-GB> 644850.5257363
228485 58</span><o:p></o:p></p>
<p><span lang=EN-GB> 644855
228476.80568172 58</span><o:p></o:p></p>
<p><span lang=EN-GB> </span><o:p></o:p></p>
<p><span lang=EN-GB>GRASS 6.3.0RC1 (thesis):~/thesis_gis/thesis/yancho/vector/elev_contour_3m
> v.db.select elev_contour_3m</span><o:p></o:p></p>
<p><span lang=EN-GB>DBMI-DBF driver error:</span><o:p></o:p></p>
<p><span lang=EN-GB>Table 'elev_contour_3m' doesn't exist.</span><o:p></o:p></p>
<p><span lang=EN-GB>Error in db_open_select_cursor()</span><o:p></o:p></p>
<p><span lang=EN-GB> </span><o:p></o:p></p>
<p><span lang=EN-GB> </span><o:p></o:p></p>
<p><span lang=EN-GB>GRASS 6.3.0RC1 (thesis):~/thesis_gis/thesis/yancho/vector/elev_contour_3m
> <a href="http://v.info" target="_blank">v.info</a> elev_contour_3m</span><o:p></o:p></p>
<p><span lang=EN-GB>+----------------------------------------------------------------------------+</span><o:p></o:p></p>
<p><span lang=EN-GB> |
Layer:
elev_contour_3m
|</span><o:p></o:p></p>
<p><span lang=EN-GB> |
Mapset:
yancho
|</span><o:p></o:p></p>
<p><span lang=EN-GB> | Location:
thesis
|</span><o:p></o:p></p>
<p><span lang=EN-GB> | Database:
/home/yancho/thesis_gis
|</span><o:p></o:p></p>
<p><span lang=EN-GB> |
Title:
|</span><o:p></o:p></p>
<p><span lang=EN-GB> | Map scale:
1:1
|</span><o:p></o:p></p>
<p><span lang=EN-GB> | Map format:
native
|</span><o:p></o:p></p>
<p><span lang=EN-GB> | Name of creator:
helena
|</span><o:p></o:p></p>
<p><span lang=EN-GB> | Organization: NC
OneMap
|</span><o:p></o:p></p>
<p><span lang=EN-GB> | Source date: Fri Mar
9 12:12:48 2007 </span><o:p></o:p></p>
<p><span lang=EN-GB> </span><o:p></o:p></p>
<p><span lang=EN-GB>| Number of
lines:
3355 Number
of islands:
0 |</span><o:p></o:p></p>
<p><span lang=EN-GB> </span><o:p></o:p></p>
<p><span lang=EN-GB> </span><o:p></o:p></p>
<p><span lang=EN-GB>And these are the output formats I tried :</span><o:p></o:p></p>
<p><span lang=EN-GB> </span><o:p></o:p></p>
<p><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</span><o:p></o:p></p>
<p><span lang=EN-GB>WARNING: Vector map <elev_contour_3m> is 3D. Use
format specific layer</span><o:p></o:p></p>
<p><span lang=EN-GB> creation
options (parameter 'lco') to export in 3D rather than 2D</span><o:p></o:p></p>
<p><span lang=EN-GB> (default)</span><o:p></o:p></p>
<p><span lang=EN-GB>DBMI-DBF driver error:</span><o:p></o:p></p>
<p><span lang=EN-GB>Table 'elev_contour_3m' doesn't exist</span><o:p></o:p></p>
<p><span lang=EN-GB> </span><o:p></o:p></p>
<p><span lang=EN-GB>ERROR: Unable to describe table <elev_contour_3m></span><o:p></o:p></p>
<p><span lang=EN-GB> </span><o:p></o:p></p>
<p><span lang=EN-GB> </span><o:p></o:p></p>
<p><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"</span><o:p></o:p></p>
<p><span lang=EN-GB>WARNING: Vector map <elev_contour_3m> is 3D. Use
format specific layer</span><o:p></o:p></p>
<p><span lang=EN-GB> creation
options (parameter 'lco') to export in 3D rather than 2D</span><o:p></o:p></p>
<p><span lang=EN-GB> (default)</span><o:p></o:p></p>
<p><span lang=EN-GB>DBMI-DBF driver error:</span><o:p></o:p></p>
<p><span lang=EN-GB>Table 'elev_contour_3m' doesn't exist</span><o:p></o:p></p>
<p><span lang=EN-GB> </span><o:p></o:p></p>
<p><span lang=EN-GB>ERROR: Unable to describe table <elev_contour_3m></span><o:p></o:p></p>
<p><span lang=EN-GB> </span><o:p></o:p></p>
<p><span lang=EN-GB> </span><o:p></o:p></p>
<p><span lang=EN-GB>I tried also lco="DIM=3" but got same results.</span><o:p></o:p></p>
<p> <o:p></o:p></p>
<div class=MsoNormal align=center style='text-align:center'>
<hr size=2 width="100%" align=center>
</div>
<p>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" target="_blank">SPAMfighter</a>
for free now!<o:p></o:p></p>
</div>
</div>
<p class=MsoNormal style='margin-bottom:12.0pt'><br>
_______________________________________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a><o:p></o:p></p>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<div class=MsoNormal align=center style='text-align:center'>
<hr size=2 width="100%" align=center>
</div>
<p class=MsoNormal>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></p>
</div>
</body>
</html>