Git Product home page Git Product logo

ortho4xp's People

Contributors

artesim avatar cyberguerro avatar d41k4n avatar dependabot[bot] avatar dyoung522 avatar flykido avatar gregory-m avatar hargn avatar higginsdragon avatar jaromaz avatar jdknox avatar joboet avatar marcfsx avatar niklaskk avatar oscarpilote avatar pierredavidbelanger avatar rromanchuk avatar stacktom avatar stamler avatar stevo2444 avatar vogonzarniwoop avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ortho4xp's Issues

'tmp' directory not created

After

-> Loading of elevation data.
   No elevation file found, I download it from viewfinderpanorama (J. de Ferranti)

We get an error in the python file

Traceback (most recent call last):
  File "C:\Users\Oscar Pilote\AppData\Local\Programs\Python\Python35\lib\threading.py", line 914, in _bootstrap_inner
  File "C:\Users\Oscar Pilote\AppData\Local\Programs\Python\Python35\lib\threading.py", line 862, in run
  File "D:\Ortho4XP\Ortho4XP_v120b.py", line 2753, in build_mesh
  File "D:\Ortho4XP\Ortho4XP_v120b.py", line 2156, in load_altitude_matrix
FileNotFoundError: [Errno 2] No such file or directory: '..\\tmp\\J14.zip'

This can be fixed by manually creating the tmp directory in the working folder.

License?

Can I receive clarification on the software license of this repo? Is it still GPLv3?

Python Error

E:\Github\Ortho4XP>Ortho4XP_v130.py
ERROR: Providers/O4_Custom_URL.py contains invalid code. The corresponding providers won't probably work.
Traceback (most recent call last):
File "E:\Github\Ortho4XP\Ortho4XP_v130.py", line 9, in
import O4_Imagery_Utils as IMG
File ".\src\O4_Imagery_Utils.py", line 22, in
import O4_Vector_Utils as VECT
File ".\src\O4_Vector_Utils.py", line 5, in
from rtree import index
File "C:\Users\Nayla Hikari\AppData\Local\Programs\Python\Python36\lib\site-packages\rtree_init_.py", line 1, in
from .index import Rtree
File "C:\Users\Nayla Hikari\AppData\Local\Programs\Python\Python36\lib\site-packages\rtree\index.py", line 5, in
from . import core
File "C:\Users\Nayla Hikari\AppData\Local\Programs\Python\Python36\lib\site-packages\rtree\core.py", line 116, in
raise OSError("could not find or load spatialindex_c.dll")
OSError: could not find or load spatialindex_c.dll

Ortho4XP not finding major airports

Hi, when I select "Build vector data" for the tile +47-123, containing KPAE - Snohomish County Airport north of Seattle, USA, the output does not find this airport which is a major airport.

I have checked OSM and it is correctly tagged as "aeroway"="aerodrome",. In fact, many airports within this tile are missed.

Is there a further filter being applied?

Is there a way of selecting airports of a certain size or type?

It would be great to be able to set these parameters in the cfg file.

These are the ones it found, some of which are minor.

Recycling OSM data for way["aeroway"="aerodrome"]
 A total of 126 node(s) and 5 way(s).
   * KSEA Seattle-Tacoma International Airport
   *      Kenmore Air Harbor Seaplane Base
   *      Enumclaw Airport
   * KPLU Pierce County Airport-Thun Field
   *      Harvey Field
Recycling OSM data for rel["aeroway"="aerodrome"]
 A total of 132 node(s) and 3 relation(s).
   *      First Air Field
   * KBFI Boeing Field
   *      Auburn Municipal Airport

Thanks for the awesome tool !!!!

No more 'load poly' in v130?

I tried out v130, but I'm missing the option to load a poly when defining sources for tiles. I can still draw a poly manually, but I can't load the standard country border polylines anymore.

Linux convert

