This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
AvNav implementation in OP2
#29
(2021-03-29, 09:55 AM)wellenvogel Wrote:
Quote:The quilted view is a problem.
@Littlechay: do you really also see this on Windows? I made some quick tests with a subset on Windows - and do not have this issue at all.
It seems to be related to some new GDAL version - but should not be there on Windows.
When you use the chart just be sure to copy all parts of the created gemf to the AvNav server. Uploading inside the app will not work for multi part gemf.
But I guess I will change the size limit so that you will get bigger gemf's in one chunk.

Ok, after some final checks:
1. I guess the problem with the quilted view should not be there for you except if you run a GDAL version between 3.0 and 3.1.1.
2. If you run from the GUI there should be one gemf at the end
3. The remaining problem are charts that cross 180 - but the set seems to be usable after conversion


Best regards
Andreas

I'm not sure about the quilted issue on windows.. I meant that it would be a problem in general. I have not managed to produce a set to quilt yet. 

I stripped the BSB files etc out as you suggested and tried to run a conversion on the whole set and got this output in the converter window.

Code:
C:\Users\tweed\AvNavCharts\nz3\work\BSB_ROOT\basetiles\NZ1490604.vrt -> C:\Users\tweed\AvNavCharts\nz3\work\BSB_ROOT\basetiles/NZ1490604.zxy .................
2021/03/29-23:37:03 creating base tiles for C:\Users\tweed\AvNavCharts\nz3\work\BSB_ROOT\basetiles\NZ1490604.vrt finished

2021/03/29-23:37:03 creating base tiles for C:\Users\tweed\AvNavCharts\nz3\work\BSB_ROOT\basetiles\NZ615501.vrt at zoom level 15
2021/03/29-23:37:03 running C:\Users\tweed\AppData\Local\avnav\python\python.exe C:\Users\tweed\AppData\Local\avnav\chartconvert\tiler_tools\gdal_tiler.py -c -t C:\Users\tweed\AvNavCharts\nz3\work\BSB_ROOT\basetiles -p zxy -z 15 C:\Users\tweed\AvNavCharts\nz3\work\BSB_ROOT\basetiles\NZ615501.vrt
Traceback (most recent call last):
 File "C:\Users\tweed\AppData\Local\avnav\chartconvert\tiler_tools\gdal_tiler.py", line 1448, in <module>
C:\Users\tweed\AvNavCharts\nz3\work\BSB_ROOT\basetiles\NZ615501.vrt -> C:\Users\tweed\AvNavCharts\nz3\work\BSB_ROOT\basetiles/NZ615501.zxy ....................
   main(sys.argv)

 File "C:\Users\tweed\AppData\Local\avnav\chartconvert\tiler_tools\gdal_tiler.py", line 1441, in main
   parallel_map(proc_src,sources)
 File "C:\Users\tweed\AppData\Local\avnav\chartconvert\tiler_tools\tiler_functions.py", line 70, in parallel_map
   return list(map(func,iterable))
 File "C:\Users\tweed\AppData\Local\avnav\chartconvert\tiler_tools\gdal_tiler.py", line 1350, in proc_src
   cls(src,dest,options).walk_pyramid()
 File "C:\Users\tweed\AppData\Local\avnav\chartconvert\tiler_tools\gdal_tiler.py", line 779, in walk_pyramid
   self.write_tilemap()
 File "C:\Users\tweed\AppData\Local\avnav\chartconvert\tiler_tools\gdal_tiler.py", line 931, in write_tilemap
   open(os.path.join(self.dest,'tilemap.xml'),'w').write(tilemap_txt)
 File "D:\obj\windows-release\37amd64_Release\msi_python\zip_amd64\cp1252.py", line 19, in encode
***Converter finished ***
UnicodeEncodeError: 'charmap' codec can't encode character '\x96' in position 271: character maps to <undefined>
2021/03/29-23:37:09 ERROR: Traceback (most recent call last):
 File "C:\Users\tweed\AppData\Local\avnav\chartconvert\read_charts.py", line 1786, in <module>
   main(sys.argv)
 File "C:\Users\tweed\AppData\Local\avnav\chartconvert\read_charts.py", line 1747, in main
   generateAllBaseTiles(outdir,mercator)
 File "C:\Users\tweed\AppData\Local\avnav\chartconvert\read_charts.py", line 1332, in generateAllBaseTiles
   generateBaseTiles(chartEntry,outdir)
 File "C:\Users\tweed\AppData\Local\avnav\chartconvert\read_charts.py", line 1322, in generateBaseTiles
   raise Exception("unable to convert chart "+chartEntry.filename)
Exception: unable to convert chart C:\Users\tweed\AvNavCharts\nz3\work\BSB_ROOT\basetiles\NZ615501.vrt

ERROR: Traceback (most recent call last):
 File "C:\Users\tweed\AppData\Local\avnav\chartconvert\read_charts.py", line 1786, in <module>
   main(sys.argv)
 File "C:\Users\tweed\AppData\Local\avnav\chartconvert\read_charts.py", line 1747, in main
   generateAllBaseTiles(outdir,mercator)
 File "C:\Users\tweed\AppData\Local\avnav\chartconvert\read_charts.py", line 1332, in generateAllBaseTiles
   generateBaseTiles(chartEntry,outdir)
 File "C:\Users\tweed\AppData\Local\avnav\chartconvert\read_charts.py", line 1322, in generateBaseTiles
   raise Exception("unable to convert chart "+chartEntry.filename)
Exception: unable to convert chart C:\Users\tweed\AvNavCharts\nz3\work\BSB_ROOT\basetiles\NZ615501.vrt
2021/03/29-23:37:09 ERROR: conversion failed

I have attached the .vrt files in a zip
and the log file (delete the .doc on the end )

Cheers
Chris


Attached Files
.doc   avnav-chartconvert.log.doc (Size: 278.53 KB / Downloads: 193)
.zip   basetiles.zip (Size: 852.51 KB / Downloads: 182)
Reply


Messages In This Thread
AvNav implementation in OP2 - by Max1947 - 2020-05-12, 05:55 PM
RE: AvNav implementation in OP2 - by Sailoog - 2020-05-12, 06:11 PM
RE: AvNav implementation in OP2 - by holgerw - 2020-05-13, 12:23 AM
RE: AvNav implementation in OP2 - by holgerw - 2020-05-13, 07:44 AM
RE: AvNav implementation in OP2 - by BlackSea - 2020-05-13, 08:41 AM
RE: AvNav implementation in OP2 - by Sailoog - 2020-05-13, 11:14 AM
RE: AvNav implementation in OP2 - by BlackSea - 2020-05-13, 11:52 AM
RE: AvNav implementation in OP2 - by BlackSea - 2020-05-14, 08:58 PM
RE: AvNav implementation in OP2 - by Max1947 - 2020-05-14, 10:39 PM
openplotter-avnav 2.0.2 - by BlackSea - 2020-06-10, 07:47 PM
RE: AvNav implementation in OP2 - by wellenvogel - 2020-07-10, 05:26 PM
RE: AvNav implementation in OP2 - by BlackSea - 2020-11-10, 09:22 AM
RE: AvNav implementation in OP2 - by SkipperEarly - 2020-11-10, 11:09 AM
RE: AvNav implementation in OP2 - by wellenvogel - 2020-11-10, 11:40 AM
RE: AvNav implementation in OP2 - by SkipperEarly - 2020-11-11, 08:57 AM
RE: AvNav implementation in OP2 - by wellenvogel - 2020-11-11, 09:06 AM
RE: AvNav implementation in OP2 - by SkipperEarly - 2020-12-03, 08:05 AM
RE: AvNav implementation in OP2 - by wellenvogel - 2020-12-03, 09:23 AM
RE: AvNav implementation in OP2 - by BlackSea - 2020-12-06, 11:06 AM
RE: AvNav implementation in OP2 - by Littlechay - 2021-03-27, 12:25 PM
RE: AvNav implementation in OP2 - by wellenvogel - 2021-03-27, 12:34 PM
RE: AvNav implementation in OP2 - by Littlechay - 2021-03-27, 09:58 PM
RE: AvNav implementation in OP2 - by BlackSea - 2021-03-28, 09:37 PM
RE: AvNav implementation in OP2 - by Littlechay - 2021-03-29, 01:01 AM
RE: AvNav implementation in OP2 - by wellenvogel - 2021-03-27, 08:17 PM
RE: AvNav implementation in OP2 - by Littlechay - 2021-03-28, 10:34 AM
RE: AvNav implementation in OP2 - by wellenvogel - 2021-03-29, 08:11 AM
RE: AvNav implementation in OP2 - by wellenvogel - 2021-03-29, 09:55 AM
RE: AvNav implementation in OP2 - by Littlechay - 2021-03-29, 11:53 AM
RE: AvNav implementation in OP2 - by wellenvogel - 2021-03-29, 12:08 PM
RE: AvNav implementation in OP2 - by Littlechay - 2021-03-29, 08:24 PM
RE: AvNav implementation in OP2 - by wellenvogel - 2021-03-29, 05:38 PM
RE: AvNav implementation in OP2 - by Littlechay - 2021-04-03, 11:00 AM
RE: AvNav implementation in OP2 - by wellenvogel - 2021-04-03, 01:32 PM
RE: AvNav implementation in OP2 - by Littlechay - 2021-04-06, 12:15 AM
RE: AvNav implementation in OP2 - by wellenvogel - 2021-04-06, 08:48 AM
RE: AvNav implementation in OP2 - by Littlechay - 2021-04-06, 08:51 AM
RE: AvNav implementation in OP2 - by Kukel - 2021-04-26, 07:16 PM
RE: AvNav implementation in OP2 - by Kukel - 2021-04-26, 07:29 PM
RE: AvNav implementation in OP2 - by wellenvogel - 2021-04-27, 07:17 PM
RE: AvNav implementation in OP2 - by pjsf1000 - 2022-02-11, 11:33 AM
RE: AvNav implementation in OP2 - by wellenvogel - 2022-02-11, 12:30 PM
RE: AvNav implementation in OP2 - by pjsf1000 - 2022-02-11, 03:04 PM
RE: AvNav implementation in OP2 - by wellenvogel - 2022-02-11, 09:37 PM
RE: AvNav implementation in OP2 - by pjsf1000 - 2022-02-11, 09:52 PM
RE: AvNav implementation in OP2 - by wellenvogel - 2022-02-11, 10:00 PM
RE: AvNav implementation in OP2 - by pjsf1000 - 2022-02-15, 05:51 PM
RE: AvNav implementation in OP2 - by SCarns - 2022-02-12, 08:08 PM
RE: AvNav implementation in OP2 - by wellenvogel - 2022-02-12, 09:41 PM
RE: AvNav implementation in OP2 - by wellenvogel - 2022-02-15, 08:51 PM
RE: AvNav implementation in OP2 - by BlackSea - 2022-02-16, 07:57 AM
RE: AvNav implementation in OP2 - by pjsf1000 - 2022-02-16, 04:33 PM
RE: AvNav implementation in OP2 - by BlackSea - 2022-02-16, 06:47 PM
RE: AvNav implementation in OP2 - by wellenvogel - 2022-02-16, 09:23 PM
RE: AvNav implementation in OP2 - by pjsf1000 - 2022-02-22, 05:53 PM
RE: AvNav implementation in OP2 - by wellenvogel - 2022-02-22, 10:28 PM
RE: AvNav implementation in OP2 - by pjsf1000 - 2022-02-23, 10:54 AM
RE: AvNav implementation in OP2 - by wellenvogel - 2022-02-23, 06:29 PM
RE: AvNav implementation in OP2 - by Sailoog - 2022-03-01, 08:06 PM
RE: AvNav implementation in OP2 - by wellenvogel - 2022-03-01, 08:08 PM
RE: AvNav implementation in OP2 - by Sailoog - 2022-03-01, 08:24 PM
RE: AvNav implementation in OP2 - by pjsf1000 - 2022-03-02, 01:32 PM
RE: AvNav implementation in OP2 - by BlackSea - 2022-03-03, 05:07 AM
RE: AvNav implementation in OP2 - by wellenvogel - 2022-03-03, 09:34 AM
RE: AvNav implementation in OP2 - by pjsf1000 - 2022-03-03, 12:09 PM
RE: AvNav implementation in OP2 - by wellenvogel - 2022-03-09, 08:36 PM
RE: AvNav implementation in OP2 - by MigGat - 2022-03-19, 09:11 AM
RE: AvNav implementation in OP2 - by MigGat - 2022-03-19, 11:54 AM
RE: AvNav implementation in OP2 - by BlackSea - 2022-03-19, 11:54 AM
RE: AvNav implementation in OP2 - by wellenvogel - 2022-03-19, 02:39 PM
RE: AvNav implementation in OP2 - by MigGat - 2022-03-20, 08:39 AM
RE: AvNav implementation in OP2 - by wellenvogel - 2022-03-20, 09:20 AM
RE: AvNav implementation in OP2 - by MigGat - 2022-03-20, 09:35 AM
RE: AvNav implementation in OP2 - by wellenvogel - 2022-03-28, 05:58 PM
RE: AvNav implementation in OP2 - by MigGat - 2022-04-12, 07:30 PM
RE: AvNav implementation in OP2 - by wellenvogel - 2022-04-12, 07:41 PM
RE: AvNav implementation in OP2 - by MigGat - 2022-04-12, 08:28 PM
RE: AvNav implementation in OP2 - by wellenvogel - 2022-04-13, 08:22 AM
RE: AvNav implementation in OP2 - by wellenvogel - 2022-04-13, 08:27 PM
RE: AvNav implementation in OP2 - by MigGat - 2022-04-13, 09:26 PM
RE: AvNav implementation in OP2 - by wellenvogel - 2022-04-14, 06:12 PM
RE: AvNav implementation in OP2 - by wellenvogel - 2022-04-21, 06:09 PM
RE: AvNav implementation in OP2 - by MigGat - 2022-05-21, 08:47 AM
RE: AvNav implementation in OP2 - by wellenvogel - 2022-05-21, 11:39 AM
RE: AvNav implementation in OP2 - by MigGat - 2022-05-21, 07:27 PM
RE: AvNav implementation in OP2 - by wellenvogel - 2022-05-21, 09:41 PM
RE: AvNav implementation in OP2 - by pjsf1000 - 2022-06-22, 11:00 AM
RE: AvNav implementation in OP2 - by pjsf1000 - 2022-06-22, 04:32 PM
RE: AvNav implementation in OP2 - by BlackSea - 2022-06-22, 07:15 PM
RE: AvNav implementation in OP2 - by wellenvogel - 2022-06-22, 07:17 PM
RE: AvNav implementation in OP2 - by pjsf1000 - 2022-06-22, 08:18 PM
RE: AvNav implementation in OP2 - by pjsf1000 - 2022-06-26, 01:53 PM
RE: AvNav implementation in OP2 - by wellenvogel - 2022-06-26, 06:47 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)