Board index FlightGear Development Scenery

TerraMaster: a new scenery manager

Questions and discussion about enhancing and populating the FlightGear world.

Re: TerraMaster: a new scenery manager

Postby helijah » Fri Nov 16, 2012 11:24 am

Hi all

Fantastic ! I had not yet taken the time to test. This is really a great tool. Especially when we see that the TerraSync included in the GIT version, even properly configured, does not work :(

Image

thousand of thank you to reeed

Regards Emmanuel
Some planes (and other) for FlightGear
http://helijah.free.fr
and
http://embaranger.free.fr
User avatar
helijah
 
Posts: 1050
Joined: Wed Dec 27, 2006 12:35 pm
Location: Chartres (France)
Callsign: helijah
IRC name: helijah
Version: GIT
OS: GNU/Linux

Re: TerraMaster: a new scenery manager

Postby f-ojac » Fri Nov 16, 2012 5:38 pm

Hi Emmanuel,
helijah wrote in Fri Nov 16, 2012 11:24 am:Especially when we see that the TerraSync included in the GIT version, even properly configured, does not work :(

It's working fine here with latest git. Where is the trouble located?
Hosting terrasync, World Scenery, TGWeb on my own private server. Click here to donate and help to make the service last.
f-ojac
 
Posts: 1285
Joined: Fri Mar 07, 2008 9:50 am
Version: GIT
OS: GNU/Linux

Released: TerraMaster r31

Postby reeed » Sun Dec 02, 2012 1:32 pm

New icons!
Progress bar!
Airport code/name search!
Lookup airports in selected tiles!
http://terramaster.googlecode.com
Image
reeed
 
Posts: 179
Joined: Sat Dec 12, 2009 5:21 am
Location: Singapore
Callsign: SQC7294

Re: TerraMaster: a new scenery manager

Postby Johan G » Mon Dec 03, 2012 11:52 pm

Many good points: :D
  • Loads much faster
  • No more graphical artefacts :mrgreen:
  • Stop button - NEW FEATURE
  • Airport search - NEW FEATURE
  • Progress bar - NEW FEATURE
  • Showing airports in tile on map - NEW FEATURE
Only two bad points so far: :wink:
  • Slower/laggier map panning
  • Slow airport search (I know, it's probably not optimised yet...)

Going straight to bed, it's getting late here, just had to test this version... Good night. zZzZ
Low-level flying — It's all fun and games till someone looses an engine. (Paraphrased from a YouTube video)
Improving the Dassault Mirage F1 (Wiki, Forum, GitLab. Work in slow progress)
Johan G
Moderator
 
Posts: 5636
Joined: Fri Aug 06, 2010 5:33 pm
Location: Sweden
Callsign: SE-JG
IRC name: Johan_G
Version: 3.0.0
OS: Windows 7, 32 bit

Re: TerraMaster: a new scenery manager

Postby reeed » Tue Dec 04, 2012 12:11 am

Does the Stop button work for you? (It aborts the current Sync operation and cancels the sync queue). It does nothing for me although the code looks right.

Map panning wasn't changed -- is it slow if you have zero airports showing? (press the Clear airports button)

Airport search uses a web query (from the mpmap.flightgear.org server!) so it's slow because of the server :P
reeed
 
Posts: 179
Joined: Sat Dec 12, 2009 5:21 am
Location: Singapore
Callsign: SQC7294

Re: TerraMaster: a new scenery manager

Postby Johan G » Tue Dec 04, 2012 8:56 pm

I'm sorry but I will not really have the time to test it until the weekend. I hope to get some "air" time as well. :wink:
Low-level flying — It's all fun and games till someone looses an engine. (Paraphrased from a YouTube video)
Improving the Dassault Mirage F1 (Wiki, Forum, GitLab. Work in slow progress)
Johan G
Moderator
 
Posts: 5636
Joined: Fri Aug 06, 2010 5:33 pm
Location: Sweden
Callsign: SE-JG
IRC name: Johan_G
Version: 3.0.0
OS: Windows 7, 32 bit

Re: TerraMaster: a new scenery manager

Postby Johan G » Fri Dec 07, 2012 8:30 pm

reeed wrote in Tue Dec 04, 2012 12:11 am:Does the Stop button work for you? (It aborts the current Sync operation and cancels the sync queue). It does nothing for me although the code looks right.

I actually have more problems than that. I see no signs even that terrasync gets running neither in the windows task handler, in the windows performance monitor (neither concerning memory usage nor used bandwith) or in FlightGears black console window. And in TerraMaster the syncing seems stalled. :(

In the older versions IIRC the FG console started listing tiles and airports. As mentioned above it doesn't happen now.

reeed wrote in Tue Dec 04, 2012 12:11 am:Map panning wasn't changed -- is it slow if you have zero airports showing? (press the Clear airports button)

It might be the fact that I compare it against the now much faster start-up time. :wink: :D

reeed wrote in Tue Dec 04, 2012 12:11 am:Airport search uses a web query (from the mpmap.flightgear.org server!) so it's slow because of the server :P

Aah!
Low-level flying — It's all fun and games till someone looses an engine. (Paraphrased from a YouTube video)
Improving the Dassault Mirage F1 (Wiki, Forum, GitLab. Work in slow progress)
Johan G
Moderator
 
Posts: 5636
Joined: Fri Aug 06, 2010 5:33 pm
Location: Sweden
Callsign: SE-JG
IRC name: Johan_G
Version: 3.0.0
OS: Windows 7, 32 bit

Re: TerraMaster: a new scenery manager

Postby reeed » Fri Dec 07, 2012 11:06 pm

Actually, TerraSync does not get called, does not run :-) TerraMaster performs its own svn sync with the server.

To see the output, run TerrMaster from a command prompt: java -jar terramaster.jar
reeed
 
Posts: 179
Joined: Sat Dec 12, 2009 5:21 am
Location: Singapore
Callsign: SQC7294

Re: TerraMaster: a new scenery manager

Postby Johan G » Sat Dec 08, 2012 8:05 am

reeed wrote in Fri Dec 07, 2012 11:06 pm:To see the output, run TerrMaster from a command prompt: java -jar terramaster.jar


Thanks! :D

Unfortunately there is a showstopper, but only sometimes. :?

When I try to sync a non-existent tile everything is ok and I get:
Code: Select all
C:\Program Files\FlightGear\TerraMaster\r31>java -jar terramaster.jar
getResource: jar:file:/C:/Program%20Files/FlightGear/TerraMaster/r31/terramaster.jar!/gshhs_l.b
+proj=Winkel Tripel +a=6371008.7714 +lon_0=0d00 +lat_0=36d28 +x_0=0.0 +y_0=0.0
+proj=Orthographic Azimuthal +a=6371008.7714 +lon_0=45d00 +lat_0=45d00 +x_0=0.0 +y_0=0.0
sync e010n50/e019n56... svn: URL 'http://terrascenery.googlecode.com/svn/trunk/data/Scenery/Terrain/
e010n50/e019n56' non-existent in that revision
svn: URL 'http://terrascenery.googlecode.com/svn/trunk/data/Scenery/Objects/e010n50/e019n56' non-exi
stent in that revision


When trying to sync an existing tile and things work out I get:
Code: Select all
C:\Program Files\FlightGear\TerraMaster\r31>java -jar terramaster.jar
getResource: jar:file:/C:/Program%20Files/FlightGear/TerraMaster/r31/terramaster.jar!/gshhs_l.b
+proj=Winkel Tripel +a=6371008.7714 +lon_0=0d00 +lat_0=36d28 +x_0=0.0 +y_0=0.0
+proj=Orthographic Azimuthal +a=6371008.7714 +lon_0=45d00 +lat_0=45d00 +x_0=0.0 +y_0=0.0
sync e010n50/e019n57... 52863 bytes... updated to r20766... 171 bytes... updated to r20766...


But sometimes things don't work out (happens at several different tiles) and I get a long error message:
Code: Select all
C:\Program Files\FlightGear\TerraMaster\r31>java -jar terramaster.jar
getResource: jar:file:/C:/Program%20Files/FlightGear/TerraMaster/r31/terramaster.jar!/gshhs_l.b
+proj=Winkel Tripel +a=6371008.7714 +lon_0=0d00 +lat_0=36d28 +x_0=0.0 +y_0=0.0
+proj=Orthographic Azimuthal +a=6371008.7714 +lon_0=45d00 +lat_0=45d00 +x_0=0.0 +y_0=0.0
sync e010n50/e018n57... 412570 bytes... updated to r20766... 2359 bytes... Exception in thread "Thre
ad-0" java.lang.NoClassDefFoundError: de/regnis/q/sequence/line/QSequenceLineRAData
        at org.tmatesoft.svn.core.internal.wc.DefaultSVNOptions.createMerger(DefaultSVNOptions.java:
561)
        at org.tmatesoft.svn.core.internal.wc.admin.SVNAdminArea.mergeProperties(SVNAdminArea.java:4
70)
        at org.tmatesoft.svn.core.internal.wc.SVNUpdateEditor.closeFile(SVNUpdateEditor.java:1880)
        at org.tmatesoft.svn.core.internal.wc.SVNUpdateEditor.closeFile(SVNUpdateEditor.java:1254)
        at org.tmatesoft.svn.core.internal.wc.SVNCancellableEditor.closeFile(SVNCancellableEditor.ja
va:141)
        at org.tmatesoft.svn.core.internal.io.dav.handlers.DAVEditorHandler.endElement(DAVEditorHand
ler.java:490)
        at org.tmatesoft.svn.core.internal.io.dav.handlers.BasicDAVHandler.endElement(BasicDAVHandle
r.java:99)
        at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(Unknown Source)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unk
nown Source)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDri
ver.next(Unknown Source)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
        at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkno
wn Source)
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
        at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
        at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
        at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)

        at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.readData(HTTPConnection.java:7
60)
        at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.readData(HTTPConnection.java:7
25)
        at org.tmatesoft.svn.core.internal.io.dav.http.HTTPRequest.dispatch(HTTPRequest.java:218)
        at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:36