On Linux, no nvcompress binary is provided, so the convert process will fail.
But Imagemagick convert is capable of doing the job with GPU acceleration via OpenCL.

Since most Linux distributions can provide Imagemagick it would a reliable solution.
This is the patching I have to do on every releases :)

--- a/src/O4_Imagery_Utils.py
+++ b/src/O4_Imagery_Utils.py
@@ -49,7 +49,7 @@ elif 'win' in sys.platform:
     gdalwarp_cmd    = "gdalwarp.exe"
     devnull_rdir    = " > nul  2>&1"
 else:
-    dds_convert_cmd = "nvcompress" 
+    dds_convert_cmd = "convert" 
     gdal_transl_cmd = "gdal_translate"
     gdalwarp_cmd    = "gdalwarp"
     devnull_rdir    = " >/dev/null 2>&1 "
@@ -1285,7 +1285,8 @@ def convert_texture(tile,til_x_left,til_y_top,zoomlevel,provider_code,type='dds'
         file_to_convert=os.path.join(file_dir,jpeg_file_name)
     # eventually the dds conversion
     if type=='dds':
-        conv_cmd=[dds_convert_cmd,'-bc1','-fast',file_to_convert,os.path.join(tile.build_dir,'textures',out_file_name),devnull_rdir]
+        conv_cmd=[dds_convert_cmd,file_to_convert,os.path.join(tile.build_dir,'textures',out_file_name)]
     else:
         (latmax,lonmin)=GEO.gtile_to_wgs84(til_x_left,til_y_top,zoomlevel)
         (latmin,lonmax)=GEO.gtile_to_wgs84(til_x_left+16,til_y_top+16,zoomlevel)

A custom command without the nvcompress params would do the trick

v130 Fails to run in Ubuntu 18.04

When launching the script via python Ortho4XP_130.py the following error is encountered:

Traceback (most recent call last):
File "Ortho4XP_v130.py", line 9, in
import O4_Imagery_Utils as IMG
File "./src/O4_Imagery_Utils.py", line 597
SyntaxError: Non-ASCII character '\xc2' in file ./src/O4_Imagery_Utils.py on line 597, but no encoding > declared; see http://python.org/dev/peps/pep-0263/ for details

Plans to use PyOpenCL to improve performance?

Especially in the first step and the tile conversion, using the GPU would drastically improve performance. I'm looking into this, but I'd like to know if you have any plans to include this already?

Better cache system

Hello,
I have noticed that you are currently using some cache for the OSM data, but i was wondering to add a condition : if all the data is from cache, so the program will also cache the mesh in the Tiles folder for the .poly .node .ele .mesh files, so the rendering will be faster?
And i have another question : the zoom level referres to the QMID or the LOD af the downloaded picture?

mesh viewer

Is it possible to view the mesh generated by Ortho4XP? The manual has some screen shots which seem to show the mesh. I wonder how this was done.

Feature sugestion: Fixed width rivers where no riverbank polygon is defined.

It would be nice to use the wdith tag from waterway=river, and then have rivers that do not have a riverbank defined in the OSM data filled with water to this width, following the linear waterway from OSM data. Potentially this could yield good results, as these are usually smaller rivers/creeks that have a fairly uniform width along their course.

Feature Suggestion

My HUGE collection of Ortho4XP tiles are now housed on a new 5Tb drive. Is there any way I can update the map view to see the tiles already done? This would be great to discover which tiles I need to create to complete my collection.
This would be a great feature.
Thanks for your great contribution. O4XP is fab
Kev

Base source from OSM downloading failure

Starting the UI of Ortho4XP 1.20b, in Provider and Zoomlevel section, select OSM in Base source, it gave me an error log from console:

requests.packages.urllib3.exceptions.ReadTimeoutError: HTTPConnectionPool(host='a.tile.openstreetmap.org', port=80): Read timed out. (read timeout=10)

During handling of the above exception, another exception occurred:

requests.packages.urllib3.exceptions.ReadTimeoutError: HTTPConnectionPool(host='b.tile.openstreetmap.org', port=80): Read timed out. (read timeout=10)
requests.packages.urllib3.exceptions.ReadTimeoutError: HTTPConnectionPool(host='c.tile.openstreetmap.org', port=80): Read timed out. (read timeout=10)

if you go to http://a.tile.openstreetmap.org/ , it turns out OpenstreetMap has changed its API/page.

I used BI (bing map?) as the base source for instead and it worked. So you mightly update the openstreetmap api link to use openstreetmap as the base source.

No system list on Python 3.7 + Win10

Hello,

Trying to run Ortho4XP under Win10 + Python 3.7.2.
Installed Pyproj 1.9.5.1 and 1.9.6 (cp37/amd64).

But still getting the same issue when running Ortho4XP 1.30 :

Traceback (most recent call last):
 File "Ortho4XP_v130.py", line 9, in <module>
   import O4_Imagery_Utils as IMG
 File ".\src\O4_Imagery_Utils.py", line 14, in <module>
   import O4_Geo_Utils as GEO
 File ".\src\O4_Geo_Utils.py", line 19, in <module>
   epsg['4326']=pyproj.Proj(init='epsg:4326')
 File "C:\Users\Gaëtan Allart\AppData\Local\Programs\Python\Python37\lib\site-packages\pyproj\__init__.py", line 362, in __new__
   return _proj.Proj.__new__(self, projstring)
 File "_proj.pyx", line 129, in _proj.Proj.__cinit__
RuntimeError: b'no system list, errno: 2\n'

Thanks for your help

Syntax error on Win10

Hello,

When I try to execute it on Win10, I get the following error:

PS D:\Ortho4XP-1.30> .\Ortho4XP_v130.py
Traceback (most recent call last):
  File "D:\Ortho4XP-1.30\Ortho4XP_v130.py", line 9, in <module>
    import O4_Imagery_Utils as IMG
  File ".\src\O4_Imagery_Utils.py", line 555
SyntaxError: Non-ASCII character '\xc2' in file .\src\O4_Imagery_Utils.py on line 555, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details

Any idea?

medit-2.3-linux missing package

On the apt-get line in Install_Instructions.txt the freeglut3 package is missing (needed for medit-2.3-linux).

Best Regards
Jaromaz

Build Geotiff doesn't work

Building geotiffs throws a FileNotFoundError after downloading the appropriate jpg file. This is on windows 10 64 bit.

Delete tile's textures

When Base Folder contain custom "tiles cumulative" path (without "/" end char), deletion of current tile textures doesn't work

Clean unused DDS

In the last version (1.20b) there was an option to clean unused DDS. Is it possible to do the same with the 1.30 ?

Triangle4XP crashed

Hello

here log:

-> Start of the mesh algorithm Triangle4XP.
  Mesh command: ./Utils/Triangle4XP_v130.app -pAuYBV 94235.1044 111120 1201 1201 0 0 1 1 -32768 2.402 10 46.26144879267277 ./Tiles/zOrtho4XP_+32+034/Data+32+034.alt ./Tiles/zOrtho4XP_+32+034/Data+32+034.weight ./Tiles/zOrtho4XP_+32+034/Data+32+034.poly
  Loading altitudes from DEM file.
  Loading curv_tol geographic weights.
  Computing curvatures from altitudes.
  Opening ./Tiles/zOrtho4XP_+32+034/Data+32+034.poly.
  Opening ./Tiles/zOrtho4XP_+32+034/Data+32+034.node.
  Constructing Delaunay triangulation by divide-and-conquer method.
  Sorting vertices.
Warning:  A duplicate vertex at (0, 0.268555446215) appeared and was ignored.
Warning:  A duplicate vertex at (0, 0.277844514983) appeared and was ignored.
Warning:  A duplicate vertex at (0, 0.314991277246) appeared and was ignored.
Warning:  A duplicate vertex at (0, 0.444884967167) appeared and was ignored.
Warning:  A duplicate vertex at (0, 0.454155939415) appeared and was ignored.
Warning:  A duplicate vertex at (0, 0.481963132172) appeared and was ignored.
Warning:  A duplicate vertex at (0, 0.491230287948) appeared and was ignored.
Warning:  A duplicate vertex at (0.75899624691, 0) appeared and was ignored.
Warning:  A duplicate vertex at (0.873457506366, 0) appeared and was ignored.
Warning:  A duplicate vertex at (0.875783285112, 0) appeared and was ignored.
Warning:  A duplicate vertex at (0.886234523423, 0) appeared and was ignored.
Warning:  A duplicate vertex at (0.886234523423, 0) appeared and was ignored.
Warning:  A duplicate vertex at (0.888277161101, 0) appeared and was ignored.
Warning:  A duplicate vertex at (0.894951628527, 0) appeared and was ignored.
Warning:  A duplicate vertex at (0.904115822816, 0) appeared and was ignored.
Warning:  A duplicate vertex at (0.952608290408, 0) appeared and was ignored.
Warning:  A duplicate vertex at (1, 0.379961464357) appeared and was ignored.
Warning:  A duplicate vertex at (1, 0.417066328463) appeared and was ignored.
Warning:  A duplicate vertex at (1, 0.824211101613) appeared and was ignored.
  Forming triangulation.
  Removing ghost triangles.
  Recovering segments in Delaunay triangulation.
    Constructing mapping from vertices to triangles.
  Recovering PSLG segments.

ERROR: Triangle4XP crashed !

If the reason is not due to the limited amount of RAM please
file a bug including the .node and .poly files for that you
will find in ./Tiles/zOrtho4XP_+32+034.

Archive.zip

Latest 1.3 branch doesn't build texture data

Hello

I've downloaded the latest branch Ortho4XP-feature-smart_airport_zl a few hours ago, Because OSM provider was broken, so, osm data works, but netherless what I try, I'm not able to have the dds txture files. I check I run python in 64 bit and have 16Go of ram (foun a post where the problem seems to be related to 32 bits version and memory) I check to imprint_masks_to_dds is set to false (found in the same post, I think), so, don't know what to do next.

Antarctic image dowloads treated as invalid due to too much white in image

As stated in the title.
I am creating scenery at -69,078 and obviously, a lot of the images provided by Google and Bing have large areas of whiteness "aka snow".
Somewhere in the code when creating the DDS files, ortho4xp decides the image file must be invalid due to too much white and substitutes a pure white image in its place.
I think function the "http_request_to_image" in file O4_Imagery_Utils.py may be responsible as it checks the size of the image file to try to determine if it has received a valid file.

Any guidance on what to change?

restore link prefix & BASE FOLDER with subfolders

It could be very usefull restoring possibility to specify a prefix (like in 1.20b) for links into custom sceneries, when the are created from world map of tiles.

Another usefull implementation could be implement an option to scan RECURSIVELY into BASE FOLDER because for example I grouped my Italy's tiles into "zOrtho4XP_Italy" and Austria's into "zOrtho4XP_Austria" and I'd like to see all tiles (Italy and Austria) alltogether selecting parent folder.

Thank you

is this still current?

Hello!

thank you for such an awesome project. but is this still current
I ask as I find using github easier to keep track of than dropbox
for changes etc

regards
Dick Thomas

pakages for Fedora 26

Hello,

AFAIK this is the package list for Fedora 26 and install instructions as of the last stable build from Dropbox.

sudo dnf install python3 ImageMagick python3-pip  gdal-python3 \
python3-pillow python3-pillow-tk gimp nvidia-texture-tools \
python3-pyproj 

pip3 install requests --user
pip3 install overpy --user
pip3 install numpy --user

I wasn't sure where / if you would want it.
I've tested it on Fedora 26 KDE spin and it seems to work fine

Street network not generated when extracting overlays from default scenery

Hi Oscar,

I am doing some beta testing of your great software, and the road extraction seems to fail when creating overlays. I attached the log and a screenshot of the result. I am from Argentina, in south America, the location is SAZM airport, but the result is the same in other places.

Thanks for your time and dedication.

log.txt
screenshoot

Modify custom_dem default

I was trying to use the NED 1/3 Dem setting for all my USA ortho. But found that only tile configs persist the setting, while writing the App config does not. For now I've manually copied the entry from one of my Tile configs.

Overlay can only be built from Earth View

When building (or rebuilding) a single tile from the main GUI it's not possible to create the overlay.
No button to select and build_all() does not have a call to OVL.build_overlay() while build_tile_list() has one.

Problem with the pictures from different providers

Hi, i recently noticed that the pictures from Google have strange disposition as you can see on the picture attached to the issue.

10832_16816_GO215

This appends in ZL15 in each tile but not in each picture. So as you can see the final render is not that good...
image
So i don't know if this is ony for Google or for other? I prefer Google for the summer picture and green forests....

OSM tile servers block rapid requests

When I try to use OSM as a source, I quickly start getting "request timed out" errors from the OSM tile servers. It seems they're blocking my requests, and based on their usage policy, I can see why. Ortho4XP spawns many threads to fetch tiles with no delays (except when there's an error).

