Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How convert xtf to shapefile or gpkg? #3

Open
CarvalhoResearch opened this issue Jan 16, 2021 · 7 comments
Open

How convert xtf to shapefile or gpkg? #3

CarvalhoResearch opened this issue Jan 16, 2021 · 7 comments

Comments

@CarvalhoResearch
Copy link

No description provided.

@shamrin
Copy link
Owner

shamrin commented Jan 18, 2021

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.

@shamrin
Copy link
Owner

shamrin commented Jan 18, 2021

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

@shamrin
Copy link
Owner

shamrin commented Jan 18, 2021

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.

@CarvalhoResearch
Copy link
Author

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

@shamrin
Copy link
Owner

shamrin commented Jan 18, 2021

@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 :)

@shamrin
Copy link
Owner

shamrin commented Jan 18, 2021

See also #4 and PR #5

@CarvalhoResearch
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants