SVG export unusable

10 views
Skip to first unread message

Garry Petrie

unread,
Jun 5, 2025, 2:00:41 PMJun 5
to topo...@googlegroups.com
I had problems with this drawing, at one point, nothing was viewable. The, "Zoom to Fit" function was spotty, at best. There is some object away from the cave drawing that can't be seen, I guess. The SVG file will open in Chrome and Illustrator, but the scale is so large no object can be seen or selected. The SVG file is completely unusable and I have to restore to a  screen capture.
Three_Doors_Down.zip
Three_Doors_Down-1p.svg
Screenshot_20250605_104716_TopoDroid-X.jpg

Balambér Hakapesz

unread,
Jun 5, 2025, 2:22:01 PMJun 5
to topo...@googlegroups.com
Screenshot_20250605_201736_TopoDroid-X.jpg

On Thu, Jun 5, 2025 at 8:00 PM Garry Petrie <dynam...@gmail.com> wrote:
I had problems with this drawing, at one point, nothing was viewable. The, "Zoom to Fit" function was spotty, at best. There is some object away from the cave drawing that can't be seen, I guess. The SVG file will open in Chrome and Illustrator, but the scale is so large no object can be seen or selected. The SVG file is completely unusable and I have to restore to a  screen capture.

--
You received this message because you are subscribed to the Google Groups "TopoDroid" group.
To unsubscribe from this group and stop receiving emails from it, send an email to topodroid+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/topodroid/CANbKGSPEvwkroPOYOh62QnWUeyh%3DjjL6nVE_kyB2dhypN5RrHw%40mail.gmail.com.
Three_Doors_Down-1p.svg

Garry Petrie

unread,
Jun 5, 2025, 2:36:52 PMJun 5
to topo...@googlegroups.com
Did you produce the file from Topodroid using the SVG "round trip" setting? Opening in Illustrator came with a caution dialog.

I certainly went through 4 or 5 attempts at a work-around, nothing points to a root cause.
image.png

Balambér Hakapesz

unread,
Jun 5, 2025, 2:44:14 PMJun 5
to topo...@googlegroups.com
image.png
Inkscape screen.
Delete the two distant lines from the drawing, then the export will work.

B.


Balambér Hakapesz

unread,
Jun 5, 2025, 2:46:46 PMJun 5
to topo...@googlegroups.com
1:200, without roundtrip
Three_Doors_Down-1p.svg

Garry Petrie

unread,
Jun 5, 2025, 3:09:27 PMJun 5
to topo...@googlegroups.com
I knew IF I could find the extra items and delete them, it would be fine. However, finding them inside Topodroid is problematic.

Another drawing program, other than Illustrator might have been able to edit the SVG, but Illustrator does not have infinite space.

Marco Corvi

unread,
Jun 5, 2025, 3:23:24 PMJun 5
to topo...@googlegroups.com
you can scale the sketch in topodroid until you see the extra items, and then select and delete them from the sketch.

i wonder why they came into the sketch ?



p0.png

Garry Petrie

unread,
Jun 5, 2025, 3:50:48 PMJun 5
to topo...@googlegroups.com
Scaling doesn't help because the objects are so small they are filtered from the view. There's no area selection in topodroid, i.e. draw box around objects, correct?

This has happened to me twice. I exited the cave in bright sunshine and I can't see the display. Then, some hand gestures cause the scale to change and accidentally drop an object onto the screen at a random location. 

Marco Corvi

unread,
Jun 5, 2025, 4:11:57 PMJun 5
to topo...@googlegroups.com


On Thu, Jun 5, 2025, 21:50 Garry Petrie <dynam...@gmail.com> wrote:
Scaling doesn't help because the objects are so small they are filtered from the view.
see attached screenshot
(for points use select mode)

There's no area selection in topodroid, i.e. draw box around objects, correct?
no

This has happened to me twice. I exited the cave in bright sunshine and I can't see the display. Then, some hand gestures cause the scale to change and accidentally drop an object onto the screen at a random location.
so, the app did what it was expected to do.