It would be nice to have a "be polite to tile servers" option to slow down tile fetching requests and avoid being blocked.

Demo areas have to have their overlays built seperately

The demo Scenery areas (KSEA and LOWI) have their overlay data exist in <xp_root>\Global Scenery\X Plane 11 Demo Areas\ vs the usual Global Scenery\X Plane 11 Global Scenery\

You can't target both folders simultaneously so you have to build the overlays twice.

New filter for Italy and Spain

attached zip file within filter settings to get (in my opinion) better textures from PCN06 provider's orthophotos (PCN06.flt) and Spain provider (SP/SP2015 - SP_2015.flt).
Filters.zip

print(line.decode("utf-8")[:-1])

C:\Ortho4XP>python Ortho4XP_v130.py
ERROR: Providers/O4_Custom_URL.py contains invalid code. The corresponding providers won't probably work.
Exception in thread Thread-2:
Traceback (most recent call last):
File "C:\Python36\lib\threading.py", line 916, in _bootstrap_inner
self.run()
File "C:\Python36\lib\threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
File ".\src\O4_Tile_Utils.py", line 162, in build_tile_list
MESH.build_mesh(tile)
File ".\src\O4_Mesh_Utils.py", line 371, in build_mesh
print(line.decode("utf-8")[:-1])
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf1 in position 28: invalid continuation byte

