Skip to main content

Best Answers

10696 Posts
Python FME API Documentation: Code example for raster creation could be wrong

I'm afraid that this code in the "Getting Started  Working with rasters" section  is wrong.        # creating the new FMERaster        rasterProperties = fmeobjects.FMERasterProperties(numRows, numCols,                                                          xCellOrigin, yCellOrigin,                                                          xSpacing, ySpacing,                                                          xOrigin, yOrigin,                                                          xRotation, yRotation)According to the API reference, the order of parameters should be:        # creating the new FMERaster        rasterProperties = fmeobjects.FMERasterProperties(numRows, numCols,                                                          xSpacing, ySpacing,                                                          xCellOrigin, yCellOrigin,                                                          xOrigin, yOrigin,                                                          xRotation, yRo

Badge Winners

  • Online Training
    juhakhas earned the badge Online Training
  • FME Form Advanced Training
    lkerrinshas earned the badge FME Form Advanced Training
  • Student (Grey)
    stu888has earned the badge Student (Grey)
  • Welcome Back
    stu888has earned the badge Welcome Back
  • FME Form Advanced Training
    gabrielmghas earned the badge FME Form Advanced Training
Show all badges

Community Stats

32,606
Posts
123,755
Replies
40,949
Members