Garry Petrie

unread,
Jun 5, 2025, 4:50:54 PMJun 5
to topo...@googlegroups.com
Don't see attached screenshot. Now, if completing random actions as "expected" is desirable, the appeal of AI is understandable. Don't blame the victim, offer a solution. 

Marco Corvi

unread,
Jun 6, 2025, 4:16:05 AMJun 6
to topo...@googlegroups.com


On Thu, Jun 5, 2025, 22:50 Garry Petrie <dynam...@gmail.com> wrote:
Don't see attached screenshot.
it is a few mails ago.

Now, if completing random actions as "expected" is desirable, the appeal of AI is understandable.
for the software, the user inputs are not random actions, but precise commands.

Don't blame the victim, offer a solution.
if one shoots himself in the foot, he is not a "victim".

solution (0) is to use the device when you see what you are doing. this is a fault of android: it takes inputs even if the display cannot be (properly) seen. it happens with all apps, not just topodroid.
with topodroid the worst that can happen is a unusable sketch.
with mail and browser it may be a lot worse.

for topodroid:
solution (1) is to copy the good sketch into a new sketch.

solution (2) is to zoom out enough to delete the spurious items.

solution (3) - possibly not implemented: i dont remember if the zoom-fit is computed using only the survey data or also the sketch data.
it is likely it does not use sketch data.
a checkbox to use also sketch data might be added.


Marco Corvi

unread,
Jun 6, 2025, 10:20:33 AMJun 6
to topo...@googlegroups.com
i remembered wrong:
zoom to fit, uses sketch data already.
but there was a lower bound which is about 1000 times what was necessary to see the spurious lines.

there is another solution (4)
undo some sketch item until zoomfit brings the sketch back to a "reasonable" size.

in conclusion there were already three ways to address the problem, not considering solution (3) which worked only if followed by (2).

that said, the most important thing to remember is not to tap on the screen if you do not see what you are doing

Garry Petrie

unread,
Jun 6, 2025, 3:12:01 PMJun 6
to topo...@googlegroups.com
For background, I have been using Topodroid since 2017 and have completed well over 1000 surveys and drawn hundreds of maps. I don't need moronic advice like, " remember is not to tap on the screen if you do not see what you are doing." The software needs to be robust enough to take some random poking, with adequate debugging methods.

I generally don't like coming to this forum due to the attitude and bugs that are never addressed. For example:
image.png
Here we are in Overview mode and my measurement in the lower left, with the scale bar showing is 10ft. The top status line says it's 5ft.

The Zoom - Fit dialog is a disaster. If you are zoomed out very far and press the opposite direction arrow, the image will not rotate about the center of the current view, plus it changes the scale. I have no idea why the scale choice drop down list is present in this dialog. If you select any of the ratios, the view is converted to metric (sadly we still use English units) and the pinch and zoom function is disabled. The only return is to select the "---" option back in the same dialog, like that was obvious.

In the current case, Three Doors Down, getting the view to display anything of the drawing was hit-or-miss and I couldn't resolve a consistent set of gestures to repeat. But here's the view of the extra content:
image.png
The objects are over 500km (or 1000km considering the aforementioned bug) away from the cave and obviously was caused by more than one bad finger point.

So please, don't tell me to be careful, Dad.

Garry Petrie

Marco Corvi

unread,
Jun 6, 2025, 4:51:52 PMJun 6
to topo...@googlegroups.com
On Fri, Jun 6, 2025 at 9:12 PM Garry Petrie <dynam...@gmail.com> wrote:
For background, I have been using Topodroid since 2017 and have completed well over 1000 surveys and drawn hundreds of maps. I don't need moronic advice like, " remember is not to tap on the screen if you do not see what you are doing." The software needs to be robust enough to take some random poking, with adequate debugging methods.

I generally don't like coming to this forum due to the attitude and bugs that are never addressed. For example:
image.png
Here we are in Overview mode and my measurement in the lower left, with the scale bar showing is 10ft. The top status line says it's 5ft.