Saturation adjustment

Hi,

It would be nice to have a setting to do saturation adjustment during the conversion step on all images. I think a float where 1.0 is keep and values greater than 1.0 will increase the saturation of the image and values less than 1.0 will decrease the saturation of the image.

Regards,
Stone

zOrtho4XP_+46-072 fail because of the coastline

Next to Quebec City, there is an island inside the Saint Laurent river.

For some reasons ortho4xp is failing and only download images for this island.

11M     Tiles/zOrtho4XP_+46-072/textures/92256_79328_BI18.dds
11M     Tiles/zOrtho4XP_+46-072/textures/92256_79344_BI18.dds
11M     Tiles/zOrtho4XP_+46-072/textures/92256_79360_BI18.dds
11M     Tiles/zOrtho4XP_+46-072/textures/92272_79328_BI18.dds
11M     Tiles/zOrtho4XP_+46-072/textures/92272_79344_BI18.dds
11M     Tiles/zOrtho4XP_+46-072/textures/92272_79360_BI18.dds
11M     Tiles/zOrtho4XP_+46-072/textures/92288_79312_BI18.dds
11M     Tiles/zOrtho4XP_+46-072/textures/92288_79328_BI18.dds
11M     Tiles/zOrtho4XP_+46-072/textures/92288_79344_BI18.dds
11M     Tiles/zOrtho4XP_+46-072/textures/92288_79360_BI18.dds
11M     Tiles/zOrtho4XP_+46-072/textures/92304_79296_BI18.dds
11M     Tiles/zOrtho4XP_+46-072/textures/92304_79312_BI18.dds
11M     Tiles/zOrtho4XP_+46-072/textures/92304_79328_BI18.dds
11M     Tiles/zOrtho4XP_+46-072/textures/92304_79344_BI18.dds
11M     Tiles/zOrtho4XP_+46-072/textures/92304_79360_BI18.dds
11M     Tiles/zOrtho4XP_+46-072/textures/92320_79280_BI18.dds
11M     Tiles/zOrtho4XP_+46-072/textures/92320_79296_BI18.dds
11M     Tiles/zOrtho4XP_+46-072/textures/92320_79312_BI18.dds
11M     Tiles/zOrtho4XP_+46-072/textures/92320_79328_BI18.dds
11M     Tiles/zOrtho4XP_+46-072/textures/92320_79344_BI18.dds
11M     Tiles/zOrtho4XP_+46-072/textures/92320_79360_BI18.dds
11M     Tiles/zOrtho4XP_+46-072/textures/92336_79264_BI18.dds
11M     Tiles/zOrtho4XP_+46-072/textures/92336_79280_BI18.dds
11M     Tiles/zOrtho4XP_+46-072/textures/92336_79296_BI18.dds
11M     Tiles/zOrtho4XP_+46-072/textures/92336_79312_BI18.dds
11M     Tiles/zOrtho4XP_+46-072/textures/92336_79328_BI18.dds
11M     Tiles/zOrtho4XP_+46-072/textures/92336_79344_BI18.dds
11M     Tiles/zOrtho4XP_+46-072/textures/92336_79360_BI18.dds
11M     Tiles/zOrtho4XP_+46-072/textures/92352_79264_BI18.dds
11M     Tiles/zOrtho4XP_+46-072/textures/92352_79280_BI18.dds
11M     Tiles/zOrtho4XP_+46-072/textures/92352_79296_BI18.dds
11M     Tiles/zOrtho4XP_+46-072/textures/92352_79312_BI18.dds
11M     Tiles/zOrtho4XP_+46-072/textures/92352_79328_BI18.dds
9.8M    Tiles/zOrtho4XP_+46-072/textures/92352_79344_BI18.dds
9.6M    Tiles/zOrtho4XP_+46-072/textures/92352_79360_BI18.dds
11M     Tiles/zOrtho4XP_+46-072/textures/92368_79264_BI18.dds

