Skip to content

Commit

Permalink
creation of a ascii HeiGIT logo
Browse files Browse the repository at this point in the history
  • Loading branch information
kowatsch committed May 8, 2018
1 parent 372436f commit 77295e1
Show file tree
Hide file tree
Showing 3 changed files with 77 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import org.heigit.bigspatialdata.ohsome.ohsomeApi.inputProcessing.GeometryBuilder;
import org.heigit.bigspatialdata.ohsome.ohsomeApi.oshdb.DbConnData;
import org.heigit.bigspatialdata.ohsome.ohsomeApi.oshdb.ExtractMetadata;
import org.heigit.bigspatialdata.ohsome.ohsomeApi.output.HeigitLogo;
import org.heigit.bigspatialdata.oshdb.api.db.OSHDBDatabase;
import org.heigit.bigspatialdata.oshdb.api.db.OSHDBH2;
import org.heigit.bigspatialdata.oshdb.api.db.OSHDBIgnite;
Expand All @@ -29,7 +30,8 @@ public class Application implements ApplicationRunner {
public static final String apiVersion = "0.9";

public static void main(String[] args) {


HeigitLogo.printHeiGITLogoSmall();
if (args == null || args.length == 0)
throw new RuntimeException(
"You need to define at least the '--database.db' or the '--database.ignite' + '--database.keytables' parameter(s).");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,7 @@
import org.heigit.bigspatialdata.oshdb.util.time.TimestampFormatter;
import com.vividsolutions.jts.geom.Geometry;

/**
* Holds additional utility methods needed for classes
* {@link org.heigit.bigspatialdata.ohsome.ohsomeApi.inputProcessing.GeometryBuilder
* GeometryBuilder} and
* {@link org.heigit.bigspatialdata.ohsome.ohsomeApi.inputProcessing.InputProcessor InputProcessor}.
*/
/** Holds additional utility methods. */
public class Utils {

private String[] boundaryIds;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
package org.heigit.bigspatialdata.ohsome.ohsomeApi.output;

public class HeigitLogo {

/** Prints a huge HeiGIT logo onto the console on startup. */
public static void printHeiGITLogoHuge() {

System.out.println(" :yyyyyyyy: ");
System.out.println(" :yyyyyyyyyy: ");
System.out.println(" yyyyyyyyyyyy ");
System.out.println(" /yyyyyyyyyyy ");
System.out.println(" :syyyyyyyyy/ :::: ");
System.out.println(" :yyyyy////yy syyyys ");
System.out.println(" :syyyy/` yys yyyyyys::: ");
System.out.println(" -yyyy/` `yys :yy////yyyss--- --- ");
System.out.println(" -syyy/` `yys -yy` ``//yyyysss-ssyyyss- ");
System.out.println(" syyy+` +yys -yy+ ``++yyyyyyyyyyyys ");
System.out.println(" -syy+` +yys -yyy ``yyyyyyyyyyy ");
System.out.println(" -oyyy` yyyo -yyy` yyyyyyyyyyy ");
System.out.println(" -yyy+` `yyyo yyy+ +yyyyyyyy+` ");
System.out.println(" -oyy+. .yyyo- oyy+ ..+++++. ");
System.out.println(" -yy+. .yyyy- oyyy ");
System.out.println(" .ooooy+. +yyyy. oyyy. ");
System.out.println("::::::: ::::::: yyyyyy.......... yyyyyoyyyy ");
System.out.println("MMMMMMM MMMMMMM oyyyyooooooyyyyyooooooooooo..........yyyyyyyyyyo. :::::: ");
System.out.println("MMMMMMM MMMMMMM .... ......ooooooyyyyyyyyyyyyyyyyyyyyyyyyyy ---hhhhhhMMMMMMhhhhhh--- ");
System.out.println("MMMMMMM MMMMMMM ......ooooooyyyyyyyyyyyyyy -hhhMMMMMMMMMMMMMMMMMMMMMMMMhh-- hhhhhhhhh hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh ");
System.out.println("MMMMMMM MMMMMMM .yyyyyyyyyyyyo -hhMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMh-- MMMMMMMMM MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM ");
System.out.println("MMMMMMM MMMMMMM -oyyyyyyyyyo -hhMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMh- MMMMMMMMM MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM ");
System.out.println("MMMMMMM MMMMMMM --ooooo-- -hMMMMMMMMMMMMMMMMddddddddddddMMMMMMMMMMMMMMd MMMMMMMMM MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM ");
System.out.println("MMMMMMM MMMMMMM ........... .MMMMMMMMMMMMMmm/// //mmMMMMMMMMMm MMMMMMMMM mmmmmmmmmmmmmMMMMMMMMMmmmmmmmmmmmmm ");
System.out.println("MMMMMMM MMMMMMM ..yyyMMMMMMMMMMMyyy.. yyyyyy yMMMMMMMMMMMMm/ //mMMMMM/ MMMMMMMMM MMMMMMMMM ");
System.out.println("MMMMMMM MMMMMMM .yyMMMMMMMMMMMMMMMMMMMMMyy.. MMMMMM yMMMMMMMMMMm// /mMM/ MMMMMMMMM MMMMMMMMM ");
System.out.println("MMMMMMM MMMMMMM .yMMMMMMMMMMMmmmmmMMMMMMMMMMMMy. MMMMMM yMMMMMMMMMMm // MMMMMMMMM MMMMMMMMM ");
System.out.println("MMMMMMM MMMMMMM .yMMMMMMMMmm/// ////mmMMMMMMMMy MMMMMM yMMMMMMMMMM/ MMMMMMMMM MMMMMMMMM ");
System.out.println("MMMMMMM````````````````````````````MMMMMMM sMMMMMMMN++ +NMMMMMMMs` MMMMMM MMMMMMMMMM+ MMMMMMMMM MMMMMMMMM ");
System.out.println("MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM sMMMMMMN+ +NMMMMMMM` MMMMMM sMMMMMMMMMN MMMMMMMMM MMMMMMMMM ");
System.out.println("MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM sMMMMMMN +MMMMMMM` MMMMMM MMMMMMMMMM MMMMMMMMM MMMMMMMMM ");
System.out.println("MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM sMMMMMMN +MMMMMMM MMMMMM MMMMMMMMMM MMMMMMMMM MMMMMMMMM ");
System.out.println("MMMMMMM++++++++++++++++++++++++++++MMMMMMM MMMMMMM`````````````````````````````MMMMMMM MMMMMM MMMMMMMMMM ssssssssss MMMMMMMMM MMMMMMMMM ");
System.out.println("MMMMMMM MMMMMMM MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMo MMMMMM MMMMMMMMMM MMMMMMMMMM MMMMMMMMM MMMMMMMMM ");
System.out.println("MMMMMMM MMMMMMM MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM MMMMMM MMMMMMMMMM MMMMMMMMMM MMMMMMMMM MMMMMMMMM ");
System.out.println("MMMMMMM MMMMMMM MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM MMMMMM oMMMMMMMMMo MMMMMMMMMM MMMMMMMMM MMMMMMMMM ");
System.out.println("MMMMMMM MMMMMMM MMMMMM MMMMMM MMMMMMMMMM MMMMMMMMMM MMMMMMMMM MMMMMMMMM ");
System.out.println("MMMMMMM MMMMMMM MMMMMMo MMMMMM oMMMMMMMMMM MMMMMMMMMM MMMMMMMMM MMMMMMMMM ");
System.out.println("MMMMMMM MMMMMMM MMMMMMM o MMMMMM MMMMMMMMMMMo MMMMMMMMMM MMMMMMMMM MMMMMMMMM ");
System.out.println("MMMMMMM MMMMMMM `MMMMMMN +NMNN++ MMMMMM `MMMMMMMMMMMN+ MMMMMMMMMM MMMMMMMMM MMMMMMMMM ");
System.out.println("MMMMMMM MMMMMMM sMMMMMMN+ +MMMMMMM MMMMMM `MMMMMMMMMMMMN+ MMMMMMMMMM MMMMMMMMM MMMMMMMMM ");
System.out.println("MMMMMMM MMMMMMM sMMMMMMMN+ +NMMMMMMM` MMMMMM `sMMMMMMMMMMMMNN++ ++MMMMMMMMMM MMMMMMMMM MMMMMMMMM ");
System.out.println("MMMMMMM MMMMMMM `MMMMMMMMN+ +NNMMMMMMMs` MMMMMM `sMMMMMMMMMMMMMMNNN++++++++++NNNMMMMMMMMMMMM MMMMMMMMM MMMMMMMMM ");
System.out.println("MMMMMMM MMMMMMM `sMMMMMMMMNNN+++++++++NNNMMMMMMMMs` MMMMMM `sMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMs MMMMMMMMM MMMMMMMMM ");
System.out.println("MMMMMMM MMMMMMM .yyMMMMMMMMMMMMMMMMMMMMMMMMMMy. MMMMMM .yMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMy. MMMMMMMMM MMMMMMMMM ");
System.out.println("MMMMMMM MMMMMMM .yyMMMMMMMMMMMMMMMMMMMyy.. MMMMMM ..yyMMMMMMMMMMMMMMMMMMMMMMMMMMMyy.. MMMMMMMMM MMMMMMMMM ");
System.out.println("....... ....... ...yyyyyyyyyyyyy... ...... ..yyyyMMMMMMMMMMMMMMMyyyy.. ......... ......... ");

throw new RuntimeException();
}

/** Prints a small (but fancy) HeiGIT logo onto the console on startup. */
public static void printHeiGITLogoSmall() {

System.out.println();
System.out.println();
System.out.println(" ___ ___ .__ ________.______________ ");
System.out.println(" / | \\ ____ |__|/ _____/| \\__ ___/ ");
System.out.println(" / ~ \\_/ __ \\| / \\ ___| | | | ");
System.out.println(" \\ Y /\\ ___/| \\ \\_\\ \\ | | | ");
System.out.println(" \\___|_ / \\___ >__|\\______ /___| |____| ");
System.out.println(" \\/ \\/ \\/ ");

}
}

0 comments on commit 77295e1

Please sign in to comment.