the number is 4.98
the manual says that the units are the current grid cell unit.
therefore your segment is almost 5 cells.

the manual should say that the grid cell is the default unit.
it does not mention in the same page that it is possible to set other units for measurements
it says that in another page, however.


The Zoom - Fit dialog is a disaster. If you are zoomed out very far and press the opposite direction arrow, the image will not rotate about the center of the current view, plus it changes the scale. I have no idea why the scale choice drop down list is present in this dialog. If you select any of the ratios, the view is converted to metric

graph-paper is only in metric, as stated in the manual. 
 
(sadly we still use English units)

indeed it is very sad.
for you.
 
and the pinch and zoom function is disabled.

of course you cannot pinch/zoom a sheet of paper.

The only return is to select the "---" option back in the same dialog, like that was obvious.
 
at this point you might wonder what's the use of graph-paper:
to me it is no use (and i do not use it indeed).
but some users had a different opinion.
so it is there.
the program does not include only what one likes and uses.



In the current case, Three Doors Down, getting the view to display anything of the drawing was hit-or-miss and I couldn't resolve a consistent set of gestures to repeat. But here's the view of the extra content:
image.png
The objects are over 500km (or 1000km considering the aforementioned bug)
 
the size in the svg export is about 3000x4000 km 
so the estimate of 1000 km is reasonable.
 
away from the cave and obviously was caused by more than one bad finger point.
about ten pinch actions should do it. 
(exponential grows very fast)

So please, don't tell me to be careful, Dad.
 
right: a zoom of 1000 and more requires some attention. 

Garry Petrie

unread,
Jun 6, 2025, 5:18:50 PMJun 6
to topo...@googlegroups.com
THIS

"the number is 4.98
the manual says that the units are the current grid cell unit.
therefore your segment is almost 5 cells."

is the worst excuse yet and the idea is completely useless.

On top of that, I hear I am not alone in considering, "the program does not include only what one likes and uses." Like duh and the fact doesn't make it better.

I am done here and going back to my cave, no recommendation from me.

Garry Petrie, at home in the only country that has landed people on the moon, using English units no less.

image.png

Balambér Hakapesz

unread,
Jun 7, 2025, 12:05:55 AMJun 7
to topo...@googlegroups.com
Dear Marco and Gerry!

I think this discussion is useful, but no one should be offended.
Garry is the best tester because he uses the program a lot.
Marco is the best developer because he solved the problem raised the day before yesterday (zoom limit) yesterday
(Commit 8f11d39 marcocorvi committed 14 hours ago zoom-fit minimum bound).
Yes, not everyone needs to use all the functions of the program:
I don't use the different units of measurement either, so I can't test them. But I helped improve the operation of the graph paper function, although I also think it's pointless to use it on one screen. Or rather, it's not pointless, it's only used very rarely and by few people.
But it was fun, and I even made a version for myself that puts the grid together from dashed lines. Programming is fun, if you don't get scolded for it.
Eternal gratitude to Marco for that.
USA will launch the third (fourth) Hungarian astronaut tomorrow (or in three days or never), if the bosses don't fight.
It would be nice if there was someone in America who would help with the development.
I sweated blood when I had to test the SHP output with the US local coordinate system.
I will continue to be happy to help solve the problems!

https://www.space.com/3332-nasa-finally-metric.html
By Space.com Staff published January 8, 2007
- I meant this as a joke, no offense to anyone!

Balázs.

Stephen Fordyce

unread,
Jun 7, 2025, 1:34:23 AMJun 7
to topo...@googlegroups.com
Garry, pull your head in.  In case you haven't noticed, the rest of the world is sick of Americans acting like a bunch of galahs, and it's not going to help your cause.

Marco, thanks again for your past, present and hopefully future efforts in developing Topodroid.  Your patience in still actually replying to Garry in a civil (well, mostly) way is admirable.

Regards,
Stephen Fordyce
(Topodroid user since 2016, based in Melbourne, Australia)

Reply all
Reply to author
Forward
0 new messages