tested with Ortho4XP_v130.py master at b5fc9be

Error Building mesh for tile +40+140

I get the following error when attempting to make a tile in Japan. This was the only tile that gave me an error out of the whole of Japan. It is part of a central landmass so it should have decent OSM data.

Step 2 : Building mesh for tile +40+140 :

-> Modifying curv_tol weight map according to runway locations.
-> Modifying curv_tol weight map according to coastline location.
* Recycling OSM data from ..\OSM_data+40+140+40+140+40+140_coastline.osm.bz2
-> Start of the mesh algorithm Triangle4XP.
Loading altitudes from DEM file.
Loading curv_tol geographic weights.
Computing curvatures from altitudes.
Constructing Delaunay triangulation by divide-and-conquer method.
Recovering segments in Delaunay triangulation.
Internal error in segmentintersection():
Topological inconsistency after splitting a segment.
Splitting subsegment (0.978614661357, 0.57065705109) (0.978737929608, 0.570659482065) at (0.978737929608, 0.570659482065).

WARNING: Triangle4XP could not achieve the requested quality (min_angle), most probably due to an uncatched OSM error.
It will be tempted now with no angle constraint (i.e. min_angle=0).
Loading altitudes from DEM file.
Loading curv_tol geographic weights.
Computing curvatures from altitudes.
Constructing Delaunay triangulation by divide-and-conquer method.
Recovering segments in Delaunay triangulation.
Internal error in segmentintersection():
Topological inconsistency after splitting a segment.
Splitting subsegment (0.978614661357, 0.57065705109) (0.978737929608, 0.570659482065) at (0.978737929608, 0.570659482065).

