> 
> v.out.ogr in=roadsmajor dsn=PG:dbname=pgis_grass format=PostgreSQL
> 
> ->
> 
> $ db.select data=pgis_grass dri=pg sql="select count(*) from roadsmajor" -c
> 355
> 
> db.select data=pgis_grass dri=pg sql="select srid from
> geometry_columns where f_table_name = 'roadsmajor'" -c
> 900914
> 
> (new srid added to the table `spatial_ref_sys`)

Hi Martin, just noticed PostGIS assigned 900914 to your table above, yet below 
its 3358.
This is the same as what I'm experiencing.
When I inspect the details of 900914, it mirrors the correct SRID - its just 
labelled 900914 instead?
Yet v.out.postgis handles everything the way you would expect


> $ v.out.postgis in=roadsmajor dsn=PG:dbname=pgis_grass
> options="GEOMETRY_NAME=wkb_geometry,SRID=3358" --o
> 
> $ db.select data=pgis_grass dri=pg sql="select count(*) from roadsmajor" -c
> 355
> 
> $ db.select data=pgis_grass dri=pg sql="select srid from
> geometry_columns where f_table_name = 'roadsmajor'" -c
> 3358
> 
> 
> Everything seems to be OK. Do you have fresh installation from svn? Martin
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to