Open ouyuanzheng opened 10 months ago
Hi @ouyuanzheng, the x and y parameters are pixel coordinates of the top-left corner of your Area of Interest in the first image raster.
For defining the AOI with geographic coordinates instead of pixel coordinates, you can use roi_geojson
instead of roi
.
roi_geojson
expects a geojson polygon dict.
I get it, thank you very much for your reply!
Hello, is there a limit to the size of W and H values in roi? I use W=2000, H=2000, and I get the following error: s2p tests/data/input_trillet-WV3/config_geo.json WARNING: ignoring unknown parameter skip_existing. WARNING: ignoring unknown parameter utm_bbx. WARNING: ignoring unknown parameter triangulation_mode. tile size: 318 286 total number of tiles: 147 (7 x 7) x 3 pairs
discarding masked tiles...
done 47 / 49 tiles
Traceback (most recent call last):
File "/home/oyz/.local/bin/s2p", line 33, in
I want to use S2P to process multiple images covering the same area, I would like to ask how to set the "roi" parameter in the JSON file. "roi" in the example : "roi" : { "x" : 150, "y" : 150, "w" : 700, "h" : 700 }, how do I get the x and y parameters? What system coordinates are x and y? Can you give me some advice? Thank you so much!