aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-07-11Merge pull request #1072 from rouault/vgridshift_add_operation_parameterKristian Evers
vgridshift: add a +multiplier={value}
2018-07-11Revert pj_units to_meters entries for US units.Charles Karney
Bletch, pj_init also decodes the to_meters field of pj_unit, but only handles plain numbers or 1/nnn, but not 1./nnn or mmm/nnn. (So the original code would have not decoded the us-in entry properly.) Probably pj_init should be changed to use the factor field instead. Alternatively pj_init should look for a "/" anywhere in the field and decode the numerator and denominator as separate doubles. This would be needed if ratios are ever to be entered directly by the user (this is the strategy used by GeographicLib). And then, of course, the functionality should be provided by a separate utility function.
2018-07-11Remove ugly assignment within an expression.Charles Karney
2018-07-11Fix #1074. Fix unit conversion factors for geod.Charles Karney
Previously, unit conversion using atof(unit_list[i].to_meter) which gives the wrong answer with, e.g., "1/10". Now it directly uses unit_list[i].factor (e.g., 0.1). Also fix all the conversion factors for the US Surveyor units so that they are the closest doubles. E.g., the conversion factors for US feet are factor rel error old 0.304800609601219 6e-16 12/39.37 1e-16 now 1200/3937.0 5e-17 Maybe someone should check the Indian units (but it's possible that India and Pakistan have different standards).
2018-07-10vgridshift: add a +multiplier={value} parameterEven Rouault
As mentionned in #1071, it is often unclear how the offset of a vertical grid is applied.
2018-07-07Remoe ellps parameter from Helmert documentation and gie tests (fixes #1068)Even Rouault
2018-07-07Merge pull request #1065 from rouault/helmert_with_t_huge_valEven Rouault
Helmert: consider that xyzt.t == HUGE_VAL means t_epoch
2018-07-06Update cs2cs example to reflect actual outputKristian Evers
Closes #981
2018-07-06Merge remote-tracking branch 'osgeo/master'Kristian Evers
2018-07-06Add info on errnos when PJ creation fails.Kristian Evers
This was left out when documented the various proj_create_* functions. Added proj_context_errno description as well since it was undocumented and is needed when creating PJs for a specific context.
2018-07-06Use "PROJ" instead of "proj.4" in list badgeKristian Evers
2018-07-06Use M_PI_2 and M_PI_4 instead of locally defined constantsKristian Evers
2018-07-06Replace +k with +k_0 in doc examplesKristian Evers
2018-06-29Helmert: consider that xyzt.t == HUGE_VAL means t_epochEven Rouault
Currently when doing echo "2 49 0" | src/cct +proj=pipeline +ellps=GRS80 +step +proj=cart +step +proj=helmert +x=10 +y=3 +z=1 we get as a result: -nan -nan -nan inf This is due to cct initializing the xyzt.t to HUGE_VAL
2018-06-27Merge pull request #1063 from kbevers/declutter-frontpageKristian Evers
Declutter frontpage
2018-06-27Add better description to website frontpageKristian Evers
2018-06-27Move API warnings to development page in docsKristian Evers
2018-06-27Move news to its own page in docs.Kristian Evers
HOWTO-RELEASE updated accordingly.
2018-06-27Use proj_torad() instead of proj_todeg().Kristian Evers
Internally PROJ uses radians so of course that is what we need to convert our input coordinates to before processing with proj_trans().
2018-06-26Merge pull request #1058 from kbevers/inverse-lagrangeKristian Evers
Add inverse lagrange projection
2018-06-26Add inverse lagrange projectionKristian Evers
Courtesy of Michael Stumpf <mi12st34@gmail.com>
2018-06-26Merge pull request #1061 from mloskot/ml/add-social-badgesKristian Evers
Add Gitter badge to README
2018-06-26Add Gitter badge to README [ci skip]Mateusz Łoskot
Add mailing list badge.
2018-06-26Merge pull request #1060 from rouault/override_gh_pagesKristian Evers
deploy_website.sh: update gh-pages with a single force-pushed commit (fixes #1059)
2018-06-25deploy_website.sh: update gh-pages with a single force-pushed commit (fixes ↵Even Rouault
#1059) This will avoid the history of gh-pages to grow indifinitely, and thus the size of the PROJ git repository, whereas it has heavy binary objects like proj.pdf that are modified by each commit.
2018-06-25doc: typo fixEven Rouault
2018-06-22Merge pull request #1055 from rouault/geocent_cart_to_meterKristian Evers
Make +proj=geocent and +proj=cart take into account +to_meter (relates to #1053)
2018-06-22Merge pull request #1054 from rouault/add_angular_units_to_unitconvertKristian Evers
Add support for deg, rad and grad in unitconvert (fixes #1052), and document that it supports numeric factors (refs #1053)
2018-06-21Make +proj=geocent and +proj=cart take into account +to_meter (relates to #1053)Even Rouault
2018-06-21unitconvert: error out if xy_in/xy_out z_in/z_out use different unit typesEven Rouault
2018-06-21Add support for deg, rad and grad in unitconvert (fixes #1052), and document ↵Even Rouault
that it supports numeric factors (refs #1053)
2018-06-21Merge pull request #1050 from kbevers/add-proj_errno_string-proj.defKristian Evers
Add proj_errno_string() to proj.def
2018-06-20Add test for proj_errno_string()Kristian Evers
2018-06-20Raise version number to 5.2.0 in CMake configKristian Evers
Add instruction to HOWTO-RELEASE as well so it is remembered in the future.
2018-06-20Add proj_errno_string() to proj.defKristian Evers
2018-06-19Merge pull request #1048 from schwehr/pj_transform-errnoKristian Evers
pj_transform.c:projected_to_geographic: Convert literal -17 to PJD_ERR_NON_CONV_INV_MERI_DIST (#993)
2018-06-19Doc: not all grid formats have documentationEven Rouault
2018-06-19pj_transform.c:projected_to_geographic: Convert literal -17 to ↵Kurt Schwehr
PJD_ERR_NON_CONV_INV_MERI_DIST (#993)
2018-06-18Add Gitter room to communication channels doc pageKristian Evers
2018-06-18Merge pull request #1044 from aaronpuchert/set-error-codesKristian Evers
Set error codes in proj_create and proj_create_argv
2018-06-18Add pj_phi2_test (#1039 & #1045)Even Rouault
Nigrated from: schwehr/gdal-autotest2:cpp/third_party/proj/pj_phi2_test.cc@master License intentionally changed from Apache 2 to match PROJ.
2018-06-18Set error codes in proj_create and proj_create_argvAaron Puchert
When there are no arguments, we set PJD_ERR_NO_ARGS, just like the old API does in that case. On allocation failure we set ENOMEM as usual.
2018-06-16Merge pull request #1042 from schwehr/fileapi-fgets-b110119937Kristian Evers
Fileapi fgets b110119937
2018-06-15Do not scan past the end of the read data in pj_ctx_fgetsKurt Schwehr
use-of-uninitialized-value third_party/proj4/proj/src/pj_fileapi.c:pj_ctx_fgets Found with autofuzz msan
2018-06-14Merge pull request #1043 from mwtoews/docsKristian Evers
Start a `customstyle` for bibliographic references
2018-06-14Start a `customstyle` for bibliographic referencesMike Toews
Modifies label to use BibTeX key name, and format names with lastfirst
2018-06-13whitespace cleanup pj_fileapi.cKurt Schwehr
2018-06-10Merge pull request #1041 from mwtoews/docsKristian Evers
Rewrite references using BibTeX and sphinxcontrib-bibtex
2018-06-10Merge pull request #1038 from kbevers/howtoreleaseKristian Evers
Complete overhaul of HOWTO-RELEASE.
2018-06-10workaround for issue with sphinxcontrib-bibtexMike Toews