<feed xmlns='http://www.w3.org/2005/Atom'>
<title>PROJ, branch master</title>
<subtitle>Forked from https://github.com/OSGeo/PROJ</subtitle>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/PROJ/'/>
<entry>
<title>Merge pull request #3125 from rouault/import_proj4_datum_names</title>
<updated>2022-03-22T18:07:50+00:00</updated>
<author>
<name>Even Rouault</name>
<email>even.rouault@spatialys.com</email>
</author>
<published>2022-03-22T18:07:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/PROJ/commit/?id=689189af924730a5663ceef9d9f74328e33670db'/>
<id>689189af924730a5663ceef9d9f74328e33670db</id>
<content type='text'>
Fix datum names when importing from PROJ4 crs strings (affects some transformations using geoidgrids)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix datum names when importing from PROJ4 crs strings (affects some transformations using geoidgrids)</pre>
</div>
</content>
</entry>
<entry>
<title>Fix datum names when importing from PROJ4 crs strings (affects some transformations using geoidgrids)</title>
<updated>2022-03-19T19:22:56+00:00</updated>
<author>
<name>Even Rouault</name>
<email>even.rouault@spatialys.com</email>
</author>
<published>2022-03-19T17:03:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/PROJ/commit/?id=169e1c5691858e0846eb7ede6b3778f8ec0a2892'/>
<id>169e1c5691858e0846eb7ede6b3778f8ec0a2892</id>
<content type='text'>
When importing from a PROJ4 string with +towgs84, +nadgrids or
+geoidgrids terms, the datum name was just set to 'unknown'. So for
example the datums of '+proj=longlat +ellps=GRS80 +towgs84=1,2,3' and
'+proj=longlat +ellps=GRS80 +towgs84=4,5,6' were considered identical,
because they had the same name 'unknown' and used the same ellipsoid.
This affected the transformation of such CRS when they had an
additional +geoidgrids term, which resulted in an erroneous +proj=push
+v_1 +v_2 step to be added to preserve the horizontal coordinates.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When importing from a PROJ4 string with +towgs84, +nadgrids or
+geoidgrids terms, the datum name was just set to 'unknown'. So for
example the datums of '+proj=longlat +ellps=GRS80 +towgs84=1,2,3' and
'+proj=longlat +ellps=GRS80 +towgs84=4,5,6' were considered identical,
because they had the same name 'unknown' and used the same ellipsoid.
This affected the transformation of such CRS when they had an
additional +geoidgrids term, which resulted in an erroneous +proj=push
+v_1 +v_2 step to be added to preserve the horizontal coordinates.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #3123 from rouault/fix_compound_crs_nad83_csrs</title>
<updated>2022-03-19T11:20:21+00:00</updated>
<author>
<name>Even Rouault</name>
<email>even.rouault@spatialys.com</email>
</author>
<published>2022-03-19T11:20:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/PROJ/commit/?id=8c51e3c99acc9083d82a5a7a6dae146e2a689f8e'/>
<id>8c51e3c99acc9083d82a5a7a6dae146e2a689f8e</id>
<content type='text'>
createOperations(): fix transformation involving CompoundCRS, ToWGS84 and PROJ4_GRIDS</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
createOperations(): fix transformation involving CompoundCRS, ToWGS84 and PROJ4_GRIDS</pre>
</div>
</content>
</entry>
<entry>
<title>createOperations(): fix transformation involving CompoundCRS, ToWGS84 and PROJ4_GRIDS</title>
<updated>2022-03-18T22:01:52+00:00</updated>
<author>
<name>Even Rouault</name>
<email>even.rouault@spatialys.com</email>
</author>
<published>2022-03-18T22:01:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/PROJ/commit/?id=d37884e00f27907464675558b2da529729299dcf'/>
<id>d37884e00f27907464675558b2da529729299dcf</id>
<content type='text'>
Fix issue reported in https://lists.osgeo.org/pipermail/gdal-dev/2022-March/055587.html
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix issue reported in https://lists.osgeo.org/pipermail/gdal-dev/2022-March/055587.html
</pre>
</div>
</content>
</entry>
<entry>
<title>SingleCRS::baseIsEquivalentTo(): fix potential crash that is triggered by fdf5111a9a790926aacec75a07d30508a8ed9c91 changes</title>
<updated>2022-03-18T21:21:20+00:00</updated>
<author>
<name>Even Rouault</name>
<email>even.rouault@spatialys.com</email>
</author>
<published>2022-03-18T21:21:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/PROJ/commit/?id=278b0f931a11d668a1c0abe796e8cd64da4db17c'/>
<id>278b0f931a11d668a1c0abe796e8cd64da4db17c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #3119 from rouault/compound_to_2D_crs</title>
<updated>2022-03-17T21:18:22+00:00</updated>
<author>
<name>Even Rouault</name>
<email>even.rouault@spatialys.com</email>
</author>
<published>2022-03-17T21:18:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/PROJ/commit/?id=ab3383a4483f65679ae4a687cc8660572cd6102c'/>
<id>ab3383a4483f65679ae4a687cc8660572cd6102c</id>
<content type='text'>
Transformation: no longer do vertical trasnformation when doing compound CRS to 2D CRS / add --3d to cs2cs</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Transformation: no longer do vertical trasnformation when doing compound CRS to 2D CRS / add --3d to cs2cs</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #3118 from rouault/dynamic_datum_isequivalentto</title>
<updated>2022-03-16T13:00:35+00:00</updated>
<author>
<name>Even Rouault</name>
<email>even.rouault@spatialys.com</email>
</author>
<published>2022-03-16T13:00:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/PROJ/commit/?id=1c1a3c5930229644440a7e41d032cc217cf2f8c0'/>
<id>1c1a3c5930229644440a7e41d032cc217cf2f8c0</id>
<content type='text'>
Fix comparison of GeodeticRefrenceFrame vs DynamicGeodeticReferenceFrame</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix comparison of GeodeticRefrenceFrame vs DynamicGeodeticReferenceFrame</pre>
</div>
</content>
</entry>
<entry>
<title>Transformation: no longer do vertical trasnformation when doing compound CRS to 2D CRS / add --3d to cs2cs</title>
<updated>2022-03-16T11:24:25+00:00</updated>
<author>
<name>Even Rouault</name>
<email>even.rouault@spatialys.com</email>
</author>
<published>2022-03-16T11:24:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/PROJ/commit/?id=3e7984f3b26e408e69b960f8e0d03b6ac0576188'/>
<id>3e7984f3b26e408e69b960f8e0d03b6ac0576188</id>
<content type='text'>
Previously, when computing transformation between a compound CRS and a
geographic/projected 2D CRS, the behaviour was similar to implicitly
promoting the 2D CRS to 3D CRS in the pipeline computation logic, hence
a geoid model could be applied. But note that when doing a geographic 3D
to geographic/projected 2D CRS transformation, we *did* not do this implicit
promotion and if a Helmert transformation existed between the datums, it
was done only in 2D. So this is a bit inconsistent and triggered the
comment in https://github.com/OSGeo/PROJ/issues/2318#issuecomment-1068924513