2)
        at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:28
0)
        at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:26
8)
        at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.doReport(DAVConnection.java:286)
        at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.runReport(DAVRepository.java:1280)
        at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.update(DAVRepository.java:828)
        at org.tmatesoft.svn.core.wc.SVNUpdateClient.update(SVNUpdateClient.java:564)
        at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:401)
        at Svn.updateOrCheckout(Svn.java:88)
        at Svn.checkout(Svn.java:116)
        at Svn.run(Svn.java:217)
Caused by: java.lang.ClassNotFoundException: de.regnis.q.sequence.line.QSequenceLineRAData
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 32 more


EDIT: I'm running Java 1.6 if that matters.
Low-level flying — It's all fun and games till someone looses an engine. (Paraphrased from a YouTube video)
Improving the Dassault Mirage F1 (Wiki, Forum, GitLab. Work in slow progress)
Johan G
Moderator
 
Posts: 5636
Joined: Fri Aug 06, 2010 5:33 pm
Location: Sweden
Callsign: SE-JG
IRC name: Johan_G
Version: 3.0.0
OS: Windows 7, 32 bit

Re: TerraMaster: a new scenery manager

Postby santosdumont » Wed Dec 12, 2012 12:53 am

Ubuntu 11.10 FGFS2.6.0

Ensured JAVA6 installed:

