[GRASS-user] PostgreSQL append

Markus Neteler neteler at osgeo.org
Sun Aug 2 17:46:00 EDT 2009


On Sun, Aug 2, 2009 at 11:35 PM, Pavel Iacovlev<iacovlev.pavel at gmail.com> wrote:
> I am very new to grass so I am not sure if it's a bug or not, maybe I
> defined my "location" incorrectly, how do I check ?
>
> select * from geometry_columns where f_table_name = 'flood'
>
> f_table_catalog f_table_schema  f_table_name    f_geometry_column
>  coord_dimension srid    type
>       public  flood   wkb_geometry    2 900917 POLYGON

Two ideas:

- run to obtain the projection of the location as WKT output:
  g.proj -w

- export to SHAPE file first and see if the .prj file is ok (LatLong in
   your case).

If both is fine, then would I suspect some problem with the PostGIS
export.

Markus


More information about the grass-user mailing list