ERROR: Triangle4XP really couldn't make it !

zOrtho4XP_+40+140.zip

How use nvcompress on Windows

Hello Oscar,
Can You tell me how use nvcompress?
I see in util/nvcompress there is Windows binary and working but i can`t find information how to use it?
I use Ortho4XP 1.20b on Windows 10 running via Ortho4XP_v120b.exe

Best Regards
TaKeN

MemoryError Ortho4XP 1.30 under Python 3.7

Just downloaded latest Ortho4XP 1.30 with Python 3.7, including the 37-versions of the libraries. Using Windows 10, latest.

When trying to generate the first tiles, I am confronted with a MemoryError, which halts the generation process, see below.

I note that during installation, I skipped installing Visual Studio Tools, because I was overwhelmed by the options and I did not know which ones to select. This is not a developer machine, but I might have installed something in the past.

Suggestions are much appreciated.

  • Raurits

D:\games\Ortho4XP-master>python Ortho4XP_v130.py
Exception in thread Thread-1:
Traceback (most recent call last):
File "C:\Users\Raurits\AppData\Local\Programs\Python\Python37-32\lib\threading.py", line 917, in _bootstrap_inner
self.run()
File "C:\Users\Raurits\AppData\Local\Programs\Python\Python37-32\lib\threading.py", line 865, in run
self._target(*self._args, **self._kwargs)
File ".\src\O4_Tile_Utils.py", line 130, in build_all
VMAP.build_poly_file(tile)
File ".\src\O4_Vector_Map.py", line 60, in build_poly_file
include_water(vector_map,tile)
File ".\src\O4_Vector_Map.py", line 303, in include_water
if not OSM.OSM_queries_to_OSM_layer(queries,water_layer,tile.lat,tile.lon,tags_of_interest,cached_suffix='water'):
File ".\src\O4_OSM_Utils.py", line 306, in OSM_queries_to_OSM_layer
osm_layer.update_dicosm(response,input_tags,target_tags)
File ".\src\O4_OSM_Utils.py", line 66, in update_dicosm
pfile=io.StringIO(osm_input.decode(encoding="utf-8"))
MemoryError

Idea APT Add

maybe you can add to the tool to generate the .apt files for the xplane include the real world object like real Airport tower , etc?

batch build doesn't care about custom zoom level areas

I didn't see in the manual if batch build should process it or not but according to this post it seems it doesn't work.

I prepared several tiles at base zoom level 16 and I defined few areas in these tiles with ZL18 and ZL19.

I made a batch build and all tiles have BI16.dds files only in textures folder.

So I selected one of these tiles and just hit All in one button in the main window.
Then BI18 and BI19 files where generated.

Would it be possible to also do that job in batch build?

Geoportail Server

Hi ! Is it possible to add the Geoportail server into Ortho4XP ? It looks like satellite imagery from Geoportail is the best for France :)

Allow several directories to be a symlink

Hi,

I need to have the tiles and osm data on a different base directory (or even in directories), but these directories are recreated even if a symlink with the same name exists.
Can you please add support for symlinks?

symlinks are not created on Windows10

As far as I understood here, v1.30 automatically generates symlink in the X-Plane's Custom Scenery.
Well not sure if it's a very good idea compare to the 1.20b feature but it's not the problem here.

I've defined my X-Plane's Custom Scenery path in the config and I've generated several tiles but no symlink are generated.

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.