On 2015-10-11 21:09, Ray Gardener wrote:
I was wondering if there is a list, for each projection supported by
OGR, reasonable default values for each projection parameter. For
example, if the user is switching projections in an app, a small table
listing the projection parameters appears, but they need to be populated
with reasonable default values.

e.g. for the New Zealand Mining Grid, one could do
spatialRef.SetNZMG(centerLat = 41, centerLong = 173,
falseEasting=2510000, falseNorthing=6023150);


[peifer@moby:gdal]> pwd
/path/to/local/share/gdal

[peifer@moby:gdal]> grep 6023150 *.csv
pcs.csv:27200,"NZGD49 / New Zealand Map Grid",9001,4272,19917,9811,1,0,4400,8801,-41,9102,8802,173,9102,8806,2510000,9001,8807,6023150,9001,,,,,,,,, projop_wparm.csv:19917,New Zealand Map Grid,9811,8801,-41,9102,8802,173,9102,8806,2510000,9001,8807,6023150,9001,,,,,,,,,

Seems easy, Hermann

_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to