Code: Select all
$ sudo apt-add-repository ppa:flexiondotorg/java
$ sudo apt-get update
$ sudo apt-get install sun-java6-jre sun-java6-plugin


Downloaded & extracted TerraMaster into Downloads.

First (minor) problem, to start:

Code: Select all
cd Downloads/TerraMaster_r31
java -jar terramaster.jar


Is there an easier way?

Second (main) problem, once open it doesn't work. As far as I an make out I should first "Select scenery folder" & open my TerraSync folder, find & select the tile(s) I want (in this case e000n50) , & finally click "Synchronise selected files", after which nothing happens. The terminal shows:

Code: Select all
~/Downloads/TerraMaster_r31$ java -jar terramaster.jar
getResource: jar:file:/home/username/Downloads/TerraMaster_r31/terramaster.jar!/gshhs_l.b
+proj=Winkel Tripel +a=6371008.7714 +lon_0=0d00 +lat_0=36d28 +x_0=0.0 +y_0=0.0
+proj=Orthographic Azimuthal +a=6371008.7714 +lon_0=45d00 +lat_0=45d00 +x_0=0.0 +y_0=0.0
sync e000n50/e000n51... 1760783 bytes... Exception in thread "Thread-0" java.lang.NoClassDefFoundError: de/regnis/q/sequence/line/QSequenceLineRAData
   at org.tmatesoft.svn.core.internal.wc.DefaultSVNOptions.createMerger(DefaultSVNOptions.java:561)
   at org.tmatesoft.svn.core.internal.wc.admin.SVNAdminArea.mergeProperties(SVNAdminArea.java:470)
   at org.tmatesoft.svn.core.internal.wc.SVNUpdateEditor.closeFile(SVNUpdateEditor.java:1880)
   at org.tmatesoft.svn.core.internal.wc.SVNUpdateEditor.closeFile(SVNUpdateEditor.java:1254)
   at org.tmatesoft.svn.core.internal.wc.SVNCancellableEditor.closeFile(SVNCancellableEditor.java:141)
   at org.tmatesoft.svn.core.internal.io.dav.handlers.DAVEditorHandler.endElement(DAVEditorHandler.java:484)
   at org.tmatesoft.svn.core.internal.io.dav.handlers.BasicDAVHandler.endElement(BasicDAVHandler.java:99)
   at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:604)
   at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1759)
   at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2915)
   at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:625)
   at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:116)
   at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:488)
   at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:819)
   at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:748)
   at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:123)
   at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1208)
   at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:525)
   at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.readData(HTTPConnection.java:760)
   at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.readData(HTTPConnection.java:725)
   at org.tmatesoft.svn.core.internal.io.dav.http.HTTPRequest.dispatch(HTTPRequest.java:218)
   at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:362)
   at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:280)
   at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:268)
   at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.doReport(DAVConnection.java:286)
   at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.runReport(DAVRepository.java:1280)
   at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.update(DAVRepository.java:828)
   at org.tmatesoft.svn.core.wc.SVNUpdateClient.update(SVNUpdateClient.java:564)
   at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:401)
   at Svn.updateOrCheckout(Svn.java:88)
   at Svn.checkout(Svn.java:116)
   at Svn.run(Svn.java:217)
