Volador wrote in Fri Feb 19, 2021 8:21 pm:Volador wrote in Fri Feb 19, 2021 5:36 pm:perl create_bbox.pl --latLL 47.1967 --lonLL 11.1984 --latUR 47.5321 --lonUR 11.7682 -- --cols 2 --scenery_folder C:\Users\Win7\Documents\FlightGear\Orthophotos
So, does that line of code work on your system benih?
Looks good, files do appear:
- Code: Select all
beni@segin:~/Dokumente/FGFS/work/fgbuild/flightgear-photoscenery$ perl create_bbox.pl --latLL 47.1967 --lonLL 11.1984 --latUR 47.5321 --lonUR 11.7682 -- --cols 2 --scenery_folder /tmp/test/
WARNING: Only do this for providers whose TOS allow this!
WARNING: This may really strain remote ressources and cost the provider
real $$$, so use with care and if in doubt, ask before using!
cmd=python3 creator.py --lat "47.1967" --lon "11.1984" --info_only
Tile 3138120 needs download
cmd=python3 creator.py --index 3138120 --cols 2 --scenery_folder /tmp/test/
INFO:root:Downloading tile=/tmp/tmpkla2c93i from url=http://services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/export?bbox=11.0,47.125,11.125,47.1875&bboxSR=4326&size=4096,2048&imageSR=4326&format=png24&f=image
INFO:root:Downloading tile=/tmp/tmp9y5a6b3g from url=http://services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/export?bbox=11.125,47.125,11.25,47.1875&bboxSR=4326&size=4096,2048&imageSR=4326&format=png24&f=image
INFO:root:Downloading tile=/tmp/tmp0aj_jao6 from url=http://services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/export?bbox=11.0,47.1875,11.125,47.25&bboxSR=4326&size=4096,2048&imageSR=4326&format=png24&f=image
INFO:root:Downloading tile=/tmp/tmpxmylbm7d from url=http://services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/export?bbox=11.125,47.1875,11.25,47.25&bboxSR=4326&size=4096,2048&imageSR=4326&format=png24&f=image
OTOH i am an linux.
- Code: Select all
beni@segin:~/Dokumente/FGFS/work/fgbuild/flightgear-photoscenery$ python3 --version
Python 3.9.1+
beni@segin:~/Dokumente/FGFS/work/fgbuild/flightgear-photoscenery$ perl --version
This is perl 5, version 32, subversion 1 (v5.32.1) built for x86_64-linux-gnu-thread-multi
(with 45 registered patches, see perl -V for more detail)
Which versions do you have?