RESTest icon indicating copy to clipboard operation
RESTest copied to clipboard

Create CoordinatesTestDataGenerator

Open AML14 opened this issue 4 years ago • 1 comments

This generator should create realistic coordinates (pairs of floats), i.e., not in the ocean. Maybe there's some Java library already that we can use.

Several parameters could be used, such as:

  • continent. If not specified, generate for the whole world.
  • latLonSep: the character used between the latitude and longitude. Defaults to ','.
  • noOfCoord: the number of coordinates to generate. Defaults to 1.
  • coordSep: when generating multiple coordinates, the character used to separate them. Defaults to ';'.

AML14 avatar Jan 23 '21 16:01 AML14

There is most likely a java library to do it. I came across a Python one the other day (https://github.com/toddkarin/global-land-mask) just in case.

antonioruizcortes avatar Jan 23 '21 17:01 antonioruizcortes