Re: [Therion] A couple of Therion updates: KML and line-rope
Fantastic Vladimir I have been wishing for 'proper' kml titles for many years. If you are still enthusiastic then there are other outputs that need titles, html lists for one.Looking forward to when your recent patches are incorporated into the mainstream windows install files. Bruce Sent from my Samsung device, hence the typo's -------- Original message -------- From: Владимир Георгиев <vld.georgiev@gmail.com> Date: 13/05/2016 04:14 (GMT+12:00) To: TherionList <therion@speleo.sk> Subject: [Therion] A couple of Therion updates: KML and line-rope Hi Here are a couple of updates I did, which might be useful to someone. 1) KML model and map export. When exporting a KML it always got a title of "Therion KML", which made it harder to navigate when several files are opened in Google Earth. I updated the title to contain the survey title in whatever language is selected for the export. The description contains the length and depth for the cave. 2) I wanted to use a rope line, but the existing symbol for it was hidden and not completely finished. I used the existing metapost, which displays the rope very nicely, with a couple of additions. You can control whether the rebelay rope loops are shown with the option "-rebelays on/off" and the anchor points with "-anchors on/off" The line handrail looked very similar to rope, so I changed the little dots to squares. Attached are the code patches and a couple of screenshots. If someone recompiles and tests those I would be happy to hear the comments :) Vladimir
Bruce I like the app and would like to make it better as far as I can. So far I am doing small patches here and there in features that I needed for my own usage, nothing systematic. The source code is quite large and the features are a lot, so the todo list will be endless :) If you have suggestion about the html, kml or other outputs, let me know and I'll see what I can do. For the kml I was wondering what else to put in the description field besides the length and depth. The next feature I was considering is the option to add images inside of scraps(with "point image [file name]..."), and not only in the layout with map-image. I need to research some more about inserting images in TEX and Metapost and how to position them. As for the Windows installer, I could build it, but I don't have the source for the install script. I can recreate it if needed and if there is interest... If you are willing to take the risk, I can send you the compiled therion.exe :) Vladimir On Thu, May 12, 2016 at 10:39 PM, Bruce Mutton <bruce@tomo.co.nz> wrote:
Fantastic Vladimir I have been wishing for 'proper' kml titles for many years. If you are still enthusiastic then there are other outputs that need titles, html lists for one. Looking forward to when your recent patches are incorporated into the mainstream windows install files.
Bruce
Sent from my Samsung device, hence the typo's
-------- Original message -------- From: Владимир Георгиев <vld.georgiev@gmail.com> Date: 13/05/2016 04:14 (GMT+12:00) To: TherionList <therion@speleo.sk> Subject: [Therion] A couple of Therion updates: KML and line-rope
Hi
Here are a couple of updates I did, which might be useful to someone.
1) KML model and map export. When exporting a KML it always got a title of "Therion KML", which made it harder to navigate when several files are opened in Google Earth. I updated the title to contain the survey title in whatever language is selected for the export. The description contains the length and depth for the cave.
2) I wanted to use a rope line, but the existing symbol for it was hidden and not completely finished. I used the existing metapost, which displays the rope very nicely, with a couple of additions. You can control whether the rebelay rope loops are shown with the option "-rebelays on/off" and the anchor points with "-anchors on/off" The line handrail looked very similar to rope, so I changed the little dots to squares.
Attached are the code patches and a couple of screenshots. If someone recompiles and tests those I would be happy to hear the comments :)
Vladimir
_______________________________________________ Therion mailing list Therion@speleo.sk http://mailman.speleo.sk/mailman/listinfo/therion
There is a repository of therion on github: https://github.com/therion/test I spoke today with Martin Budaj and coerced him to change the status of this repository from test to regular. m.s.
12. 5. 2016 v 22:31, Владимир Георгиев <vld.georgiev@gmail.com>:
Bruce
I like the app and would like to make it better as far as I can. So far I am doing small patches here and there in features that I needed for my own usage, nothing systematic. The source code is quite large and the features are a lot, so the todo list will be endless :) If you have suggestion about the html, kml or other outputs, let me know and I'll see what I can do. For the kml I was wondering what else to put in the description field besides the length and depth.
The next feature I was considering is the option to add images inside of scraps(with "point image [file name]..."), and not only in the layout with map-image. I need to research some more about inserting images in TEX and Metapost and how to position them.
As for the Windows installer, I could build it, but I don't have the source for the install script. I can recreate it if needed and if there is interest... If you are willing to take the risk, I can send you the compiled therion.exe :)
Vladimir
On Thu, May 12, 2016 at 10:39 PM, Bruce Mutton <bruce@tomo.co.nz <mailto:bruce@tomo.co.nz>> wrote: Fantastic Vladimir I have been wishing for 'proper' kml titles for many years. If you are still enthusiastic then there are other outputs that need titles, html lists for one. Looking forward to when your recent patches are incorporated into the mainstream windows install files.
Bruce
Sent from my Samsung device, hence the typo's
-------- Original message -------- From: Владимир Георгиев <vld.georgiev@gmail.com <mailto:vld.georgiev@gmail.com>> Date: 13/05/2016 04:14 (GMT+12:00) To: TherionList <therion@speleo.sk <mailto:therion@speleo.sk>> Subject: [Therion] A couple of Therion updates: KML and line-rope
Hi
Here are a couple of updates I did, which might be useful to someone.
1) KML model and map export. When exporting a KML it always got a title of "Therion KML", which made it harder to navigate when several files are opened in Google Earth. I updated the title to contain the survey title in whatever language is selected for the export. The description contains the length and depth for the cave.
2) I wanted to use a rope line, but the existing symbol for it was hidden and not completely finished. I used the existing metapost, which displays the rope very nicely, with a couple of additions. You can control whether the rebelay rope loops are shown with the option "-rebelays on/off" and the anchor points with "-anchors on/off" The line handrail looked very similar to rope, so I changed the little dots to squares.
Attached are the code patches and a couple of screenshots. If someone recompiles and tests those I would be happy to hear the comments :)
Vladimir
_______________________________________________ Therion mailing list Therion@speleo.sk <mailto:Therion@speleo.sk> http://mailman.speleo.sk/mailman/listinfo/therion <http://mailman.speleo.sk/mailman/listinfo/therion>
_______________________________________________ Therion mailing list Therion@speleo.sk http://mailman.speleo.sk/mailman/listinfo/therion
Thanks Martin, that's great. Let me know when Budaj moves the source from "test" to the "therion" repo so I can push my recent changes. Can you ask him how he would like to share the repo in case me or someone else wants to make changes? If I make a fork of the repo the changes will have to be approved and merged by him periodically, which is the better way if he has the time :) Or if he gives me access I can work directly with the repo. If it is not too much trouble, can you ask Budaj what was used for building the Windows installer and where is the source? The people here that use Therion (not that many unfortunately) work on Windows. Vladimir On Fri, May 13, 2016 at 12:33 PM, Martin Sluka <martinsluka@mac.com> wrote:
There is a repository of therion on github: https://github.com/therion/test
I spoke today with Martin Budaj and coerced him to change the status of this repository from test to regular.
m.s.
12. 5. 2016 v 22:31, Владимир Георгиев <vld.georgiev@gmail.com>:
Bruce
I like the app and would like to make it better as far as I can. So far I am doing small patches here and there in features that I needed for my own usage, nothing systematic. The source code is quite large and the features are a lot, so the todo list will be endless :) If you have suggestion about the html, kml or other outputs, let me know and I'll see what I can do. For the kml I was wondering what else to put in the description field besides the length and depth.
The next feature I was considering is the option to add images inside of scraps(with "point image [file name]..."), and not only in the layout with map-image. I need to research some more about inserting images in TEX and Metapost and how to position them.
As for the Windows installer, I could build it, but I don't have the source for the install script. I can recreate it if needed and if there is interest... If you are willing to take the risk, I can send you the compiled therion.exe :)
Vladimir
On Thu, May 12, 2016 at 10:39 PM, Bruce Mutton <bruce@tomo.co.nz> wrote:
Fantastic Vladimir I have been wishing for 'proper' kml titles for many years. If you are still enthusiastic then there are other outputs that need titles, html lists for one. Looking forward to when your recent patches are incorporated into the mainstream windows install files.
Bruce
Sent from my Samsung device, hence the typo's
-------- Original message -------- From: Владимир Георгиев <vld.georgiev@gmail.com> Date: 13/05/2016 04:14 (GMT+12:00) To: TherionList <therion@speleo.sk> Subject: [Therion] A couple of Therion updates: KML and line-rope
Hi
Here are a couple of updates I did, which might be useful to someone.
1) KML model and map export. When exporting a KML it always got a title of "Therion KML", which made it harder to navigate when several files are opened in Google Earth. I updated the title to contain the survey title in whatever language is selected for the export. The description contains the length and depth for the cave.
2) I wanted to use a rope line, but the existing symbol for it was hidden and not completely finished. I used the existing metapost, which displays the rope very nicely, with a couple of additions. You can control whether the rebelay rope loops are shown with the option "-rebelays on/off" and the anchor points with "-anchors on/off" The line handrail looked very similar to rope, so I changed the little dots to squares.
Attached are the code patches and a couple of screenshots. If someone recompiles and tests those I would be happy to hear the comments :)
Vladimir
_______________________________________________ Therion mailing list Therion@speleo.sk http://mailman.speleo.sk/mailman/listinfo/therion
_______________________________________________ Therion mailing list Therion@speleo.sk http://mailman.speleo.sk/mailman/listinfo/therion
_______________________________________________ Therion mailing list Therion@speleo.sk http://mailman.speleo.sk/mailman/listinfo/therion
For the kml I was wondering what else to put in the description field besides the length and depth.
Possibly option to include 'map-comment' for export plan -o "cave.kml"
The next feature I was considering is the option to add images inside of scraps(with "point image [file name]..."), and not only in the layout with map-image. I need to research some more about inserting images in TEX and Metapost and how to position them.
A similar idea, perhaps, was discussed some years ago. Refer to the first few returns of this search http://search.gmane.org/?query=link <http://search.gmane.org/?query=link&group=gmane.comp.gis.therion> &group=gmane.comp.gis.therion My preferred implementation would be to have a 'link' property for most point entities as described in here. http://article.gmane.org/gmane.comp.gis.therion/3029/match=link There could be another property that results in the destination file (if image or plain text) 'printing' in the resulting cave pdf output (which is more like what you describe). Just ideas. Bruce
On Fri, May 13, 2016 at 12:43 PM, Bruce <bruce@tomo.co.nz> wrote:
Possibly option to include ‘map-comment’ for export plan –o “cave.kml”
That might be nice, yes. I will see if I can do it. I still have problems finding where a particular piece of data is stored in Therions data structures. But for the plan kml it should be possible.
The next feature I was considering is the option to add images inside of scraps(with "point image [file name]..."), and not only in the layout with map-image. I need to research some more about inserting images in TEX and Metapost and how to position them.
A similar idea, perhaps, was discussed some years ago.
Refer to the first few returns of this search
http://search.gmane.org/?query=link&group=gmane.comp.gis.therion
My preferred implementation would be to have a ‘link’ property for most point entities as described in here. http://article.gmane.org/gmane.comp.gis.therion/3029/match=link
There could be another property that results in the destination file (if image or plain text) ‘printing’ in the resulting cave pdf output (which is more like what you describe).
That is an interesting idea too. I will read the old discussions. Placing the link properties and parsing them is not a problem. The thing is how to display them best in the outputs and how to easily control them. Vladimir
participants (4)
-
Bruce -
Bruce Mutton -
Martin Sluka -
Владимир Георгиев