shamrin / pyxtf

View and convert eXtended Triton Format (XTF) files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How convert xtf to shapefile or gpkg?

CarvalhoResearch opened this issue · comments

Hi @CarvalhoResearch! My TLDR answer is "I don't know", because I haven't heard about shapefile or gpkg before this.

However, I did a brief look at shapefile article on Wikipedia. I believe implementing "shapefile" requires implementing something called "side-scan mosaic", which pyxtf doesn't have. Mosaic means laying side-scan picture on the track. It shouldn't be too hard to implement:

  1. make a track according to XTF traces coordinations
  2. do some simple image processing to make the side scan picture follow this track

But, I'm no longer working on pyxtf. So it's not going to me implementing the above :) Here are your options:

  1. Use commercial solution, e.g. SonarWiz, which worked quite nicely if I remember correctly from years ago.
  2. Experiment with open source software like MB-System. I haven't used it.
  3. Fork pyxtf and try to implement needed functionality yourself.
  4. Contribute to pyxtf directly. I can try to assist with advice or code reviews.

Do you have side-scan or sub-bottom data?

My first comment was about side-scan. Then I've realized that I've never used this software for side-scan, only for sub-bottom.

hello, thanks for your reply and the package, as it is currently the only option to read xtf in python. Yes, my data is side-scan. I will try to implement something and if I can contribute here

@CarvalhoResearch:

it is currently the only option to read xtf in python

Are you sure? Quick "python xtf" search gave me a few options. For example: https://github.com/oysstu/pyxtf

It's unfortunate that at least three Python XTF implementations are called "pyxtf", including this one :)

See also #4 and PR #5

yes, thanks for publicizing and sorry for the confusion. also has this https://github.com/pktrigg/pyxtf