Comments and answers for "Using GDAL in PythonCreator" https://knowledge.亚搏在线safe.com/questions/76805/using-gdal-in-pythoncreator.html The latest comments and answers for the question "Using GDAL in PythonCreator" Comment by david_r on david_r's comment https://knowledge.safe.com/comments/86331/view.html

Just wanted to add that the fmeobjects Python API now has full raster support, which makes it possible to manipulate e.g.pixel values directly in FME python scripts.It may not replace all the functionality of gdal, but it does make a lot of stuff possible.

Have a look at the excellent examples@takashiposted some time ago:

https://knowledge.safe.com/questions/38000/python-fme-objects-api-for-raster-manipulation.html

Mon, 04 Feb 2019 08:28:43 GMT david_r
Comment by gpt_executer on gpt_executer's answer https://knowledge.safe.com/comments/86327/view.html

No, unfortunatly not.As it wasn't too important I stopped working on that.

But still: any tips appreciated!

Mon, 04 Feb 2019 07:24:00 GMT gpt_executer
Answer by harmen_kampinga https://knowledge.safe.com/answers/86319/view.html

@gpt_executer: did you get it working?

Sun, 03 Feb 2019 21:11:25 GMT harmen_kampinga
Answer by david_r https://knowledge.safe.com/answers/76810/view.html

I've only done this once a long time ago, so I hope my memory isn't too rusty...

You basically have to download and install a stand-alone Python interpreter from python.org (or, even better, if you can find a distribution that includes gdal out of the box) and point FME to it.If gdal isn't already included, you install it as per the instructions.It should then work in FME as well.

I do seem to remember, however, that getting the gdal Python bindings to work properly on Windows was a royal pain, but hopefully it's gotten better by now.

Regarding your dsn error, youmayhave better luck asking in gdal specific forums, I suspect.

Tue, 21 Aug 2018 15:03:59 GMT david_r