Skip to main content
  • 1,207 Posts
  • 4,281 Replies
1207 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

  • English Speaker
    zlfdodohas earned the badge English Speaker
  • Chinese Speaker
    zlfdodohas earned the badge Chinese Speaker
  • FME Form Basic Training
    ashishks278has earned the badge FME Form Basic Training
  • Welcome Back
    stuartpaicehas earned the badge Welcome Back
  • Student (Bronze)
    creeatsafehas earned the badge Student (Bronze)
Show all badges

Community Stats

32,128
Posts
121,966
Replies
39,779
Members

Latest FME