Caused by: java.lang.ClassNotFoundException: de.regnis.q.sequence.line.QSequenceLineRAData
   at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
   ... 32 more


In TerraSync/Terrain folder there's a folder called e000n50 inside which there's an empty folder e000n51; confused? You will be!
santosdumont
 
Posts: 168
Joined: Mon Nov 03, 2008 9:20 pm

Re: TerraMaster: a new scenery manager

Postby santosdumont » Wed Dec 12, 2012 2:01 am

Atually I'm confused, the tile I want is e000n51
santosdumont
 
Posts: 168
Joined: Mon Nov 03, 2008 9:20 pm

Re: TerraMaster: a new scenery manager

Postby reeed » Wed Dec 12, 2012 2:40 pm

Don't panic! You did nothing wrong :-)

It looks like SVNKit requires a Sequence Library, which is found in the original download pack from http://svnkit.com/download.php.

I have included this file in the TerraMaster r32 zip, now available from http://code.google.com/p/terramaster/downloads/list :mrgreen:
reeed
 
Posts: 179
Joined: Sat Dec 12, 2009 5:21 am
Location: Singapore
Callsign: SQC7294

Re: TerraMaster: a new scenery manager

Postby santosdumont » Wed Dec 12, 2012 9:28 pm

Yes, downloaded r_32 and it works! Great stuff, now I just need to find a quick way to launch it..............
santosdumont
 
Posts: 168
Joined: Mon Nov 03, 2008 9:20 pm

Re: TerraMaster: a new scenery manager

Postby reeed » Thu Dec 13, 2012 11:29 am

quickest way: on Windows, make a desktop shortcut to "java -jar terramaster.jar".
reeed
 
Posts: 179
Joined: Sat Dec 12, 2009 5:21 am
Location: Singapore
Callsign: SQC7294

Re: TerraMaster: a new scenery manager

Postby santosdumont » Thu Dec 13, 2012 9:26 pm

But I'm a Linux (Ubuntu) man, yet to figure out a command that works in Desktop Launcher....
santosdumont
 
Posts: 168
Joined: Mon Nov 03, 2008 9:20 pm

PreviousNext

Return to Scenery

Who is online

Users browsing this forum: Applebot [Bot], PI8676 and 4 guests

cron