Commit 59a23589 authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Fix for returning white spaces at the end of a Proj4 string. Updated version info.


Signed-off-by: Daniel Scheffler's avatarDaniel Scheffler <danschef@gfz-potsdam.de>
parent 81cfdd9b
Pipeline #7232 failed with stages
in 61 minutes and 10 seconds
...@@ -60,7 +60,7 @@ def get_proj4info(ds=None, proj=None): ...@@ -60,7 +60,7 @@ def get_proj4info(ds=None, proj=None):
proj = EPSG2WKT(proj) proj = EPSG2WKT(proj)
srs.ImportFromWkt(proj) srs.ImportFromWkt(proj)
return srs.ExportToProj4() return srs.ExportToProj4().strip()
def proj4_to_dict(proj4): def proj4_to_dict(proj4):
......
...@@ -19,5 +19,5 @@ ...@@ -19,5 +19,5 @@
# You should have received a copy of the GNU Lesser General Public License along # You should have received a copy of the GNU Lesser General Public License along
# with this program. If not, see <http://www.gnu.org/licenses/>. # with this program. If not, see <http://www.gnu.org/licenses/>.
__version__ = '0.14.25' __version__ = '0.14.26'
__versionalias__ = '20200108_01' __versionalias__ = '20200310_01'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment