[GRASS-user] Importing data in .atx/.gdb format

Markus Metz markus.metz.giswork at gmail.com
Thu Sep 15 11:59:14 PDT 2016


On Thu, Sep 15, 2016 at 8:34 PM, Rich Shepard <rshepard at appl-ecosys.com> wrote:
> On Thu, 15 Sep 2016, Even Rouault wrote:
>
>> No need for that. The EPSG code (there are several ones in a WKT strig,
>> but the main one, the one that applies to the top-level "node") is always
>> at the end of the WKT string :
>>
>> [...]
>>    UNIT["foot",0.3048,
>>        AUTHORITY["EPSG","9002"]],
>>    AXIS["X",EAST],
>>    AXIS["Y",NORTH],
>>    AUTHORITY["EPSG","2992"]]  <----- here it is !
>
>
>   How do I access that from the list of file names in the subdirectory?

You can not access the EPSG code of the CRS from any file, instead you
need to use ogrinfo -al as you did previously.

Markus M


More information about the grass-user mailing list