[GRASS-user] Import Shape Files

Markus Neteler neteler at osgeo.org
Thu Jul 2 11:26:40 PDT 2020


Hi Martin,

On Thu, Jul 2, 2020 at 1:57 PM Martin Bittens <martin.bittens at gmx.de> wrote:
>
> Hello Markus,
>
> ok, let us try.
>
> Attached I send (as zip files):
>
> 1.) QGIS_LT_AOI_3.zip with a shape layer created in QGIS 2.14.0. It
> contains contains 5 sample points extracted from an existing site (EPSG
> 31983);
>
> 2.) Test_SG.zip with the files from the grassdata directory created by
> GRASS 7.8.3 after establishing the location "Test_SG" (EPSG 31983) and
> importing the shape layer into "Test_SG".

I tried and got this:

# create new location from SHAPE file:
grass78 -c LT_AOI_3.shp ~/grassdata/sirgas_2000
Starting GRASS GIS...
Creating new GRASS GIS location <sirgas_2000>...
...
Welcome to GRASS GIS 7.8.4dev (0798df3d0)
...

GRASS 7.8.4dev (sirgas_2000):/tmp > g.proj -w
PROJCS["SIRGAS 2000 / UTM zone 23S",
    GEOGCS["SIRGAS 2000",
        DATUM["Sistema_de_Referencia_Geocentrico_para_las_AmericaS_2000",
            SPHEROID["GRS 1980",6378137,298.257222101,
                AUTHORITY["EPSG","7019"]],
            TOWGS84[0,0,0,0,0,0,0],
            AUTHORITY["EPSG","6674"]],
        PRIMEM["Greenwich",0,
            AUTHORITY["EPSG","8901"]],
        UNIT["degree",0.0174532925199433,
            AUTHORITY["EPSG","9122"]],
        AUTHORITY["EPSG","4674"]],
    PROJECTION["Transverse_Mercator"],
    PARAMETER["latitude_of_origin",0],
    PARAMETER["central_meridian",-45],
    PARAMETER["scale_factor",0.9996],
    PARAMETER["false_easting",500000],
    PARAMETER["false_northing",10000000],
    UNIT["metre",1,
        AUTHORITY["EPSG","9001"]],
    AXIS["Easting",EAST],
    AXIS["Northing",NORTH],
    AUTHORITY["EPSG","31983"]]

To me it looks as expected.

My software versions:

g.version -rge
version=7.8.4dev
date=2020
revision=0798df3d0
build_date=2020-07-02
build_platform=x86_64-pc-linux-gnu
build_off_t_size=8
libgis_revision=8e4dab571
libgis_date=2020-05-05T09:05:27+00:00
proj=6.3.2
gdal=3.0.4
geos=3.8.1
sqlite=3.32.2

Might it be that your PROJ installation is somehow broken?

best,
Markus


More information about the grass-user mailing list