aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-02-23datatypes.rst: linuistics + INFO datatypesThomas Knudsen
Some minor linguistic corrections + general update to make the documentation reflect the updates in PR #775
2018-02-23Merge remote-tracking branch 'osgeo/master' into docs-release-4.10.0Kristian Evers
2018-02-23Merge pull request #815 from mwtoews/typosKristian Evers
Tidy a few typos
2018-02-22Fix issue #812Charles Karney
Implement Polygon AddEdge fix in C library (will be version 1.49.2 of C library for proj 5.0.0). Still to do: add tests to expand code coverage. This will only affect geodtest.c which is not part of the compiled library.
2018-02-23Tidy a few typosMike Toews
2018-02-22Merge pull request #814 from sebastic/readme-grdKristian Evers
Remove README.GRD, moved to proj-datumgrid.
2018-02-22Remove README.GRD, moved to proj-datumgrid.Bas Couwenberg
File is also not included in the release tarballs.
2018-02-22Remove ntv1_can.dat included in proj-datumgrid.Bas Couwenberg
2018-02-22Merge pull request #813 from sebastic/install-nad-gtxKristian Evers
Also install .gtx files from proj-datumgrid.
2018-02-22Merge pull request #810 from mloskot/ml/appveyor-vs2017Kristian Evers
Add VS2017 and VS2015 to AppVeyor build matrix
2018-02-22Also install .gtx files from proj-datumgrid.Bas Couwenberg
proj-datumgrid-1.7RC1 contains .gtx files too.
2018-02-22Add VS2017 and VS2015 to AppVeyor build matrixMateusz Loskot
2018-02-22Merge pull request #811 from busstoptaktik/horner_gie_missing_featuresKristian Evers
Repair some failures due to missing features in horner & gie
2018-02-22gie expect: ignore unspecd dims, improve reporting/builtinsThomas Knudsen
In pipelines including a Helmert shift, we need to run the test through the 4D transformation interface, even though the input coordinate system may be 2D. This can be enforced by appending "0 0" to the 2D coordinate pair in the accept instruction, which is sufficiently recognizable to be considered an idiom for selecting 4D. On return, however, (i.e. in the expect instruction), the last dimensions will contain garbage, and this garbage will be compared with "0 0" when computing the deviation. This obviously leads to nonsensical results, which this commit repairs by zeroing all dimensions *not given* in expect, before computing the deviation. Additionally, the test tolerance for geo/cartesian roundtrip precision has been relaxed from picometer to nanometer level. These tests have shown to intermittently bomb, and as the pm level tolerance is probably a leftover from when deviation was computed in degrees, not meter (and hence a factor of 111000 more tight than intended at its introduction) relaxing it by a factor of 1000 makes ample sense. Also, two new features, introduced while debugging this case has been left in the code: - improved reporting, for verbosity levels higher than 2 - a "skip" instruction, forcing all remaining work to be skipped (i.e. run until something strange happens - then stop to handle debugging, while avoiding additional garbage)
2018-02-22horner: support westings/southings in complex caseThomas Knudsen
2018-02-20Add section on setting PROJ_LIB on Windows installs [skip ci].Kristian Evers
2018-02-19Added background info to API migration guide [skip ci].Kristian Evers
Brazenly stolen from mailing list post by Thomas Knudsen [0] and modified slightly to fit the context. [0] http://lists.maptools.org/pipermail/proj/2018-February/007995.html
2018-02-19Change most occurences of PROJ.4 to PROJ [skip ci]Kristian Evers
2018-02-19Merge pull request #809 from nicholas-l/patch-1Kristian Evers
Minor Mistype GNNS -> GNSS
2018-02-20Minor Mistype GNNS -> GNSSNicholas Latham
Cant wait for the new release!
2018-02-19Merge branch 'docs-release-4.10.0' of https://github.com/OSGeo/proj.4 into ↵Kristian Evers
docs-release-4.10.0
2018-02-19Merge remote-tracking branch 'osgeo/master' into docs-release-4.10.0Kristian Evers
2018-02-19API reference updates to reflect recent changes across the code-base [skip ci].Kristian Evers
2018-02-19Merge pull request #808 from Algunenano/proj_errno_reset_bugKristian Evers
proj_errno_reset: Also reset pj_errno
2018-02-19proj_errno_reset: Also reset pj_errnoRaul Marin
2018-02-14Remove .gsb files included in proj-datumgrid.Bas Couwenberg
Fixes: #803
2018-02-14Fix case of proj-datumgrid filename. (#805)Bas Couwenberg
Fix case of proj-datumgrid and proj tarball filenames.
2018-02-14Merge pull request #804 from kbevers/fix-chamb-vandg2-tolerancesKristian Evers
revert tolerances for chamb and vandg2 to previous values
2018-02-14revert tolerances for chamb and vandg2 to previous valuesKristian Evers
2018-02-13Merge pull request #789 from cffk/cmake-namespace-targetsCharles Karney
Re-do pull request #451 export CMake targets with PROJ4:: namespace
2018-02-12Rename gie_failing to work around MS wildcard bug (#799)Thomas Knudsen
For reasons unknown to anyone but the geniuses from Redmond: In MSWindows, the wildcard pattern "*.gie" expands to all files having an extension *starting* with ".gie". In other words "dir *.gie" will list files with extension ".gie" *and* with extension ".gie_failing". This means that running "gie test\gigs\*.gie" will run all gigs tests, even the ones known to fail. So rather than getting a quick check for regressions, one gets a lot of noise and no easy way to be sure whether any regressions have appeared. To work around this oddity, we rename all files ending in ".gie_failing" to end in ".gie.failing" - and while at it, adding all the non-failing gigs tests to the AppVeyor test suite. This extends the regression test suite, run at the end of each AppVeyor integration, to over 2500 individual tests. Test coverage, however, is still hovering just below 75%, so there's still plenty of room and reason for additional tests.
2018-02-12Ensure cs2cs emulation gets correct ellipsoid defn (#798)Thomas Knudsen
Copy ellipsoid definition for proj=cart directly into the proj_create call, rather than calling pj_inherit_ellipsoid_def afterwards. Previously, the ellipsoid definition was left out from the call. pj_init_ctx would then pick up WGS84 from proj_def.dat, and the init would succeed (and the possibly wrong ellipsoid definition would later on be overwritten with the correct values by pj_inherit_ellipsoid_def. But if PROJ_LIB was not set or proj_def.dat was inaccessible for other reasons, things went wrong.
2018-02-12Make proj_pj_info work correctly for pipelines (#795)Thomas Knudsen
Due to the slightly involved way a pipeline is set up, only a small subset of the definition parameters are directly read by the pj_init code. The remaining parameters will not get their "used" flag set, and for that reason will not be included in the projection definition element of a PJ_PROJ_INFO, returned by proj_pj_info. For now, we force the "used" flag of all elements of a pipeline to be set. The code is tested by introducing cct functionality for printing the projection definition used.
2018-02-12Avoid invalid ellps error messages from pj_init (#794)Thomas Knudsen
Reset error type PJD_ERR_MAJOR_AXIS_NOT_GIVEN for operations that do not need an ellipsoid.
2018-02-12Merge pull request #793 from busstoptaktik/pj_init_cleanupThomas Knudsen
A few repairs in and around pj_init.c
2018-02-12Repair prior attempt to default to WGS84 if explicit ellps not neededThomas Knudsen
2018-02-12a minor linguistic correctionThomas Knudsen
2018-02-12typedef some recurring function signaturesThomas Knudsen
2018-02-11Merge pull request #792 from kbevers/fix-ntv2-subgrid-segfaultKristian Evers
Add missing ! in boolean evaluation. Fixes #780.
2018-02-11Add missing ! in boolean evaluation. Fixes #780.Kristian Evers
2018-02-11Merge pull request #790 from kbevers/fix-proj_api.hKristian Evers
Fix proj.h + proj_api.h inclusion errors
2018-02-11Add proj_context_errno to API and missing proj_geod to proj.def (#791)Thomas Knudsen
2018-02-11Make sure that #define's work properly when including proj_api.h and proj.h ↵Kristian Evers
together.
2018-02-10Re-do pull request #451 export CMake targets with PROJ4:: namespaceCharles Karney
This version takes to add the include path to the target definition for cmake 2.8.11 and later. Also the documentation sticks to the existing convention of using cmake variables ${PROJ4_LIBRARIES} and ${PROJ4_INCLUDE_DIRS}. However, the namespace variables are still being included. Here's the roll-out plan (0) Version 4.9.x: The target is proj and PROJ4_LIBRARIES is set to this. (1) Version 5.0.x: Two targets, proj and PROJ4::proj, are defined; PROJ4_LIBRARIES = proj. (2) In a year or two: Two targets, proj and PROJ4::proj, are defined; PROJ4_LIBRARIES = PROJ4::proj. (3) With a change in the library which breaks backwards compatibility: The target is PROJ4::proj and PROJ4_LIBRARIES = PROJ4::proj.
2018-02-10Make the 4D API fully 4D (#788)Thomas Knudsen
Make 4D API fully 4D: Remove PJ_XY, PJ_LP, PJ_XYZ, PJ_LPZ etc. from the API surface and make all formal parameters of the API fully 4D PJ_COORD. This operation primarily influences the proj_XXX_dist functions, which mostly work by calling Charles Karney's geodesic subsystem, keeping the distance, and throwing away the start and end azimuths for the geodesic computed. Also a PJ_GEOD(esic) persona is introduced for the PJ_COORD type. The proj_geod function returns a PJ_GEOD, representing the geodesic between the points represented by its PJ_COORD arguments. Finally, the proj_factors functions had its lp argument changed from PJ_LP to PJ_COORD.
2018-02-10Merge pull request #786 from busstoptaktik/interdependent-wrap-upsThomas Knudsen
Interdependent wrap ups
2018-02-10Update a few gie testsThomas Knudsen
2018-02-10Relax tolerance slightly for two tests failing on OS/XThomas Knudsen
2018-02-10Handle sign convention for vertical datum shiftsThomas Knudsen
Also make corresponding sign corrections in a number of tests, and comment out a few tests which work correctly, but report failure since gie is not yet ready to handle unusual axis orders in cases with angular output coordinates.
2018-02-10update gie tests to agree with improved gie distance handlingThomas Knudsen