aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-08-22add a docker-based build script for emscripten/wasm PROJemscripten-buildHoward Butler
2018-08-22Adding ellipsoidal equations for the Equal Earth (#1101)Bojan Šavrič
2018-08-22Merge pull request #1099 from phidrho/patch-2Even Rouault
added usage example
2018-08-22Merge pull request #1098 from phidrho/patch-1Even Rouault
typo error in example - unitconvert.rst
2018-08-21added usage exampleVedran Stojnović
2018-08-21Update unitconvert.rstVedran Stojnović
bug in example - changed +t_in=gpsweek to +t_in=gps_week
2018-08-21Merge pull request #1095 from rouault/webmerc_fixesEven Rouault
Fixes for webmerc projection (fixes #1078)
2018-08-20Fixes for webmerc projection (fixes #1078)Even Rouault
This is intended to supersed https://github.com/OSGeo/proj.4/pull/1080 with a number of differences. What is kept from #1080 is not forcing the ellipsoid_params to be the one of a sphere. This is not required for correct coordinate computation and avoid lying on the various distorsion parameters. For better interoperability with EPSG, we also no longer force the lam0 parameter to 0, because https://www.epsg-registry.org/export.htm?gml=urn:ogc:def:method:EPSG::1024 has a provision for it, even if in practice they will always be zero phi0 should always be zero and is not used by the formulas. Another difference with the #1080 approach is that we do not force the WGS84 ellipsoid. Perhaps someone will use webmerc for another planet, even if that is a crazy idea...
2018-08-20Doc: remove wrong projection nameEven Rouault
2018-08-20Merge pull request #1094 from rouault/geoc_docEven Rouault
Doc: add page for geoc conversion (fixes #1092)
2018-08-20Doc: fix a few warningsEven Rouault
2018-08-20travis/build_docs.sh: Make it error on exit, and improvements to be able to ↵Even Rouault
easily run it locally
2018-08-20Doc: add page for geoc conversion (fixes #1092)Even Rouault
2018-08-17Add version of introduction to eqearth docsKristian Evers
2018-08-17Implementation of Equal Earth projection (#1090)jdugge
Implement the Equal Earth projection (closes #1085)
2018-08-13Add Dockerfile for osgeo/proj-docs imageHoward Butler
2018-08-13base osgeo/proj automated Docker image on Ubuntu 18.04Howard Butler
2018-08-13reflect new osgeo/proj-docs docker container for documentation buildsHoward Butler
2018-08-13Merge pull request #1088 from rouault/simplify_travis_buildsEven Rouault
Assorted fixes: Makefile, tests, gie enhancement, Travis-CI simplification
2018-08-12Document require_grid optionEven Rouault
2018-08-11travis/install.sh: make sure to run tests without grids, and remove a ↵Even Rouault
useless step
2018-08-11gie: add a require_grid keyword, and use if for DHDN_ETRS89.gie; aso fix ↵Even Rouault
DHDN_ETRS89 autoconf test
2018-08-11nad/Makefile.am: add null.lla to EXTRA_DISTEven Rouault
2018-08-114D-API_cs2cs-style.gie: rewrite test to not rely on presence of 'conus' grid ↵Even Rouault
(we should have a way to state that some grids must be present) (refs #872)
2018-08-11projects.h: use param[] variable-length member syntax with GCC >= 8 to fix ↵Even Rouault
optimization issue with gcc 8.2 (fixes #1084)
2018-08-11Merge pull request #1087 from rouault/gcc_8_fixEven Rouault
Fix wrong behaviour of torad_coord() with gcc 8.1 -O2 (fixes #1084)
2018-08-11Fix wrong behaviour of torad_coord() with gcc 8.1 -O2 (fixes #1084)Even Rouault
torad_coord() of gie.c has this sequence: ``` if( cond ) axis = l->param + strlen ("axis="); n = strlen (axis); ``` When the if branch is evaluated, n is always zero even if on inspection axis is non empty The reason is that the struct ARG_list which is the type of l use a variable-length array for the param member struct ARG_list { paralist *next; char used; char param[1]; }; But this is not a proper way of declaring it, and gcc 8 has apparently optimizations to detect that l->param + 5 points out of the array, hence it optimizes strlen() to 0. Reported as https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86914 According to https://gcc.gnu.org/onlinedocs/gcc/Zero-Length.html, the proper way of declaring such arrays is to use [0]
2018-07-27Merge pull request #1083 from schwehr/pj_strerrno-asanEven Rouault
pj_strerrno(): Change check of err value to avoid undefined behavior.
2018-07-26pj_strerrno(): Change check off err value to avoid undefined behavior.Kurt Schwehr
src/pj_strerrno.c:96:20: runtime error: negation of -2147483648 cannot be represented in type 'int'; cast to an unsigned type to negate this value to itself #0 in pj_strerrno proj/src/pj_strerrno.c:96:20 #1 in (anonymous namespace)::ProjErrnoStringTest_ProjErrnos_Test::TestBody() test/unit/proj_errno_string_test.cpp:47:5 ASAN UndefinedBehaviorSanitizer: signed-integer-overflow Issue revealed by proj_errno_string_test.cpp add in https://github.com/OSGeo/proj.4/commit/b87b59106879188ffc684a41a9de638ac5fd02bf
2018-07-22Merge pull request #1082 from kbevers/various-minor-fixesKristian Evers
Various minor fixes
2018-07-21Remove unused '+no_rot' parameterKristian Evers
2018-07-21Check for use of both +k and +k_0 in krovakKristian Evers
2018-07-21Merge pull request #1081 from kbevers/doc-parametersKristian Evers
Add projection parameters to all projection doc pages
2018-07-21Add projection parameters to all projection doc pagesKristian Evers
2018-07-20Use error code constant instead of numberKristian Evers
2018-07-20Add UTM docsKristian Evers
2018-07-20Merge pull request #1079 from kbevers/webmerc-testsKristian Evers
Add test coordinates for webmerc
2018-07-20Add test coordinates for webmercKristian Evers
2018-07-12Merge pull request #1075 from cffk/geod-unit-fixCharles Karney
Fix #1074. Fix unit conversion factors for geod.
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