<feed xmlns='http://www.w3.org/2005/Atom'>
<title>PROJ/src, branch emscripten-build</title>
<subtitle>Forked from https://github.com/OSGeo/PROJ</subtitle>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/PROJ/'/>
<entry>
<title>Adding ellipsoidal equations for the Equal Earth (#1101)</title>
<updated>2018-08-22T17:43:19+00:00</updated>
<author>
<name>Bojan Šavrič</name>
<email>bsavric@esri.com</email>
</author>
<published>2018-08-22T17:43:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/PROJ/commit/?id=b2fe2277e225d3e666cdcce92182595bb547cb0c'/>
<id>b2fe2277e225d3e666cdcce92182595bb547cb0c</id>
<content type='text'>

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>

</pre>
</div>
</content>
</entry>
<entry>
<title>Fixes for webmerc projection (fixes #1078)</title>
<updated>2018-08-20T17:00:06+00:00</updated>
<author>
<name>Even Rouault</name>
<email>even.rouault@spatialys.com</email>
</author>
<published>2018-08-20T12:57:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/PROJ/commit/?id=589a540a21fb914b09fb19d5e0a89c6d955042c0'/>
<id>589a540a21fb914b09fb19d5e0a89c6d955042c0</id>
<content type='text'>
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...
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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...
</pre>
</div>
</content>
</entry>
<entry>
<title>Implementation of Equal Earth projection (#1090)</title>
<updated>2018-08-17T20:16:43+00:00</updated>
<author>
<name>jdugge</name>
<email>jdugge@users.noreply.github.com</email>
</author>
<published>2018-08-17T20:16:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/PROJ/commit/?id=40036c19af8ae237a9b1565852340661bb1c66f8'/>
<id>40036c19af8ae237a9b1565852340661bb1c66f8</id>
<content type='text'>
Implement the Equal Earth projection (closes #1085) </content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Implement the Equal Earth projection (closes #1085) </pre>
</div>
</content>
</entry>
<entry>
<title>gie: add a require_grid keyword, and use if for DHDN_ETRS89.gie; aso fix DHDN_ETRS89 autoconf test</title>
<updated>2018-08-11T15:57:33+00:00</updated>
<author>
<name>Even Rouault</name>
<email>even.rouault@spatialys.com</email>
</author>
<published>2018-08-11T15:46:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/PROJ/commit/?id=e7cb0caa6882aa587fa42b5f2aed27cc12eaeb02'/>
<id>e7cb0caa6882aa587fa42b5f2aed27cc12eaeb02</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>projects.h: use param[] variable-length member syntax with GCC &gt;= 8 to fix optimization issue with gcc 8.2 (fixes #1084)</title>
<updated>2018-08-11T13:06:29+00:00</updated>
<author>
<name>Even Rouault</name>
<email>even.rouault@spatialys.com</email>
</author>
<published>2018-08-11T13:06:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/PROJ/commit/?id=edfa2981326ea4a476d420436323d0fb37a4efab'/>
<id>edfa2981326ea4a476d420436323d0fb37a4efab</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix wrong behaviour of torad_coord() with gcc 8.1 -O2 (fixes #1084)</title>
<updated>2018-08-11T09:33:15+00:00</updated>
<author>
<name>Even Rouault</name>
<email>even.rouault@spatialys.com</email>
</author>
<published>2018-08-10T17:36:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/PROJ/commit/?id=143b4d3f64e0828a3b03dd9ed997dd5412c2b25a'/>
<id>143b4d3f64e0828a3b03dd9ed997dd5412c2b25a</id>
<content type='text'>
torad_coord() of gie.c has this sequence:
```
if( cond )
    axis = l-&gt;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-&gt;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]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
torad_coord() of gie.c has this sequence:
```
if( cond )
    axis = l-&gt;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-&gt;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]
</pre>
</div>
</content>
</entry>
<entry>
<title>pj_strerrno(): Change check off err value to avoid undefined behavior.</title>
<updated>2018-07-26T19:41:59+00:00</updated>
<author>
<name>Kurt Schwehr</name>
<email>schwehr@google.com</email>
</author>
<published>2018-07-26T19:41:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/PROJ/commit/?id=6be10ac6ab4e21101a913c33a30cf23901593914'/>
<id>6be10ac6ab4e21101a913c33a30cf23901593914</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove unused '+no_rot' parameter</title>
<updated>2018-07-21T20:26:30+00:00</updated>
<author>
<name>Kristian Evers</name>
<email>kristianevers@gmail.com</email>
</author>
<published>2018-07-20T21:37:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/PROJ/commit/?id=380eb835e4e88a8ba8581fa26de123c9df334ae9'/>
<id>380eb835e4e88a8ba8581fa26de123c9df334ae9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Check for use of both +k and +k_0 in krovak</title>
<updated>2018-07-21T20:26:30+00:00</updated>
<author>
<name>Kristian Evers</name>
<email>kristianevers@gmail.com</email>
</author>
<published>2018-07-20T21:36:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/PROJ/commit/?id=eb1bf89d6d5715daccd9d1eeaa7b68879ce9c85f'/>
<id>eb1bf89d6d5715daccd9d1eeaa7b68879ce9c85f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use error code constant instead of number</title>
<updated>2018-07-20T21:34:56+00:00</updated>
<author>
<name>Kristian Evers</name>
<email>kristianevers@gmail.com</email>
</author>
<published>2018-07-20T21:34:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/PROJ/commit/?id=97c162903b915c273522c6f2bb12c37bbbd33ed6'/>
<id>97c162903b915c273522c6f2bb12c37bbbd33ed6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
