Skip to content

can geemap.fishnet() function set with image size? like fishnet(width=512, height=512) ? #1982

Answered by jdbcode
wondering516 asked this question in Q&A
Discussion options

You must be logged in to vote

Hello. If you are doing this for the purpose of model training, ee.data.getPixels and ee.data.computePixels from the ee library are largely intended to do this - you might find these examples helpful:

(e.g., use grid parameter to set x and y patch size in units of pixels:)

  'grid': {
      'dimensions': {
          'width': PATCH_SIZE,
          'height': PATCH_SIZE
      },
      'affineTransfor…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@giswqs
Comment options

Answer selected by giswqs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants