richsmith / sexytopo

The SexyTopo cave surveying app for Android
GNU General Public License v3.0
29 stars 13 forks source link

Svg export #202

Open rsevero opened 8 months ago

rsevero commented 8 months ago

Grouping paths and texts by color in SVG export.

Begining of inclusion of shots, splays and stations in SVG file.

rsevero commented 8 months ago

I would like to add legs, splays and stations in SVG exported files. They would be grouped so anybody that isn't interested in them can easily remove this extra info.

I got up to the point where I have a leg and stations list but I can't see how to convert the azimuth/inclination/lenght data to the coordinates space that I should use in SVG files.

I believe I need to use a "Space" but can't figure out how to create it, with which parameters, etc.

Can you point me in the right direction?

richsmith commented 8 months ago

Hi Rodrigo

I would like to add legs, splays and stations in SVG exported files. They would be grouped so anybody that isn't interested in them can easily remove this extra info.

Thanks for the PR, but I'm unlikely to merge this. I've already written some code to handle survey data export - I'm intending this to be in the next version.

The next version will also have symbols, which is additional SVG export to handle.

Rich

rsevero commented 8 months ago

Thanks for the PR, but I'm unlikely to merge this. I've already written some code to handle survey data export - I'm intending this to be in the next version.

The next version will also have symbols, which is additional SVG export to handle.

Well, what a pity.

Release early, release often seems as a good strategy to save redundant work.

richsmith commented 8 months ago

Thanks for the PR, but I'm unlikely to merge this. I've already written some code to handle survey data export - I'm intending this to be in the next version. The next version will also have symbols, which is additional SVG export to handle.

Well, what a pity.

Release early, release often seems as a good strategy to save redundant work.

If you look at the readme: https://github.com/richsmith/sexytopo

"If you are interested in contributing code (yay), I'd ideally prefer it if you talk to me before committing. I (or someone) might already be working on that feature, or there might be some other reason why your idea hasn't made it in yet. I'm likely to be enthusiastic"

This is also a good strategy to follow to save redundant work.

Releasing early is great, but only if I've had time to finish it.

rsevero commented 8 months ago

You are right. My bad.

richsmith commented 8 months ago

Thanks for understanding. Work has got in the way of my finishing the latest updates (symbols + export improvements). If you feel like you could improve the SVG export once that update is finished I would be very happy to consider contributions!