With this commit, we no longer do any vertical transformation when doing
compound CRS to the 2D CRS, but just take the transformation of the
horizontal part of the compound CRS to the 2D CRS.
Said otherwise, NAD83+NAVD88 to NAD83 will no longer lead to the
application of the geoid model. Unless you explicitly ask for the
promotion NAD83 to 3D.

Also related, in https://github.com/OSGeo/PROJ/issues/1563 that went to 6.3.0,
I changed cs2cs to automatically promote to 3D the CRS as soon as one of
them was compound, for the sake of being consistent with the past
behaviour. But it then becomes difficult to predict PROJ behaviour
depending on which level of it you consider...
This commit undoes that and adds an explicit --3d switch to cs2cs, similarly to
projinfo, to ask for promotion.

Other bug fix found in the process, when using legacy syntax, +init=epsg:4979,
(WGS 84 3D), the resulting CRS was 2D and not 3D.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously, when computing transformation between a compound CRS and a
geographic/projected 2D CRS, the behaviour was similar to implicitly
promoting the 2D CRS to 3D CRS in the pipeline computation logic, hence
a geoid model could be applied. But note that when doing a geographic 3D
to geographic/projected 2D CRS transformation, we *did* not do this implicit
promotion and if a Helmert transformation existed between the datums, it
was done only in 2D. So this is a bit inconsistent and triggered the
comment in https://github.com/OSGeo/PROJ/issues/2318#issuecomment-1068924513

