[GRASS-dev] [GRASS GIS] #2456: read CSV from GDAL data directory
GRASS GIS
trac at osgeo.org
Mon Nov 24 07:27:07 PST 2014
#2456: read CSV from GDAL data directory
--------------------------------+-------------------------------------------
Reporter: martinl | Owner: grass-dev@…
Type: task | Status: new
Priority: critical | Milestone: 7.1.0
Component: Projections/Datums | Version: unspecified
Keywords: gdal | Platform: Unspecified
Cpu: Unspecified |
--------------------------------+-------------------------------------------
Comment(by hellik):
Replying to [ticket:2456 martinl]:
> Currently GRASS contains copy of several CSV files from GDAL
source:grass/trunk/lib/proj. It would make sense to modify GRASS libraries
to read these files dynamically.
>
> Any comments?
AFAIU winGRASS does it already(?)
e.g.
C:\OSGeo4W\apps\grass\grass-7.1.svn\etc\env.bat
{{{
set GISBASE=%OSGEO4W_ROOT%\apps\grass\grass-7.1.svn
REM set GRASS_SH=%OSGEO4W_ROOT%\apps\msys\bin\sh.exe
set GRASS_HTML_BROWSER=explorer
set GRASS_PYTHON=%OSGEO4W_ROOT%\bin\python.exe
set PYTHONHOME=%OSGEO4W_ROOT%\apps\Python27
set GRASS_PROJSHARE=%OSGEO4W_ROOT%\share\proj
set PROJ_LIB=%OSGEO4W_ROOT%\share\proj
set GDAL_DATA=%OSGEO4W_ROOT%\share\gdal
set GEOTIFF_CSV=%OSGEO4W_ROOT%\share\epsg_csv
set PATH=%OSGEO4W_ROOT%\apps\msys\bin;%PATH%
}}}
but there is also
C:\OSGeo4W\apps\grass\grass-7.1.svn\etc\proj
{{{
datum.table
datumtransform.table
desc.table
ellipse.table
ellipse.table.solar.system
FIPS.code
nad
ogr_csv
parms.table
projections
state27
state83
units.table
}}}
and C:\OSGeo4W\apps\grass\grass-7.1.svn\etc\proj\ogr_csv
{{{
coordinate_axis.csv
ellipsoid.csv
gcs.csv
gcs.override.csv
gdal_datum.csv
gt_datum.csv
gt_ellips.csv
pcs.csv
pcs.override.csv
prime_meridian.csv
projop_wparm.csv
stateplane.csv
unit_of_measure.csv
}}}
and C:\OSGeo4W\apps\grass\grass-7.1.svn\etc\proj\nad
{{{
alaska
conus
FL
hawaii
MD
prvi
src
stgeorge
stlrnc
stpaul
TN
WI
WO
}}}
and C:\OSGeo4W\apps\grass\grass-7.1.svn\etc\proj\nad\src
{{{
alaska.lla
conus.lla
FL.lla
hawaii.lla
MD.lla
prvi.lla
stgeorge.lla
stlrnc.lla
stpaul.lla
TN.lla
WI.lla
WO.lla
}}}
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2456#comment:4>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list