[GRASS-user] Trying to export a 3d Layer

Markus Neteler neteler at osgeo.org
Tue Jan 1 16:30:20 EST 2008


Matthew,

On Dec 21, 2007 8:09 PM, Matthew Pulis <mpulis at gmail.com> wrote:
> 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.
>
...
> GRASS 6.3.0RC1 (thesis):~/thesis_gis/thesis/yancho/vector/elev_contour_3m  >
> v.db.select elev_contour_3m
>
> DBMI-DBF driver error:
>
> Table 'elev_contour_3m' doesn't exist.
>
> Error in db_open_select_cursor()


There must be something wrong with your copy of the data set.
Here it looks different:

v.info elev_contour_3m | grep dblinks
 |   Number of dblinks:      1                                                |

v.db.select elev_contour_3m | head -5
cat|level
1|58
2|61
3|64
4|67

Did you probably delete the map attribute table?

Best,
Markus
-- 
Open Source Geospatial Foundation
http://www.osgeo.org/
http://www.grassbook.org/


More information about the grass-user mailing list