Giter VIP home page Giter VIP logo

photoscenary's People

Contributors

abassign avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

dark-eye

photoscenary's Issues

Names of folders

First of all thanks for this promising tool.

I am getting folders' names such as o-30n30 while I believe that FG expects w030n30.

Blank white pictures when using USGS

Hey @abassign,

When using --map 2 (USGS), I get blank images. Here is the full command I am doing: julia -t $(nproc) photoscenary.jl -s 4 --over 1 -i KBOS -p /home/newo/.fgfs/Scenery/Ortho --map 2.

Stacktrace when running the script

I get the following stacktrace when I run the script:

$ julia photoscenary.jl -t 30 -s 5 -i loww -r 5
┌ Warning: Deprecated syntax `"begin" inside indexing expression` at /storage/ortho/photoscenary/photoscenary.jl:161.
└ @ /storage/ortho/photoscenary/photoscenary.jl:161
ERROR: LoadError: ArgumentError: Package Downloads not found in current path:
- Run `import Pkg; Pkg.add("Downloads")` to install the Downloads package.

Stacktrace:
 [1] require(::Module, ::Symbol) at ./loading.jl:823
 [2] include at ./boot.jl:317 [inlined]
 [3] include_relative(::Module, ::String) at ./loading.jl:1044
 [4] include(::Module, ::String) at ./sysimg.jl:29
 [5] exec_options(::Base.JLOptions) at ./client.jl:266
 [6] _start() at ./client.jl:425
in expression starting at /storage/ortho/photoscenary/photoscenary.jl:55

All I did was installing julia via apt, cloning the repo and run it.

Error to convert the file in dds format

Two of us are getting getting this error, when making -s 5/6 scenery near LSZH.
It works when doing -s 4 or 2 or 1.
Julia v1.8.3 (Error is also with v1.8.5)
Ubuntu 20.04, ImageMagick 6.9.10-23

julia -t 1 photoscenary.jl -s 5 -p /mnt/d/Flightgear/photoscenery5 --over 1 -r 1 -i LSZH --debug 4
...
The image in 8.719,47.469,8.750,47.484 load in the matrix: x = 8 y = 7 Task: 63 th: 1 try: 1 time: 97.80downloadImage - The file /mnt/d/Flightgear/photoscenery5/Orthophotos/e000n40/e008n47/3088986.png is downloaded
convert-im6.q16: no images defined `/mnt/d/Flightgear/photoscenery5/Orthophotos/e000n40/e008n47/3088986.dds' @ error/convert.c/ConvertImageCommand/3258.
createDDSorPNGFile - Error to convert the /mnt/d/Flightgear/photoscenery5/Orthophotos/e000n40/e008n47/3088986.png file in dds format
Debug set program #3.2.2
Debug set program #3.2.4
Debug set program #3.2.5
Time:    124 elab:      0 (  Inf|  NaN) Tiles:    0 on    9 res    9 err    1 Th:  1 path: ../e000n40/e008n47/3088986.dds  Dist:   1.7 pix: 16384 MB/s: 0.00 MB dw:    0.0 (HTTP! -10)
Debug set program #3.2.1
createDDSorPNGFile - copyTilesByIndex foundIndex: nothing | foundPath: nothing | toPath: nothing | tileDatabase: Table with 0 rows, 2 columns:
1  2
──── | tileIndex: 3088994 | tp[12]: 16384
┌ Warning: downloadImage - HTTP image start to download url: http://services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/export?bbox=8.5,47.5,8.53125,47.515625&bboxSR=4326&size=2048.0,1024.0&imageSR=4326&format=png24&f=image

Julia throwing weird error

I have just installed Julia, then git cloned this repository, then run julia photoscenary.jl --help. Output is following:

fatal: error thrown and no exception handler available.
#<null>
jl_errorf at /home/user/.local/lib/x86_64-linux-gnu/libjulia.so.1 (unknown line)
jl_load_dynamic_library at /home/user/.local/lib/x86_64-linux-gnu/libjulia.so.1 (unknown line)
unknown function (ip: 0x7fd6aa7aca02)
jl_load_and_lookup at /home/user/.local/lib/x86_64-linux-gnu/libjulia.so.1 (unknown line)
jlplt_pcre2_compile_8_2341 at /home/user/.local/lib/x86_64-linux-gnu/julia/sys.so (unknown line)
compile at ./pcre.jl:120
compile at ./regex.jl:72
#occursin#363 at ./regex.jl:172 [inlined]
occursin at ./regex.jl:172 [inlined]
isdirpath at ./path.jl:117 [inlined]
normpath at ./path.jl:337
abspath at ./path.jl:383
abspath at ./path.jl:391
__init__ at ./sysinfo.jl:119
jfptr___init___14051 at /home/user/.local/lib/x86_64-linux-gnu/julia/sys.so (unknown line)
unknown function (ip: 0x7fd6aa8544d1)
unknown function (ip: 0x7fd6aa83f17b)
unknown function (ip: 0x55f4e19f559a)
__libc_start_main at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
unknown function (ip: 0x55f4e19f564d)

julia --version gives

julia version 1.4.1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.