pnorman/ogr2osm

lambda invalid syntax on python 3.4

nighto opened this issue · 2 comments

Hello there,

I'm using python 3.4 on Windows with GDAL installed. To be sure of that, I run:

c:\Users\arlindo.pereira\Downloads>python
Python 3.4.0b1 (v3.4.0b1:3405dc9a6afa, Nov 24 2013, 19:18:21) [MSC v.1600 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import gdal
>>> ^Z

Now, when I try to run ogr2osm without no arguments (should only see the readme file) I get this:

c:\Users\arlindo.pereira\Downloads\ogr2osm>python ogr2osm.py
  File "ogr2osm.py", line 320
    reproject = lambda(geometry): None
                      ^
SyntaxError: invalid syntax

I'm using python 3.4 on Windows with GDAL installed

Did you try any of the python 2 to python 3 conversion programs?

Fixed in pull request #32