With this commit, we no longer do any vertical transformation when doing
compound CRS to the 2D CRS, but just take the transformation of the
horizontal part of the compound CRS to the 2D CRS.
Said otherwise, NAD83+NAVD88 to NAD83 will no longer lead to the
application of the geoid model. Unless you explicitly ask for the
promotion NAD83 to 3D.

Also related, in https://github.com/OSGeo/PROJ/issues/1563 that went to 6.3.0,
I changed cs2cs to automatically promote to 3D the CRS as soon as one of
them was compound, for the sake of being consistent with the past
behaviour. But it then becomes difficult to predict PROJ behaviour
depending on which level of it you consider...
This commit undoes that and adds an explicit --3d switch to cs2cs, similarly to
projinfo, to ask for promotion.

Other bug fix found in the process, when using legacy syntax, +init=epsg:4979,
(WGS 84 3D), the resulting CRS was 2D and not 3D.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix comparison of GeodeticRefrenceFrame vs DynamicGeodeticReferenceFrame</title>
<updated>2022-03-15T23:15:24+00:00</updated>
<author>
<name>Even Rouault</name>
<email>even.rouault@spatialys.com</email>
</author>
<published>2022-03-15T23:15:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/PROJ/commit/?id=fdf5111a9a790926aacec75a07d30508a8ed9c91'/>
<id>fdf5111a9a790926aacec75a07d30508a8ed9c91</id>
<content type='text'>
If comparing a DynamicGeodeticReferenceFrame object and its export to
WKT1, which is a simple DATUM object, currently in non-strict comparison
mode, we'd consider the datum to be equivalent to the dynamic datum, but
not the reverse, which breaks the symmetric property of the
isEquivalentTo() operation. So fix this, to consider both equivalent
whatever the operand order.
(in strict mode, the objects will be considered different of course)

Spotted in the GDAL GeoTIFF CRS reader code:
https://github.com/OSGeo/gdal/blob/f9d48bdcc8c90df20e53b5af5785f1e5d78910db/frmts/gtiff/gt_wkt_srs.cpp#L832

Do same change for vertical datum vs dynamic vertical datum.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If comparing a DynamicGeodeticReferenceFrame object and its export to
WKT1, which is a simple DATUM object, currently in non-strict comparison
mode, we'd consider the datum to be equivalent to the dynamic datum, but
not the reverse, which breaks the symmetric property of the
isEquivalentTo() operation. So fix this, to consider both equivalent
whatever the operand order.
(in strict mode, the objects will be considered different of course)

Spotted in the GDAL GeoTIFF CRS reader code:
https://github.com/OSGeo/gdal/blob/f9d48bdcc8c90df20e53b5af5785f1e5d78910db/frmts/gtiff/gt_wkt_srs.cpp#L832

Do same change for vertical datum vs dynamic vertical datum.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #3111 from direvus/1483-round-to-date</title>
<updated>2022-03-14T19:38:12+00:00</updated>
<author>
<name>Kristian Evers</name>
<email>kristianevers@gmail.com</email>
</author>
<published>2022-03-14T19:38:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/PROJ/commit/?id=77751f6c9e023748a90793774e8e4b554515e8b5'/>
<id>77751f6c9e023748a90793774e8e4b554515e8b5</id>
<content type='text'>
unitconvert: round to nearest date when converting to yyyymmdd.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
unitconvert: round to nearest date when converting to yyyymmdd.</pre>
</div>
</content>
</entry>
</feed>
