Skip to main content
Solved

Rasters with python object


meijer
Contributor
Forum|alt.badge.img+3

Hi all,

With the documentation online, I was wondering if I can read out raster data.

https://docs.safe.com/fme/html/FME_Objects_Python_API/index.html

My case:

I want to have a moving window ( 9x9 e.g.) to blur an image, I cannot change the data to pointclouds, or clipp the data into 9x9 rasters, because the data is too big.

 

So my question is: How can I extract and update the cell values via the fme python objects?

 

Thanks in advance!

 

Best answer by jdh

Takashi wrote an excellent set of examples for working with raster in the python api.

 

 

https://knowledge.safe.com/questions/38000/python-fme-objects-api-for-raster-manipulation.html
View original
Did this help you find an answer to your question?

3 replies

jdh
Contributor
Forum|alt.badge.img+28
  • Contributor
  • Best Answer
  • July 10, 2017

Takashi wrote an excellent set of examples for working with raster in the python api.

 

 

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

mark2atsafe
Safer
Forum|alt.badge.img+44
@meijer Not necessarily Python, but we do have plans to allow more advanced cell value setting (eg blur or neighbor averages). There is an idea on this site, so if you want to vote it up, please visit: https://knowledge.safe.com/idea/19473/advanced-raster-cell-value-calculation.html

 


danilo_fme
Evangelist
Forum|alt.badge.img+44
  • Evangelist
  • July 10, 2017
Hi @meijer, how the @jdh wrote you, the link is very powerful.

 

I created a Post in my Blog and i described a example to perform a clipper just using Python Script.

 

http://vanholzel.blogspot.com.br/2017/07/fme-objects-api-for-raster-using-python.html

 

 

 

Thanks,

 

 

Danilo de Lima

 


Reply


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