Presenting Mapiah, a multi-platform, more friendly, modern and performant graphical interface for Therion
Presenting Mapiah. Mapiah is my take on a multi-platform, more friendly, modern and performant graphical interface for Therion. It's written in C++/Qt. It aims to be as compatible as practical and possible with XTherion. This is the "proof-of-concept" release. It's source code and it's releases files can be found at the projects home at SourceForge: https://sourceforge.net/projects/mapiah/ Please let me know what you think about it, if it has any future, if you want to help. *The name* Mapiah is a international friendly version of the portuguese word "mapear" on the sentence "vamos mapear?" - "let's go surveying?" or "let's go mapping?" - which is usually pronounced [vʌmu mapi'a]. *Multi-platform* Right now we have both Linux and Windows releases as these are the OSs I have access and minimal experience with. Until some Mac user steps up, that's the way it's gonna be. Having said that, the idea is to follow best practices during Mapiah's development to ease the release process on all target platforms: Linux, Windows and Mac. *The C++/Qt choices* Going backwards, the Qt framework was chosen as it has an open source compatible version. It's mature, powerful and seems to take multi-platform support seriously. The first idea was to use Qt Python as the "friendly" requirement could also be applied to the language chosen but in the end I decided to go with C++ because I believe that a C++ application might be more easily distributable across all platforms. *The "proof-of-concept" release* The basic reading and writing functionality supposely is th concept being proved in this release. Supposely because the actual concept I am trying to prove myself with this release is that I can write functional and decent C++/Qt code which, for the time being, is kinda proved. *Functionality* This 0.0.1 release can read a TH2 file, present it on the screen and save it. With an open file you can change the zoom level and write the file again. You should be able to see your TH2 file on screen correctly and the saved file should be functionally identical to the original one. All point, line, area, scrap and XTHERION options should be properly read and saved even if most aren't actually understood/acted upon. *License* This software is licensed under GPL 3 or later. *WARNINGS* PLEASE TEST! DON'T OVERRIDE YOUR ORIGINAL FILE WITH THE ONE WRITTEN BY MAPIAH!! THIS IS A PRE-ALPHA VERSION!!! Regards, Rodrigo Severo
Interesting idea. 1. I can confirm it installs OK in Windows. 2. It does install by default in my data folder, which seems undesirable. 3. It opened a th2 file, but did not show the background image (PocketTopo xvi) 4. ‘Save th2 As’ wanted to save in the install folder, and not in the folder of the opened file. 5. There is no ‘Save’ button. 6. Comparing the saved file with the original file results in significant change, although mostly just chopping decimal places (probably to something more reasonable). 7. Object ids are dropped (see red mark above) 8. The th2 file when opened with XTherion has the background image offset form the scrap that were drawn over it. Apart from point 1 above, my other points are not so relevant at this stage. I am quite happy with XTherion, but acknowledge that a better interface and functionality could become compelling quite easily. I will watch with interest. Bruce -----Original Message----- From: Therion <therion-bounces@speleo.sk> On Behalf Of Rodrigo Severo via Therion Sent: Monday, 15 November 2021 12:43 To: therion <therion@speleo.sk> Cc: rsev@protonmail.com Subject: [Therion] Presenting Mapiah, a multi-platform, more friendly, modern and performant graphical interface for Therion Presenting Mapiah. Mapiah is my take on a multi-platform, more friendly, modern and performant graphical interface for Therion. It's written in C++/Qt. It aims to be as compatible as practical and possible with XTherion. This is the "proof-of-concept" release. It's source code and it's releases files can be found at the projects home at SourceForge: <https://sourceforge.net/projects/mapiah/> https://sourceforge.net/projects/mapiah/ Please let me know what you think about it, if it has any future, if you want to help. <snipped> Regards, Rodrigo Severo _______________________________________________ Therion mailing list <mailto:Therion@speleo.sk> Therion@speleo.sk <https://mailman.speleo.sk/listinfo/therion> https://mailman.speleo.sk/listinfo/therion
XTherion has gone a long way since I started using it many years ago, but it does still have lot that could be improved, I'll watch with interest. On Ubuntu 20.04.3 LTS the appimage gives the following error /tmp/.mount_MapiahDdZUik/AppRun.wrapped: error while loading shared libraries: libOpenGL.so.0: cannot open shared object file: No such file or directory I was only having a quick look, this makes it a bigging job, so have not looked further into this thanks Andrew On 15/11/2021 03:55, Bruce Mutton wrote:
Interesting idea.
1. I can confirm it installs OK in Windows. 2. It does install by default in my data folder, which seems undesirable. 3. It opened a th2 file, but did not show the background image (PocketTopo xvi) 4. ‘Save th2 As’ wanted to save in the install folder, and not in the folder of the opened file. 5. There is no ‘Save’ button. 6. Comparing the saved file with the original file results in significant change, although mostly just chopping decimal places (probably to something more reasonable).
7. Object ids are dropped (see red mark above) 8. The th2 file when opened with XTherion has the background image offset form the scrap that were drawn over it.
Apart from point 1 above, my other points are not so relevant at this stage.
I am quite happy with XTherion, but acknowledge that a better interface and functionality could become compelling quite easily.
I will watch with interest.
Bruce
-----Original Message----- From: Therion <therion-bounces@speleo.sk> On Behalf Of Rodrigo Severo via Therion Sent: Monday, 15 November 2021 12:43 To: therion <therion@speleo.sk> Cc: rsev@protonmail.com Subject: [Therion] Presenting Mapiah, a multi-platform, more friendly, modern and performant graphical interface for Therion
Presenting Mapiah.
Mapiah is my take on a multi-platform, more friendly, modern and performant graphical interface for Therion. It's written in C++/Qt. It aims to be as compatible as practical and possible with XTherion.
This is the "proof-of-concept" release.
It's source code and it's releases files can be found at the projects home at SourceForge: <https://sourceforge.net/projects/mapiah/> https://sourceforge.net/projects/mapiah/
Please let me know what you think about it, if it has any future, if you want to help.
<snipped>
Regards,
Rodrigo Severo
_______________________________________________
Therion mailing list
<mailto:Therion@speleo.sk> Therion@speleo.sk
<https://mailman.speleo.sk/listinfo/therion> https://mailman.speleo.sk/listinfo/therion
_______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
Hi, Just for information : I downloaded the .AppImage to install it on my MacOs 10.14. But I get this error : « 09:02:31 [robertxa1@ist-158.home ~/Downloads]$ ./Mapiah-x86_64.AppImage -bash: ./Mapiah-x86_64.AppImage: cannot execute binary file » I made it executable, so this is not the problem. a « uname -a » give me « Darwin ist-158.home 18.7.0 Darwin Kernel Version 18.7.0: Tue Jun 22 19:37:08 PDT 2021; root:xnu-4903.278.70~1/RELEASE_X86_64 x86_64 ». If you need further info, do not hesitate to ask ! Cheers, Xavier
Le 15 nov. 2021 à 09:05, Andrew Atkinson <andrew@wotcc.org.uk> a écrit :
XTherion has gone a long way since I started using it many years ago, but it does still have lot that could be improved, I'll watch with interest.
On Ubuntu 20.04.3 LTS the appimage gives the following error
/tmp/.mount_MapiahDdZUik/AppRun.wrapped: error while loading shared libraries: libOpenGL.so.0: cannot open shared object file: No such file or directory
I was only having a quick look, this makes it a bigging job, so have not looked further into this
thanks
Andrew
On 15/11/2021 03:55, Bruce Mutton wrote:
Interesting idea. 1. I can confirm it installs OK in Windows. 2. It does install by default in my data folder, which seems undesirable. 3. It opened a th2 file, but did not show the background image (PocketTopo xvi) 4. ‘Save th2 As’ wanted to save in the install folder, and not in the folder of the opened file. 5. There is no ‘Save’ button. 6. Comparing the saved file with the original file results in significant change, although mostly just chopping decimal places (probably to something more reasonable). 7. Object ids are dropped (see red mark above) 8. The th2 file when opened with XTherion has the background image offset form the scrap that were drawn over it. Apart from point 1 above, my other points are not so relevant at this stage. I am quite happy with XTherion, but acknowledge that a better interface and functionality could become compelling quite easily. I will watch with interest. Bruce -----Original Message----- From: Therion <therion-bounces@speleo.sk> On Behalf Of Rodrigo Severo via Therion Sent: Monday, 15 November 2021 12:43 To: therion <therion@speleo.sk> Cc: rsev@protonmail.com Subject: [Therion] Presenting Mapiah, a multi-platform, more friendly, modern and performant graphical interface for Therion Presenting Mapiah. Mapiah is my take on a multi-platform, more friendly, modern and performant graphical interface for Therion. It's written in C++/Qt. It aims to be as compatible as practical and possible with XTherion. This is the "proof-of-concept" release. It's source code and it's releases files can be found at the projects home at SourceForge: <https://sourceforge.net/projects/mapiah/> https://sourceforge.net/projects/mapiah/ Please let me know what you think about it, if it has any future, if you want to help. <snipped> Regards, Rodrigo Severo _______________________________________________ Therion mailing list <mailto:Therion@speleo.sk> Therion@speleo.sk <https://mailman.speleo.sk/listinfo/therion> https://mailman.speleo.sk/listinfo/therion _______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ Em segunda-feira, 15 de novembro de 2021 às 7:28 AM, Xavier Robert <xavier.robert@univ-grenoble-alpes.fr> escreveu:
Hi,
Just for information :
I downloaded the .AppImage to install it on my MacOs 10.14. But I get this error :« 09:02:31 [robertxa1@ist-158.home ~/Downloads]$ ./Mapiah-x86_64.AppImage -bash: ./Mapiah-x86_64.AppImage: cannot execute binary file »
I am quite new to most of this (including AppImages) but I believe that AppImages aren't supposed to work on MacOS. As I said, I need some Mac user that works with me so we can created Mac versions of Mapiah. Let's do it? Regards, Rodrigo
Excellent - and about time too! This will encourage many more users of Therion. Cheers Juan_______________________________________Juan CorrinUK : 015242 62809Mobile: 0044 7815 745072 -----Original Message----- From: Rodrigo Severo via Therion <therion@speleo.sk> To: therion <therion@speleo.sk> Cc: rsev@protonmail.com Sent: Sun, Nov 14, 2021 11:42 pm Subject: [Therion] Presenting Mapiah, a multi-platform, more friendly, modern and performant graphical interface for Therion Presenting Mapiah. Mapiah is my take on a multi-platform, more friendly, modern and performant graphical interface for Therion. It's written in C++/Qt. It aims to be as compatible as practical and possible with XTherion. This is the "proof-of-concept" release. It's source code and it's releases files can be found at the projects home at SourceForge: https://sourceforge.net/projects/mapiah/ Please let me know what you think about it, if it has any future, if you want to help. *The name* Mapiah is a international friendly version of the portuguese word "mapear" on the sentence "vamos mapear?" - "let's go surveying?" or "let's go mapping?" - which is usually pronounced [vʌmu mapi'a]. *Multi-platform* Right now we have both Linux and Windows releases as these are the OSs I have access and minimal experience with. Until some Mac user steps up, that's the way it's gonna be. Having said that, the idea is to follow best practices during Mapiah's development to ease the release process on all target platforms: Linux, Windows and Mac. *The C++/Qt choices* Going backwards, the Qt framework was chosen as it has an open source compatible version. It's mature, powerful and seems to take multi-platform support seriously. The first idea was to use Qt Python as the "friendly" requirement could also be applied to the language chosen but in the end I decided to go with C++ because I believe that a C++ application might be more easily distributable across all platforms. *The "proof-of-concept" release* The basic reading and writing functionality supposely is th concept being proved in this release. Supposely because the actual concept I am trying to prove myself with this release is that I can write functional and decent C++/Qt code which, for the time being, is kinda proved. *Functionality* This 0.0.1 release can read a TH2 file, present it on the screen and save it. With an open file you can change the zoom level and write the file again. You should be able to see your TH2 file on screen correctly and the saved file should be functionally identical to the original one. All point, line, area, scrap and XTHERION options should be properly read and saved even if most aren't actually understood/acted upon. *License* This software is licensed under GPL 3 or later. *WARNINGS* PLEASE TEST! DON'T OVERRIDE YOUR ORIGINAL FILE WITH THE ONE WRITTEN BY MAPIAH!! THIS IS A PRE-ALPHA VERSION!!! Regards, Rodrigo Severo _______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
Hi, Rodrigo. Your PoC app looks very promising and we are happy that you've made this first step. C++/Qt seems to be a good choice as well. What might be a bit surprising for most of the users hoping for a better UI, there is also one other project to create a Qt replacement for XTherion (started by Michal Plch and available in the qtherion branch of our git repo ;) There are some differences in the scope and technology, though: * the idea was to provide a UI which would be simple enough for new users, not necessarily mimicking XTherion's approach * as a result, it doesn't expect user to know internals of *.th or *.th2 files (and even doesn't support them directly – in this branch therion was extended to use a JSON-based data package to communicate with qtherion UI) * it's based on C++/Qt, too, but heavily using QML to define the UI It's also a PoC in a very early stage and as such hasn't been advertised on the list yet. But it's clear that time is ripe for a new UI. How about some brainstorming with Rodrigo, Michal and perhaps some others on possible synergies and the best way forward? Cheers Martin On Mon, Nov 15, 2021 at 12:42 AM Rodrigo Severo via Therion <therion@speleo.sk> wrote:
Presenting Mapiah.
Mapiah is my take on a multi-platform, more friendly, modern and performant graphical interface for Therion. It's written in C++/Qt. It aims to be as compatible as practical and possible with XTherion.
This is the "proof-of-concept" release.
It's source code and it's releases files can be found at the projects home at SourceForge: https://sourceforge.net/projects/mapiah/
Please let me know what you think about it, if it has any future, if you want to help.
*The name*
Mapiah is a international friendly version of the portuguese word "mapear" on the sentence "vamos mapear?" - "let's go surveying?" or "let's go mapping?" - which is usually pronounced [vʌmu mapi'a].
*Multi-platform*
Right now we have both Linux and Windows releases as these are the OSs I have access and minimal experience with. Until some Mac user steps up, that's the way it's gonna be.
Having said that, the idea is to follow best practices during Mapiah's development to ease the release process on all target platforms: Linux, Windows and Mac.
*The C++/Qt choices*
Going backwards, the Qt framework was chosen as it has an open source compatible version. It's mature, powerful and seems to take multi-platform support seriously.
The first idea was to use Qt Python as the "friendly" requirement could also be applied to the language chosen but in the end I decided to go with C++ because I believe that a C++ application might be more easily distributable across all platforms.
*The "proof-of-concept" release*
The basic reading and writing functionality supposely is th concept being proved in this release. Supposely because the actual concept I am trying to prove myself with this release is that I can write functional and decent C++/Qt code which, for the time being, is kinda proved.
*Functionality*
This 0.0.1 release can read a TH2 file, present it on the screen and save it.
With an open file you can change the zoom level and write the file again.
You should be able to see your TH2 file on screen correctly and the saved file should be functionally identical to the original one.
All point, line, area, scrap and XTHERION options should be properly read and saved even if most aren't actually understood/acted upon.
*License*
This software is licensed under GPL 3 or later.
*WARNINGS*
PLEASE TEST!
DON'T OVERRIDE YOUR ORIGINAL FILE WITH THE ONE WRITTEN BY MAPIAH!!
THIS IS A PRE-ALPHA VERSION!!!
Regards,
Rodrigo Severo _______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
Em terça-feira, 30 de novembro de 2021 às 4:44 PM, Martin Budaj <m.budaj@gmail.com> escreveu:
Hi, Rodrigo.
Your PoC app looks very promising and we are happy that you've made
this first step. C++/Qt seems to be a good choice as well.
What might be a bit surprising for most of the users hoping for a
better UI, there is also one other project to create a Qt replacement
for XTherion (started by Michal Plch and available in the qtherion
branch of our git repo ;)
Uau!! I didn't know about it at all.
There are some differences in the scope and technology, though:
- the idea was to provide a UI which would be simple enough for new
users, not necessarily mimicking XTherion's approach - as a result, it doesn't expect user to know internals of *.th or
*.th2 files (and even doesn't support them directly – in this branch
therion was extended to use a JSON-based data package to communicate
with qtherion UI) - it's based on C++/Qt, too, but heavily using QML to define the UI
It's also a PoC in a very early stage and as such hasn't been
advertised on the list yet. But it's clear that time is ripe for a new
UI.
How about some brainstorming with Rodrigo, Michal and perhaps some
others on possible synergies and the best way forward?
Great ideia. It will be way better to join forces for sure. Maybe we schedule a live meeting to talk about both approaches together and decide which way to go? Regards, Rodrigo Severo
On Wed, Dec 1, 2021 at 11:01 AM Rodrigo Severo via Therion <therion@speleo.sk> wrote:
Maybe we schedule a live meeting to talk about both approaches together and decide which way to go?
So here is a poll to find the best meeting time: https://doodle.com/poll/dhhz9mhk7vaizmis?utm_source=poll&utm_medium=link Martin
On Sun, Dec 5, 2021 at 1:38 PM Martin Budaj <m.budaj@gmail.com> wrote:
On Wed, Dec 1, 2021 at 11:01 AM Rodrigo Severo via Therion <therion@speleo.sk> wrote:
Maybe we schedule a live meeting to talk about both approaches together and decide which way to go?
So here is a poll to find the best meeting time:
https://doodle.com/poll/dhhz9mhk7vaizmis?utm_source=poll&utm_medium=link
Tuesday December 14 at 8 PM CET (= 7 PM GMT) is good for all. We'll send the meeting link via email. Looking forward to meeting you all Martin
On 2021-11-14 23:42 +0000, Rodrigo Severo via Therion wrote:
Presenting Mapiah.
Mapiah is my take on a multi-platform, more friendly, modern and performant graphical interface for Therion. It's written in C++/Qt. It aims to be as compatible as practical and possible with XTherion.
This is the "proof-of-concept" release.
It's source code and it's releases files can be found at the projects home at SourceForge: https://sourceforge.net/projects/mapiah/
OK. As I didn't know what to do with an appimage (and don't like installing binaries anyway) I tried building a deb. Things went quite well but I hit this: make[3]: *** [CMakeFiles/Mapiah.dir/build.make:359: CMakeFiles/Mapiah.dir/data/th2xtherionsetting.cpp.o] Error 1 make[3]: *** Waiting for unfinished jobs.... /home/wookey/packages/therion/mapiah/debian/mapiah-0.0.orig/functional/th2reader.cpp: In member function 'void TH2Reader::parseXTherionSetting()': /home/wookey/packages/therion/mapiah/debian/mapiah-0.0.orig/functional/th2reader.cpp:59:42: error: 'class QStringList' has no member named 'sliced' 59 | QString xtherionParameters = m_words.sliced(2).join(" "); | ^~~~~~ Which comes from this build line: [ 52%] Building CXX object CMakeFiles/Mapiah.dir/data/th2xtherionsetting.cpp.o /usr/bin/c++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -I/home/wookey/packages/therion/mapiah/debian/mapiah-0.0.orig/obj-x86_64-linux-gnu -I/home/wookey/packages/therion/mapiah/debian/mapiah-0.0.orig -I/home/wookey/packages/therion/mapiah/debian/mapiah-0.0.orig/obj-x86_64-linux-gnu/Mapiah_autogen/include -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -g -O2 -ffile-prefix-map=/home/wookey/packages/therion/mapiah/debian/mapiah-0.0.orig=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -std=gnu++11 -MD -MT CMakeFiles/Mapiah.dir/data/th2xtherionsetting.cpp.o -MF CMakeFiles/Mapiah.dir/data/th2xtherionsetting.cpp.o.d -o CMakeFiles/Mapiah.dir/data/th2xtherionsetting.cpp.o -c /home/wookey/packages/therion/mapiah/debian/mapiah-0.0.orig/data/th2xtherionsetting.cpp Any idea why that might be happening? I've got Qt 5.15.2 (in both stable and unstable). Do I need a newer QT or something? So then I worked out what to do with an appimage...
Please let me know what you think about it, if it has any future, if you want to help. *Functionality*
This 0.0.1 release can read a TH2 file, present it on the screen and save it.
With an open file you can change the zoom level and write the file again.
You should be able to see your TH2 file on screen correctly and the saved file should be functionally identical to the original one.
Yep I saw a correct-looking file (although the colour made it very hard to actually see on my screen) And saving worked. The files has been munged quite a lot with layout changes and numbers reformated/significant figures changed. The image_insert numbers were changed drastically: from: ##XTHERION## xth_me_image_insert {0 1 1.0} {0 {4}} oldmansrift-plan.xvi 0 {} to: ##XTHERION## xth_me_image_insert {2500.9558480028363 1 1.0} {1629.5298423667257 4} oldmansrift-plan.xvi 0 {} not sure about that? I'm certainly in favour of a nicer UI than the 'proof of concept' tcl one we've had for nearly 20 years now :-) Wookey -- Principal hats: Linaro, Debian, Wookware, ARM http://wookware.org/
participants (8)
-
Andrew Atkinson -
Bruce Mutton -
Juan Corrin -
Martin Budaj -
Rodrigo Severo -
rsev@protonmail.com -
Wookey -
Xavier Robert