Skip to main content
Archived

Add numpy and scipy to PythonCaller

Related products:FME Form
  • February 12, 2015
  • 4 replies
  • 4 views
siennaatsafe
fmelizard
danilo_fme
lifalin2016
warrendev
+15
  • siennaatsafe
    siennaatsafe
  • fmelizard
    fmelizard
  • danilo_fme
    danilo_fme
  • lifalin2016
    lifalin2016
  • warrendev
    warrendev
  • tcrossman
    tcrossman
  • tomf
    tomf
  • lars_de_vries
    lars_de_vries
  • lorenrouth
    lorenrouth
  • antoine
    antoine
  • jnotter
    jnotter
  • geo91
  • mygis
    mygis
  • skime
    skime
  • jeroen
    jeroen
  • kim
  • janb
  • jpvo
    jpvo
  • johnny
  • dagw

fmelizard
Contributor
Add numpy and scipy to FME's python and support for treating raster features as numpy arrays in PythonCaller. Numpy and Scipy include a whole host of tools that are really useful and powerful for handling mainly raster data and to a lesser extent point data. I would love if it was easy to use these tools to manipulate features in a PythonCaller
This post is closed to further activity.
It may be a question with a best answer, an implemented idea, or just a post needing no comment.
If you have a follow-up or related question, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

4 replies

  • February 12, 2015
@ryanproulx You are right that you can always use a custom python interpreter, which is what I'm currently doing. The real problem is mainly that there no easy way to access and manipulate raster features as numpy arrays.

david_r
Evangelist
  • November 3, 2015
The FME distribution is already quite large, I'm not sure I think it's such a good idea to add tens of megabytes for a couple of libraries that less than 1% of FME users will use. It's not very difficult to set a custom interpreter and install them there.

jdh
Contributor
Forum|alt.badge.img+28
  • Contributor
  • May 15, 2018

While I agree that the number of FME users needing additional python packages is quite small, I do wonder what percentage of them need the same libraries (like scipy) and if it could be an install option.


antoine
Contributor
Forum|alt.badge.img+5
  • Contributor
  • September 12, 2019

Would it be the time to add a FME Package for stats/analytics (scipy, maybe panda..) on the hub? These Python packages and a class with some basic statistic tools in a PythonCaller would help a lot of people without impacting the FME distribution size. @david_r if well done, it could help more than 1%, especially if Safe adds one day output ports to PythonCaller.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings