[GRASS-user] NewBee problem importing PostGIS data

David R Robison drrobison at openroadsconsulting.com
Wed Nov 18 12:33:05 EST 2009


I am trying to import some PostGIS data using the following command:

v.in.ogr dsn="PG:host=localhost dbname=db1 user=postgres 
password=postgres" output=routes1 layer=route_feature type=line --overwrite

However, it says that the features were imported with geometries:

Projection of input dataset and current location appear to match
Layer: route_feature
Importing map 1222 features...
1222 features without geometry
-----------------------------------------------------
Building topology for vector map <routes1>...
Registering primitives...
0 primitives registered
0 vertices registered
Building areas...
0 areas built
0 isles built
Attaching islands...
Attaching centroids...
Number of nodes: 0
Number of primitives: 0
Number of points: 0
Number of lines: 0
Number of boundaries: 0
Number of centroids: 0
Number of areas: 0
Number of isles: 0
(Wed Nov 18 12:32:25 2009) Command finished (5 
sec)                            

I am new to Grass, any ideas? Thanks, David

-- 

David R Robison
Open Roads Consulting, Inc.
103 Watson Road, Chesapeake, VA 23320
phone: (757) 546-3401
e-mail: drrobison at openroadsconsulting.com
web: http://openroadsconsulting.com
blog: http://therobe.blogspot.com
book: http://www.xulonpress.com/bookstore/bookdetail.php?PB_ISBN=9781597816526





More information about the grass-user mailing list