EnglishFrenchSpanish

OnWorks favicon

gdalsrsinfo - Online in the Cloud

Run gdalsrsinfo in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command gdalsrsinfo that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


gdalsrsinfo - gdalsrsinfo lists info about a given SRS in number of formats (WKT, PROJ.4,
etc.)

SYNOPSIS


Usage: gdalsrsinfo [options] srs_def

srs_def may be the filename of a dataset supported by GDAL/OGR from which to extract SRS information
OR any of the usual GDAL/OGR forms (complete WKT, PROJ.4, EPSG:n or a file containing the SRS)

Options:
[--help-general] [-h] Show help and exit
[-p] Pretty-print where applicable (e.g. WKT)
[-V] Validate SRS
[-o out_type] Output type { default, all, wkt_all, proj4,
wkt, wkt_simple, wkt_noct, wkt_esri,
mapinfo, xml }.fi

DESCRIPTION


The gdalsrsinfo utility reports information about a given SRS from one of the following:

· The filename of a dataset supported by GDAL/OGR which contains SRS information

· Any of the usual GDAL/OGR forms (complete WKT, PROJ.4, EPSG:n or a file containing the
SRS)

Output types:

· default proj4 and wkt (default option)

· all all options available

· wkt_all all wkt options available

· proj4 PROJ.4 string

· wkt OGC WKT format (full)

· wkt_simple OGC WKT (simplified)

· wkt_noct OGC WKT (without OGC CT params)

· wkt_esri ESRI WKT format

· mapinfo Mapinfo style CoordSys format

· xml XML format (GML based)

EXAMPLE


$ gdalsrsinfo "EPSG:4326"

PROJ.4 : '+proj=longlat +datum=WGS84 +no_defs '

OGC WKT :
GEOGCS["WGS 84",
DATUM["WGS_1984",
SPHEROID["WGS 84",6378137,298.257223563,
AUTHORITY["EPSG","7030"]],
AUTHORITY["EPSG","6326"]],
PRIMEM["Greenwich",0,
AUTHORITY["EPSG","8901"]],
UNIT["degree",0.0174532925199433,
AUTHORITY["EPSG","9122"]],
AUTHORITY["EPSG","4326"]].fi

$ gdalsrsinfo -o proj4 osr/data/lcc_esri.prj

$ gdalsrsinfo -o proj4 landsat.tif
PROJ.4 : '+proj=utm +zone=19 +south +datum=WGS84 +units=m +no_defs '

$ gdalsrsinfo -o wkt -p "EPSG:32722"

PROJCS["WGS 84 / UTM zone 22S",
GEOGCS["WGS 84",
DATUM["WGS_1984",
SPHEROID["WGS 84",6378137,298.257223563,
AUTHORITY["EPSG","7030"]],
AUTHORITY["EPSG","6326"]],
PRIMEM["Greenwich",0,
AUTHORITY["EPSG","8901"]],
UNIT["degree",0.0174532925199433,
AUTHORITY["EPSG","9122"]],
AUTHORITY["EPSG","4326"]],
PROJECTION["Transverse_Mercator"],
PARAMETER["latitude_of_origin",0],
PARAMETER["central_meridian",-51],
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","32722"]]

$ gdalsrsinfo -o wkt_all "EPSG:4618"

OGC WKT :
GEOGCS["SAD69",
DATUM["South_American_Datum_1969",
SPHEROID["GRS 1967 Modified",6378160,298.25,
AUTHORITY["EPSG","7050"]],
TOWGS84[-57,1,-41,0,0,0,0],
AUTHORITY["EPSG","6618"]],
PRIMEM["Greenwich",0,
AUTHORITY["EPSG","8901"]],
UNIT["degree",0.0174532925199433,
AUTHORITY["EPSG","9122"]],
AUTHORITY["EPSG","4618"]]

OGC WKT (simple) :
GEOGCS["SAD69",
DATUM["South_American_Datum_1969",
SPHEROID["GRS 1967 Modified",6378160,298.25],
TOWGS84[-57,1,-41,0,0,0,0]],
PRIMEM["Greenwich",0],
UNIT["degree",0.0174532925199433]]

OGC WKT (no CT) :
GEOGCS["SAD69",
DATUM["South_American_Datum_1969",
SPHEROID["GRS 1967 Modified",6378160,298.25]],
PRIMEM["Greenwich",0],
UNIT["degree",0.0174532925199433]]

ESRI WKT :
GEOGCS["SAD69",
DATUM["D_South_American_1969",
SPHEROID["GRS_1967_Truncated",6378160,298.25]],
PRIMEM["Greenwich",0],
UNIT["Degree",0.017453292519943295]]

AUTHORS


Frank Warmerdam [email protected], Etienne Tourigny <etourigny.dev-at-gmail-dot-com>

Use gdalsrsinfo online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Phaser
    Phaser
    Phaser is a fast, free, and fun open
    source HTML5 game framework that offers
    WebGL and Canvas rendering across
    desktop and mobile web browsers. Games
    can be co...
    Download Phaser
  • 2
    VASSAL Engine
    VASSAL Engine
    VASSAL is a game engine for creating
    electronic versions of traditional board
    and card games. It provides support for
    game piece rendering and interaction,
    and...
    Download VASSAL Engine
  • 3
    OpenPDF - Fork of iText
    OpenPDF - Fork of iText
    OpenPDF is a Java library for creating
    and editing PDF files with a LGPL and
    MPL open source license. OpenPDF is the
    LGPL/MPL open source successor of iText,
    a...
    Download OpenPDF - Fork of iText
  • 4
    SAGA GIS
    SAGA GIS
    SAGA - System for Automated
    Geoscientific Analyses - is a Geographic
    Information System (GIS) software with
    immense capabilities for geodata
    processing and ana...
    Download SAGA GIS
  • 5
    Toolbox for Java/JTOpen
    Toolbox for Java/JTOpen
    The IBM Toolbox for Java / JTOpen is a
    library of Java classes supporting the
    client/server and internet programming
    models to a system running OS/400,
    i5/OS, o...
    Download Toolbox for Java/JTOpen
  • 6
    D3.js
    D3.js
    D3.js (or D3 for Data-Driven Documents)
    is a JavaScript library that allows you
    to produce dynamic, interactive data
    visualizations in web browsers. With D3
    you...
    Download D3.js
  • More »

Linux commands

Ad