Home

- San Diego State University

image

Contents

1. 40024 555 00060000100000000000000000555 00000 22 Figure SA Hotlimk DUO Ms Ee pe Pa Ce o ue oae pex ean 25 Fore L Sample of AR de Ja 21 Proure LONE CO Ord inmates display TERN 30 10 2 Help WIM eT 3 Igi DN M t cM 52 me T 33 F de Sereen nest EM Si i 34 Fe NE 35 F re ALS se 36 De LIUS PP 36 Figure 11 4 Map view Wilh battle modnet 37 B WAN boot Cn ub su tox os dU UM te IUe OMEN ME IL dde 37 ACKNOWLEDGEMENTS I would like to convey my thanks to my advisor Dr Carl Eckberg for giving me an opportunity to work on this thesis project and for his constant guidance support and motivation throughout this project I am obliged to Professor William Root and Dr Andre Skupin for being on my committee and for their help and co operation I would also like to express my sincere appreciation to Mr Richard Sutton from Helix High school for having faith in me with this project and sparing his valuable time for the same CHAPTER 1 INTRODUCTION Technology is entering every area and it is providing its advantages to represent things in an easily understandable way Today in this fast growing era every single object 1s surrounded by some means of technology Teaching is the one of the best example of it Teaching should welcome new technology easily as it provides a
2. 3 6 NUR Dade 407 El public void dispMap throws IOException e El 408 System out println In dispmap E DEM oe 409 Addxy addXYtheme new Addxy FileName S T 410 System out printin In dispmapl z 18 eee 411 addXYtheme setMap map S Admin 412 addXYtheme setVisible false is 413 DistanceTool distanceTool new DistanceTool P B wn xg 414 distanceTool DistanceTool drawline Galantis l L 415 mapColori FileName P 8 va 1 416 map redraw i 417 addbattlename setEnabled true P 8 Dav ds 418 addbattlenamecol setEnabled false re Det 419 clearbattlename setEnabled false ET 08 DraePointjeve 420 addlabel setEnabled false emn 421 removelabel setEnabled true E S DE 422 dispcountry setEnabled true E m Dansa 423 remcountry setEnabled false ET i medir dive 424 dispcity setEnabled true B InitApp java 425 System out println In dispmap2 InitMap java _ 426 El e l MyTableModel java 427 N 8 change projection java 428 i B delete user java 429 El public void blank Output ThesisMitesh run 9 Tasks InitMap JFrame ActionListener gt gt InitMapQ lli InitMap Strina filename String role 9 Loadmap initMap coldwar z actionPerformed ActionEvent e 86 addShapefileToMap Layer layer String s
3. Click on Add JAR Folder Library Manager Libraries C Program Files WetBeans 6 9 Ljava modules ext Absr Move Up Java CDC NSIcom Plugin 1 4 Figure 6 1 NetBeans library manager Figure 6 2 NetBeans new library You should now be able to edit code in Netbeans IDE since we have finished all basic requirements of libraries you should be able to compile and run without any errors Figure 6 5 shows the Netbeans IDE Library Manager f Java CDC Personal Profile Library Name Move Up Move Down Figure 6 3 NetBeans library manager selecting class path Browse JAR Folder J MEM ER l esri moz res ls mo2Drpf i esri xmlkit jai codec 4 jai core i IS jpeg0_sdk jsde90_sdk l jsde90 sdkres i4 jsse mlibwrapper jai Computer File name HrlThesisviteshWOJ20Vb Tp Flesoftype Classpath Entry folder ZIP or JAR fle Figure 6 4 NetBeans browse JAR folder ThesisMitesh NetBeans IDE 6 9 1 Free Poetes Songen helger Ron Dean Profiler ean tows Window 17 BEBO Q Search 5 Figure 6 5 NetBeans IDE Projects 90 Initmap java EL ThesisMitesh NE El g Source Packages 406
4. compiler interpreter and runtime environment were each developed with security 1n mind 3 Java 15 robust Robust means reliable and no programming language can really assure reliability Java puts a lot of emphasis on early checking for possible errors as Java compilers are able to detect many problems that would first show up during execution time in other languages 3 Java is multithreaded Multithreaded 1s the capability for a program to perform several tasks simultaneously within a program In Java multithreaded programming has been smoothly integrated into it while in other languages operating system specific procedures have to be called in order to enable multithreading Multithreading is a necessity in visual and network programming 3 2 2 MAP OBJECTS JAVA EDITION Map Objects Java Edition MOJO 1s the core Java application programming interface used for building this GIS application MOJO is a developer s tool kit to use to depict map functionality for users It includes a set of JAR files containing pure Java components that can be used to develop a usable stand alone GIS application or to add maps to other applications 4 MOJO is a powerful collection of client and server side components that developers can use to build custom cross platform geographic information science GIS applications It comes with a suite of high level visual Java Beans components which can be integrated with multiple IDE s these beans
5. j XYfeatureLayer new X YfeatureLayer bpa map s2 s5 xCoordinate yCoordinate FileName XY layer xyfl set Visible true map InitMap map map getLayerset addLayer x yfl map redraw class X YfeatureLayer extends BaseFeatureLayer BaseFields fields private java util Vector feature Vector public XYfeatureLayer BasePointsArray bpa Map map Vector s2 Vector s5 Vector xCoordinate Vector yCoordinate String FileName createFeatures AndFields bpa map s2 55 xCoordinate yCoordinate int dot FileName indexOf String f FileName substring 0 dot Color cl new Color 139 26 26 BaseFeatureClass bfc getFeatureClass f Points setFeatureClass bfc BaseSimpleRenderer srd new BaseSimpleRenderer SimpleMarkerSymbol sms new SimpleMarkerS ymbol sms setT ype SimpleMarkerSymbol STAR MARKER 20 sms setS ymbolColor new Color 125 49 38 sms setWidth 15 srd setS ymbol sms setRenderer srd X Y LayerCapabilities lc new XY LayerCapabilities setCapabilities lc 30 CHAPTER 10 ADDITIONAL TOOLS GLOBALISM tool has other tools to enhance the usability and functionality for the user This chapter will discuss the co ordinates display the display info window the king tool bar and the help window 10 1 CO ORDINATES DISPLAY One of the requirements for the system was to show the co ordinates on the map depending on the current mouse location If the student w
6. toc The setMap function must be called before adding Figure 8 3 shows how the layer can be Print Send To Microsoft OneNote Driver Send To Microsoft OneNote Port Print range a All Pages fom 100 Selection Figure 8 3 Add layer dialog window 22 22 added to the map For Adding a layer to the map click on the plus symbol on the tool bar it will open a browser window then we can browse to the specific location to add the layer Below 19 the code 9 to integrate the toolbar with the GIS tool static com esri mo2 ui bean Map map new com esri mo2 ui bean Map AddLyrDialog aldlg new AddLyrDialog aldlg setMap map aldlg setVisible true getContentPane add addlg BorderLayout NORTH DELETE LAYER This toolbar provides functionality to allow the user to delete layers from the table of contents The same functionality 19 also available through menu Below 19 the code snippet com esri mo2 map dpy Layer dpylayer legend getLayer map getLayerset removeLayer dpylayer ARROW If some tool has selected before and the user wants to go to tool selected they can use the arrow tool which is actually a no selection tool Below is the code snippet to show how this functioanality 1s implemented Arrow arrow new Arrow N creating the object of Arrow class button lis 2 new ActionListener public void actionPerformed ActionEvent ae else 1f src arrow button 1 setCurs
7. Draw a square on the area or click on the area you want to zoom in That area is zoomed in on the map Parera File Theme LayerControl Display Kings Help Es SRA BO Astoka Julius Caesar Genghis Khan Napolean 4 Xx amp Z Attribute Table Logout Add User Delete User el cos H a IAE umm 0999999 TT Diei PT TTT TTT w EE BEER TT TN LETT TM Ij 10111 11 TTT TT T LLLELLLLLN ME T TT T T T T T TL T T T Sen JSR eee 71 952 Y 30 106 Figure 11 2 Map view e Zoom out Zoom out button is used for zooming out from the zoomed area Draw square on the area or click on the area you want to zoom out e Hotlink Click on one of the layers click the hotlink button and then click on a battle site A window will pop up giving detailed description of the battle e Hyperlink Clicking on the Hyperlink button opens up a web page giving detailed description of the war e Arrow button Click on the Arrow button to de select the hotlink option and move back to normal arrow cursor e Print map The print map button allows the user to print the map from the system e Pan Button Select the pan button to drag the area on the map e Remove layer Select the layer to be removed from the map and click the Remove layer button The layer is removed fr
8. MENER uz z 111 INS 19 CHAPTER 7 MAPOBJECTS TOOLBARS This chapter discuss about basic toolbars of MOJO and their functionality 7 1 COM ESRI MO2 UI TB PROJECTTOOLBAR Figure 7 1 shows project toolbar This toolbar provides functionality like to open close save a map project and print a map image to a file The actions supported by this ToolBar include 8 Figure 7 1 MOJO ProjectToolbar e OpenProject Open a previously saved project file SaveProject Save the current map project to a file SaveProjectAs Save current map project to a new file e CloseProject Close current map project SaveMapImageToFile Save current map to an image file e PrintLayer Print selected layer s in the toc 7 2 MAPOBJECTS TOOLBARS Figure 7 2 shows the ZoomPanToolBar It provides functionality to change the map extent in a variety of ways The actions supported by the Toolbar include Figure 7 2 MOJO ZoomPanToolbar Zoom In Provides a tool for clicking or dragging a rectangle on the map in order to zoom in You can also select the tool and click on the area you want to Zoom In 20 Zoom Out Provides a tool for clicking or dragging a rectangle on the map in order to zoom out You can also select the tool and click on the area you want to Zoom Out ZoomToSelected Zooms the map to the extent of all selected features in the selected layer ZoomToFullExtent Zooms the map to the extent of all layers
9. The technology requirements have been discussed in detail in Chapter 2 3 3 FUNCTIONAL REQUIREMENTS The functional requirements mainly include the Graphical User Interface GUI requirements which a user would use to interact with the tool The requirements were gathered from Mr Richard Sutton and Dr Carl Eckberg These requirements cover the tools that shall be provided the behavior of the tool to different actions and any other GUI requirements The tool should be installed to any drive The tool should load with a login screen After providing correct credentials the tool should come up with a world map displaying the main battle fought by respected king Map should also display countries ruled by King with different color than other countries A user should be able to select battle event and read more about it from text file or should be able to go internet to learn more The tool shall provide tools to zoom in and zoom out and it should be capable of adding more layers to the map A user should get information about the tool when he rollovers the mouse onto any of the tools in the toolbar The software should provide to add and remove functionality for label to main battle sites A user should be able to go on the internet to read more about a particular battle A user should be able to clear and again add the countries A user should be able to select an option to view different kings Hotlinks An important
10. allow drag and drop development Dr Carl Eckberg teaches a GIS class Geographic Information Science at San Diego State University which provides in depth knowledge about Map Objects and the class notes a comprehensive guide to using Map Objects was one of the main criteria for choosing Map Objects Development has been done with intregrating MOJO with NetBeans IDE Details about how to integrate MOJO with NetBeans have been covered in Chapter 6 MOJO is not an end user application it is a developer s tool kit It includes a set of JAR files containing pure Java components that can be used to develop a usable stand alone GIS application or to add maps or map functionality to other applications 1 Key features as cited from the Map Objects Java Edition brochure which can be found at 4 are following Wide Range of GIS Capabilities Applications which are built using Map Objects Java Edition can support activities such as labeling map features thematic mapping panning and zooming through multiple map layers specifying projections querying spatial and attribute data performing geometric operations measuring distances displaying real time geographic data and creating layouts Ability to Combine Multiple Distributed Data Sources By using applications created with Map Objects Java Edition end users can combine local data with Internet and Intranet data to create their own customized maps and easily integrate these with e
11. care of We have created a user manual for the software e During the development of the GIS Tool for GLOBALISM a prototype was developed The figures below show the screen shots of the prototype The screen Figure 4 2 is the main screen which is launched when the tool 1s started Globalism File Theme LayerControl Display Kings Alexander Genghis Julius Napoleon lt E x Attribute Table Logout BB FAE ETT ANM eee E Y LLL gm EL ID LB Pa jp ES TT Her FA Afghapistan P KT a qu RIR R KES as B DTS RT a KTT dn 9 cH C HH EIS T HH E 0 TEPPET PETN VER n ug Figure 4 2 GIS GLOBALISM tool main screen Initial prototype has been developed and modified according to requirements of Mr Richard Sutton All the features were implemented accordingly and were finished in the time frame given as per his requirements 11 5 SOFTWARE DESIGN The design phase started after finishing requirement collection for the tool GIS GLOBALISM This chapter mainly focuses on the high level software architecture and class diagrams The high level architecture diagram states the relationship between different entities 5 1 HIGH LEVEL ARCHITECTURE DIAGRAM Figure 5 1 depicts the high level architecture di
12. the server side map objects In addition MOJO can be used with ArcIms to create dynamic maps on the web CHAPTER 3 THE REQUIREMENTS GIS TOOL GLOBALISM is a tool developed to assist students and teachers of history at Helix High School The thesis has been completed under the supervision and guidance of Dr Carl Eckberg from the San Diego State University Computer Science department and Mr Richard Sutton from the Helix High School history department The requirements gathered have been classified into e Data requirements e Platform requirements e Student centric requirements e Functional requirements 3 1 DATA REQUIREMENTS The data requirements include the data that should be represented in the tool The display of data is covered in the Functional and Student Centric Requirement sections The data requirements were gathered from Mr Richard Sutton He helped me to identify Kings which tried to conquer the whole world For each king emperor the thesis would cover Countries ruled by the King battle site reason for battle description of battle result 3 2 PLATFORM REQUIREMENTS The platform requirements including the development language that should be used and the GIS solution that should be employed to develop the tool were gathered from Dr Carl Eckberg The GIS tool shall be developed using JAVA e MOJO The reason behind using these technologies is to have uniformity in the projects developed for Helix High School
13. within the map GoPrevious Zooms to the previous extent stored in the extent history GoNext Zooms to the next extent stored in the extent history Pan Provides a tool for dragging the map to a new location without altering the zoom level PanOneDirection Pans the map in one of four directions north south east or west Identify Performs an Identify on the specified selected layers 21 CHAPTER 8 CUSTOM TOOLBAR In addition to the toolbars provided by MapObjects custom toolbars were created to enhance the usability of the GIS tool Table 8 1 Figure 8 1 shows how custom the toolbar looks like Table 8 1 Legend of Custom Toolbars Number Tool Name Class or Function Name Print com esri mo2 ui bean Print Add Layer com esri mo2 ui tb LayerToolBar Delete Layer com esri mo2 map dpy Layer Pointer Arrow java External Link Hyperlink java Hot Link Hotlink java Logout Login java d WN E Figure 8 1 Custom toolbars PRINT This tool allows users to print map an attribute table see Figure 8 2 Below is the code snippet which shows how this tool has been implemented ActionListener lis new ActionListener public void actionPerformed ActionEvent ae Object source ae getSource if src print_button com esri mo2 ui bean Print mapPrint new com esri mo2 ui bean Print mapPrint setMap map mapPrint doPrint j ADD LAYER This tool allows user to add layers to the table of contents
14. Alemannisch Article Discussion Log in create account Read View source View history Search 0 4 Alexander the Great From Wikipedia the free encyclopedia This article is about the ancient king of Macedon For other uses see Alexander the Great disambiguation Alexander of Macedon 20 21 July 356 10 11 June 323 BC commonly known as Alexander the Great Greek M ya M gas Al xandros was a king of Macedon Greek Baoie a state in the north eastern region of Greece and by the age of thirty was the creator of one of the largest empires in ancient history stretching from the lonian sea to the Himalaya He was undefeated in battle and is considered one of the most successful commanders of all time in Pella in 356 BC Alexander was tutored by the famed philosopher Aristotle In 336 BC he succeeded his father Philip of Macedon to the throne after Philip was assassinated Philip had brought most of the city states of mainland Greece under Macedonian hegemony using both military and diplomatic means Upon Philip s death Alexander inherited a strong kingdom and an experienced army He succeeded in being awarded the generalship of Greece and with his authority established launched the military plans for expansion left by his father In 334 BC he invaded Persian ruled Asia Minor and began a series of campaigns lasting ten years Alexander brok
15. GIS TOOL GLOBALISM A Thesis Presented to the Faculty of san Diego State University In Partial Fulfillment of the Requirements for the Degree Master of Science in Computer Science by Miteshbharthi B Gosai Summer 2011 SAN DIEGO STATE UNIVERSITY The Undersigned Faculty Committee Approves the Thesis of Miteshbharthi Gosai GIS TOOL Globalism Carl Eckberg Chair Department of Computer Science William A Root Department of Computer Science ow O Andr Skupin Department of Geography Copyright O 2011 by Miteshbharthi B Gosai All Rights Reserved DEDICATION I dedicate this thesis to my dear parents and sister for their encouragement and their unconditional love which they bestowed upon me every time I needed it and their belief that one day I could make an achievement amp to all my dear friends for their wonderful support during this entire tenure and for the times to come ABSTRACT OF THE THESIS GIS Tool Globalism by Miteshbharthi B Gosai Master of Science in Computer Science san Diego State University 2011 The education culture is adapting more and more electronic means of information to teach and learn different area The inspiration behind the development of this software is to increase student interest in learning history by developing an interactive GIS application The tool 1s mainly anticipated for the use of students of Helix High School The tool provide
16. Window and 31 1055 DS pia TTT 31 32 VERE NT un 34 Ron STN 34 Ll Map VIC TT 34 VS Ad 55 1 4 Delete U T 36 112 Play Battle ae 36 ES WIK PA SC 36 12 FUTURE ENHANCEMEN I canescens aces eet ee 38 VANN UEM 39 BIB 40 viii LIST OF TABLES Table 5 1 Importing Classes and Classes Used for 12 Table Lecend or Custom TON erac veto usa ems postu pna aser eoe 21 1X LIST OF FIGURES PAGE igure 4 T Project development Cy TTT 9 Figure 4 2 GIS GLOBALISM tool main 10 Fisure 5 1 Fish level architecture T 11 TNT 13 5 5 61385 FOEDE Ne M EE 14 NetBeans brary Managers APPS 16 2 NB new s se 16 Figure 6 3 NetBeans library manager selecting class path esse eee 17 Fieure 64 NetBeans browse SAR ele T pvr 18 FEN SNB MUD gs cn 18 Figure MOJO Project Keel 19 Poue 12 MOJO ZoomPan Vase 19 Feire St Custom DES eo m da a 21 Fe RTT tapioca ser heli hse 22 Figure 8 3 Add layer dialog window
17. agram for GIS GLOBALISM Provides Graphical User Interface to interact with tool MapObject Geometric and other information Figure 5 1 High level architecture diagram The architecture is broadly divided into three different levels e User Interface It is the end user display which is used to interact with maps and user functionality which has been developed as per requirements It will be launched with application start up e Map Objects and Java Classes The functionality attached with toolbars buttons menus and other items on the main interface 1s created and defined in different JAVA classes CSV SHP Shape files and CSV files contains geographical attributes which need to be displayed on UI by MOJO and JAVA classes 12 5 2 CLASSES AND CLASS DIAGRAM The class diagram displays the general organization of the system It helps to understand how different classes are interacting with each other A Class Diagram in the Unified Modeling Language UML is a type of static structure diagram that describes the structure of a system by showing the system s classes their attributes and the relationships between the classes 6 It also helps to understand the interdependency of classes used for development The classes as shown in Table 5 1 have been used to develop functionality provided by Globalism tool In this project a couple of classes have been developed to implement functionality provided by inbuilt classe
18. an incomplete version of the software program being developed 5 Prototyping the development cycle of your project helps in reducing the risk during implementation and adaption of the software tool The project cycle include five important phases as shown in Figure 4 1 which is discussed in brief Refine e Definition The main task in a software product is digging out the requirements and understands them The final output of this phase is a problem set of requirements to develop in this case of Multimedia GIS tool for Globalism e Design This step is mainly to decide the architecture of the system using the specification functionalities and GUI the user expects will help in designing the outer layer of the project It also includes the implementation and testing of software code which is ready for deployment More on this is discussed in Chapter 5 10 e Development the development cycle consists of successful prototypes where the actual testing is done from the user perspective The feedback and suggestion 1s taken from the user after each prototype and the design redefined to accomplish the end result This process goes on until the project 1s ready to deliver I found this process very helpful to keep track of the requirements and implementation of the project e Deployment the actual deployment starts after the code is appropriately tested and all other aspects of the project including documentation have been taken
19. as looking at a war and knew that location of a battle site was 91 1 62 8 the user could use this tool display as help The co ordinates are shown on a panel see Figure 10 1 The implementation of this feature has been taken from Dr Carl Eckberg s notes 10 X File Theme LayerControl Display Kings Help oa qe ewe Ashoka Alexander Genghis Julius Napolean AAN Y amp sl x 3 Attribute Table Logout Add User Delete User ND 227 aa hv gt BEES _ tt LL 4 43 143445 RRR ESE LL LHA ks NAAMA NAN HE 5 _____________________ __ __7 ee Figure 10 1 Co ordinates display 31 10 2 HELP WINDOW AND TOOLTIPS The Help window has been provided as a tool to fall back on if the user wants to know the functionality of the each button in the toolbar To open the help window click About Menu and Help Topics item see Figure 10 2 Tooltips have also been provided to show brief description of the buttons on the toolbar Help Topics 1 Add Layer Click on Help Icon and then click Add Layer icon in the toolbar 2 Zoom In Click on Help Icon and then click Zoom In icon in the toolbar 3 Zoom Out Click on Help Icon and then click Zoom Out icon in the toolbar 4 Zoom To Full Ex
20. asy to use object oriented programming language Java has replaced the complexity of multiple inheritance in C with a simple structure called an interface and also has eliminated the use of pointers Java 1s considered to be simpler than some other programming languages because Java uses automatic memory allocation and garbage collection The simple syntax makes Java programs easy to write and read 2 e Java 15 object oriented Java allows you to create modular programs and reusable code The classes can be extended and re used when required to add new features and enhance code in the future An object s properties are described by using data members and its behaviors are described by using methods A class is like a template for objects The process of creating an object class is called instantiation Java consists of one or more classes that are arranged in a hierarchy so that a child class is able to inherit properties and behaviors from its parent class 2 e Java is platform independent interpreted The significant advantage of Java 1s its ability to run in different OS Operating System The Java interpreter converts the code into byte code which can be run on any Java Virtual Machine using JRE Java Runtime Environment on Windows Linux etc Java even provides multiple deployment options like jar files 3 e Java 15 secure Java is one of the first programming languages to consider security as part of its design The Java language
21. ation with MOJO It also provides a drag and drop facility for different components which could be used by users to interact with the system The same IDE 1s used to compile and build code with using JDK 1 6 0 23 A plug in for UML diagram development which was used to develop the class diagram is named UML 1 The steps below explain how this was achieved l Install JDK 1 6 from the sun java website 7 2 Install NetBeans IDE from the NetBeans website 4 gt 0 2 10 Select newly created library from left tree structure libraries list 12 13 14 15 16 17 Installation of MapObjects Java Edition was done with CD provided by Dr Carl Eckberg in one class in GIS Integration of Netbeans and MOJO was done with adding MOJO library to IDE Start Netbeans Go to Menu Tools Libraries The window as shown Figure 6 I will appear after the steps above Click on New Library Type Library Name I named it as MOJO Figure 6 2 shows the screenshot of the window that appears after this step Select Classpath tab With the newly created library selected on the left Select the Classpath tab and select the Add JAR Folder Click on Add JAR Folder Figure 6 3 shows the screenshot of the window that appears after this step Navigate to folder where MOJO is installed Sample shown with H ThesissMitesh MOJ20 lib Figure 6 4 shows the screenshot of the window that appears after this step
22. better way for students to learn dry subjects interestingly and interactively History is the best example of this Students usually find it hard to read and learn about history Many students don t prefer to read history books The teaching culture has been changing over the past decade and use of electronic media 1s increasing Electronic teaching has been one of the most important mediums adapted since the increase in the use of computers and the internet Students are more receptive when taught via a visual and entertaining medium than through the more usual method of book reading Many students are more inclined to newer technologies and are have appetite to learn and use them GIS Multimedia Tool for Globalism is an interactive tool which allows Helix High School students to understand and learn about the efforts of ancient kings towards Globalism in a friendly format using text pictures and links to learn from the internet It will help to create more interest among students to learn about globalism This tool provides the geographical location of major battles fought by kings their causes and consequences and conclusion in a visual format which should make learning history interesting The tool provides very easily understandable interfaces which will easily accepted by students and help them to gain knowledge about the subject This tool has been developed using MapObjects and Java technologies NetBeans has been used as IDE Integrated Develop
23. curiosity and ease During working on this project there were lots of challenges that arouse and were accomplished successfully The main challenge was to collect information related to kings and wars conquered by them It was the toughest part of the thesis Another one was to implement a custom icon for Hotlink feature on Map layer Dr Carl Eckberg s explanation and his class notes helped to accomplish this successfully and in time Since this tool was developed with JAVA environment it supports multiple Operating Systems OS It uses default browser of a system to let students go on the internet which could be Internet Explorer Mozilla Firefox and Safari etc This 1s possible because JAVA developed projects are platform independent MOJO provides easy extendibility It will help to add new features or functionality to this tool effortlessly This can be converted to a web based application to provide better accessibility to students 1 2 5 4 5 6 7 5 9 10 40 BIBLIOGRAPHY Keshav Pande Cold War post World War II GIS support for US history Master s thesis San Diego State University San Diego CA 2009 Aditya Padhye Equal Rights Amendment ERA in United States history Master s thesis San Diego State University San Diego CA 2010 Webdotdev Java Advantages and Disadvantages 2007 http www webdotdev com nvd articles reviews Java Java advantages and disadvantages 1042 h
24. e the power of Persia in a series of decisive battles most notably the battles of Issus and Gaugamela Subsequently he overthrew the Persian king Darius and conquered the entirety of the Persian The Macedonian Empire now stretched from the Adriatic sea to the Indus River Following his desire to reach the ends of the world and the Great Outer Sea he invaded India in 326 BC but was eventually forced to turn back by the near mutiny of his troops Alexander died in Babylon in 323 BC without realizing a series of planned campaigns that would have begun with an invasion of Arabia In the years following Alexander s death a series of civil wars tore his empire apart which resulted in the formation of a number of states ruled by the Diadochi Alexander s surviving generals a Alexander the Great Basileus of Macedon Alexander fighting the Persian king Darius IIl From Alexander Mosaic Naples National Archaeological Museum 336 323 BC Although he is mostly remembered for his vast conquests Alexander s lasting legacy was not his reign but the cultural diffusion Euh his conquests engendered Alexander Ill of Macedon M yac gt 1 M gas Al xandros Alexander s settlement of Greek colonists and culture in the east resulted in new Hellenistic culture aspects of which were Great Alexander Asturianu still evident in the traditions of the Byzantine Empire until the mid 15th c
25. entury Alexander became legendary as a classical hero 6 M yac Al xandros ho Azarhavnanna z A ver ey D m cm D gt D Alawandar tha Meranti Internet Protected Mode Off 1006 v gt Figure 11 5 Wiki page 38 CHAPER 12 FUTURE ENHANCEMENT This tool provides a great framework which can be expanded to add more features and functionalities This tool has been developed using object oriented design in java which will allow reusing classes and extra features can be added with minimal code changes Some of the future enhancements proposed are Quiz section could be added with time based functionality The project can be localized to include different natural languages Web version of project could be developed using e g ArcIMS This application could be developed using Client Server Architecture For each king only the major battles have been covered the application can be modified to include other battles conquer by each king Picture Game has been added to the system More interactive games and puzzles can be added to make learning more interactive and enjoyable The tool can include other kings too which tried to win the whole world 39 CHAPER 13 CONCLUSION This tool has been developed to motivate students to learn interesting history information It will hopefully encourage student not to run away from history and learn it with
26. frd new FileReader cd currentdir WESRIN FileName BufferedReader br new BufferedReader frd String S while s br readLine null String l okenizer st new StringTokenizer s xOriginal Double parseDouble st nextToken yOriginal Double parseDouble st nextToken if FileName Genghiskhan csv if xOriginal 0 2 lt xMouse amp amp xMouse lt xOriginal 0 2 amp amp yOriginal 0 2 lt yMouse amp amp yMouse lt yOriginal 0 2 warName st nextToken flgLayerSelected true break j Figure 8 4 Hotlink button frd close catch Exception e System out printIn Exception 1 e if flgLayerSelected true try 1 DispDetail tp 2 new DispDetail warName FileName tp setSize 1280 765 tp show flgLayerSelected false catch Exception e JOptionPane showMessageDialog null The System went out of memory Please Login again and Restart the Application OOPS JOptionPane OR CANCEL OPTION 26 LOGOUT It allows user to logout from the system It prompts a user for credential to re login to the system ADD USER This button 1s only available for admin type user to add new user to the system DELETE USER It allows admin to delete a user from the system 21 CHAPTER 9 PROJECT LAYER A layer in GIS represents the geographic data of a certain area for a particular theme and 1s similar to a legend on a paper
27. map The following classes are used to implement a layer shown in the tool com esri mo2 map dpy BaseFeatureLayer class and com esri mo2 ui bean Layer class We can convert a CSV file to shape file by using the ArcMap tool see Figure 9 1 If we can do the same by the code File Edit Search View Encoding Language Settings Macro Run Plugins Window che A a 6188 Nal lt 2 59 25 7 431a Minor 27 2 40 36 Battle of the Granicus River 271 78 37 13 51ege of Halicarnassus 26 15 36 83 Battle of Isus 34 58 31 43 of Gaza 43 41 36 6 Battle of Gaugamela 51 58 30 70 Battle of the Persian Gat Ln 1 Cot 1 5el D DosWindows ANSI Figure 9 1 Sample of Alexander csv file try File file jfc getSelectedFile FileReader fred new FileReader CurrentDir currentdir ESRIM FileName BufferedReader in new BufferedReader fred String s in readLine double int n 0 28 String str while s in readLine null StringTokenizer st new StringTokenizer s str st nextToken x Double parseDouble str xCoordinate addElement x str st nextToken y Double parseDouble str yCoordinate addElement y bpa insertPoint n new com esri mo2 cs geom Point x y str st nextToken s2 addElement str str st nextToken s5 addElement str catch IOException e catchException System out printIn Error in Reading file in XY
28. ment Environment to design and implement the tool MapObjects is a suite of Java based developer components for creating client or server side mapping and GIS applications 1 The release of MapObjects Java Standard Edition allows a developer to build custom map applications using the open standard Java programming language Software developers can customize basic functionality to meet user specific requirements The report has been organized in thirteen chapters The first two chapters concentrate on are introduction about the thesis and the technologies that were used in the development of the tool Further chapters will discuss more about the thesis in detail in the following order e Requirement e Prototyping e Design e Implementation e Tools by MapObjects e Customtoolbar e MapLayers e Screenshot e Conclusion and Future Work CHAPTER 2 TECHNOLOGY This chapter provides information about the technologies used to accomplish the thesis project Technology requirements were supervised and suggested by Dr Carl Eckberg Map Objects Java Edition and Java have been used to develop this software 2 1 JAVA Java has noteworthy advantages over other programming languages and it provides integration with Map Objects Java Edition easily Java s platform independence early deployment and automatic memory handling was an added advantage in selecting Java as the development language e Java is simple Java 1s considered to be an e
29. om the map The layer can be added to the map by using the add Layer option If the war shape file 1s removed click on the wars menu and select one of the wars from the list 11 3 ADD USER This option is only available for admin user Clicking on Add User button opens add user screen see Figure 11 3 Admin enters the username and password selects the user type and clicks on the save button 36 Z Add User UserName Password U student professor emen Figure 11 3 Add user 11 4 DELETE USER This option is only available for admin user Clicking on Delete User button opens delete user screen see Figure 11 4 Admin selects the username from drop down list and clicks on delete button ES Delete User UserName admin Figure 11 4 Delete user 11 4 DISPLAYBATTLE NAME Clicking on the Display battle sites option displays the battle names on the map see Figure 11 4 After selecting this option this button becomes disabled It again becomes enabled when the user selects the clear battle sites option 11 5 WIKI PAGE Clicking on the hyperlink button displays the wikipage in browser corresponding to each king see Figure 11 5 WIKIPEDIA The Free Encyclopedia Main page Contents Featured content Current events Random article Donate to Wikipedia Interaction Help About Wikipedia Community portal Recent changes Contact Wikipedia b Toolbox b Print export Languages Afrikaans
30. or java awt Cursor DEFAULT CURSOR map setSelectedTool arrow W setting the map tool to arrow The following code explains how to create the Arrow class import com esri mo2 ui bean Tool import java awt event MouseEvent public class Arrow extends Tool public void mouseClicked MouseEvent j j HYPERLINK This tool has been implemented to allow the user to go on the internet by clicking it to read more about a particular king which 1s one of the primary requirements for a this tool When users click on this tool it will let the user to read a wiki page for the current selected king if FileName equals Alexander csv I String king http en wikipedia org wiki Alexander the Great 24 try Runtime getRuntime exec rundl132 url dll FileProtocolHandler king catch Exception e catchException j j HOT LINK It allows a user to read more detailed information about a particular war fought by a king Users have to select a layer first click on the hotlink button and click on start on a star on map to read more about it Figure 8 4 depicts this functionality The code to integrate the feature with the system is public void lighteningBolt com esri mo2 cs geom Point worldPoint Double xOriginal null yOriginal null String warName double xMouse Double parseDouble df format worldPoint getX double yMouse Double parseDouble df format worldPoint getY try FileReader
31. requirement in the project Hotlink is that after clicking on the battle sites it opens a window giving information about the selected battle site Hyperlink This tool should allow the user to go to external links to get more information about the battle An admin professor should be able to perform all the functionalities for a normal user Also admin should be able to add and delete users from the system User should be able to log out from the system with the logout button and login back into the system The tool should provide a Help facility These requirements were finalized after a series of prototyping meetings with Mr Richard Sutton 3 4 STUDENT CENTRIC REQUIREMENTS The student centric requirements arise by keeping high school students in mind The system was developed keeping them in mind The student centric requirements were gathered from Mr Richard Sutton from Helix High School as follows The tool should be easy to use and easy to configure by students Tools should have tooltip and help facilities to help students to understand software easily and without much effort The language used to describe battles should not be complex It should be easily understandable though descriptive and informative Use of images and videos to make learning about the wars more interactive and informative CHAPTER 4 PROTOTYPING Prototyping refers to the activity of creating prototypes of the application which is
32. s The main class 1s InitMap class as shown in Figure 5 2 It depicts the name of class main attributes and operation performed by class Table 5 1 Importing Classes and Classes Used for Development Package Class Name import javax swing JMenuBar JMenultem Abstract ableModel TableColumn JButtons JPanel JSplitPane JToolBar Imagelcon import com esri mo2 ui bean TocAdapter TocEvent Map Layer Toc Legend Tool import com esri mo2 ui tb ZoomPanToolBar SelectionToolBar ProjectToolBar import com esri mo2 file shp ShapefileWriter ShapefileFolder import com esri mo2 map dpy BaseFeatureLayer Layerset FeatureLayer InitMap class interacts with other main classes as shown in Figure 5 3 It also shows the interaction with hotlink and hyperlink class 13 Attributes package map new package Toc toc new package JMenu edit new JMenu Display package JMenu layercontral new JMenu LayerControl package JMenu king new JMenu Kings package String s1 cd currentdir NESRINWaorldlcities shp package String s2 cd currentdir VESRINWorldWatitude longitude shp package ve Ew Ping Figure 5 2 InitMap Toe too ridis TOEG aai a er ees Figure 5 3 Class diagram 14 15 CHAPTER 6 MAPOBJECTS CONFIGURATION WITH NETBEANS IDE This project was developed with the choice of NetBeans as the IDE as it provides easy integr
33. s the functionality to describe data related to Efforts made towards Globalism on a map with several geographical features The tool also has external links to the internet for further reading as well as a visually pretty GUI to help students to interact with 1t and learn history easily Usage of this tool would help to motivate students to learn history related topic effortlessly which usually students find a little bit mind numbing vi TABLE OF CONTENTS PAGE AB TRAC D NNN V HSTOFTABLE S c viii LAST OR EIGUR 2 BE Site out se XI ACKNOWLEDGEMENTS A N X CHAPTER t INTRODUC HON EE 1 2 ETNE 3 PAULI ccr E 3 22 Map Objects Jaya 4 gt THE REQUTREMIEN Bs 6 Data EEE venl 6 3 2 Prat orni Redu remeis ad 6 5 Functonal eut 7 JA student Ce RENN acci ee ai 8 ds TROOTERN TTT 9 o 11 5 1 High Level Architecture Diagram 11 5 2 Class s and Class R vI 12 6 MAPOBJECTS CONFIGURATION WITH NETBEANS IDE 15 MAPOBIECTS TOOLBARS Suva 19 7 1 comoesrr imo2 ur tb projecttoolbat dt 19 19 o SCUS TOMO O UB NR 21 9 PROIECT LAX asad ac eased PN 27 IO ADDITIONAL TOOLS eens 30 IC O Ordinales Dis Play nein iita eod cM quU nee odas OE 30 102 Help
34. tch between different kings easily The user can click on a different king name as shown in Figure 10 4 to change the map s layer to display information about that king accordingly The user can drag it to any part of display window as per his convenience T lt P GS amun E mr ERRER Low lll AMEN der M SM EI i _ wu _ EN E pars 10 4 King toolbar 34 CHAPTER 11 SCREENSHOTS 11 1 LOGIN SCREEN The login screen will load when the user starts the project The user should provide his username and password credentials and click login button The map screen will be viewed depending upon user privileges see Figure 11 1 Login Screen Username 2 Password Login Cancel Figure 11 1 Login screen 11 2 MAP VIEW Once the user successfully logs in he is then transferred to Map View displaying information about king Alexander The user can change the King from the Menu or the King Tool bar The map will display each country ruled by a particular king in a particular color while other countries are in gray color see Figure 11 2 Different tools can be used to manipulate the map view as per requirements Important toolbar options e Zoom to full Extent View default view of the map Zoom to full extent button is mainly used to return to default view from zoom in and zoom out options e Zoom in
35. tent Click on Help Icon and then click Zoom To Full Extent icon in the toolbar 5 PanOneDirection Click on Help Icon and then click PanOneDirection icon in the toolbar 6 Pan Click on Help Icon and then click Pan icon in the toolbar 7 Print Click on Help Icon and then click Print icon in the toolbar 8 HotLink Select any layer and Click on the Hotlink Button Click on any battle you want to view information Window giving summary of the battle selected opens 9 Add User Add New user to the system Button visible only when signed in as Admin 10 Delete User Delete user from the system Button visible only when signed in as Admin 11 Logout Logout from the System Login Page opens Sign in back as Normal User OR Admin 12 Arrow Tool Use this tool to move back to Normal Cursor and cancel Hotlink 13 Delete Layer Select the layer to be deleted and click the Delete Layer button The layer selected is deleted from the list Figure 10 2 Help window 10 3 DISPLAY INFO This tool will allow the user to know about battle names after the user clicks on a star symbol on the map The display window is displayed with the name of the battle and a Read More button as shown in Figure 10 3 Read More button will allow the user to read more details about particular a war Kings Help KOM ST X X Tan a ar EST Figure 10 3 Display info 10 4 KING TOOLBAR This tool will allow the user to swi
36. tml accessed Sept 2010 NetBeans NetBeans IDE for Java Developers 2010 http www netbeans org downloads accessed Sept 2010 Wikipedia org Prototyping 2010 http en wikipedia org wiki Prototype accessed Sept 2010 Wikipedia org Class Diagram 2011 http en wikipedia org wiki Class_diagram accessed Mar 2011 Oracle Java SE Downloads 2010 http www oracle com technetwork java javase downloads index html accessed Sept 2010 Chintan Sheth GIS multimedia tool for significant wars from 1775 to 1950 Master s thesis San Diego State University San Diego CA 2010 ESRI Map Objects Java Edition 2003 www usgsquads com downloads factsheets ESRI_map_objects_java pdf accessed Nov 2010 Carl Eckberg Notes on MapObjects Java Edition San Diego State University San Diego CA 2010
37. xisting application architectures Supported data formats include industry standard shapefiles ArcSDE layers ArcIMS image and feature services image formats such as BMP TIFF PNG JPG GIF and MrSID CAD DGN DXF and DWG military formats and much more You can also use Map Objects Java Edition to access files from your own custom industry specific data sources for easy integration Ability to deploy ones Applications over the Web One can easily distribute Map Objects Java Edition applications over an internet or intranet through browser hosted applets or simplify web delivery of your application with the use of Sun Java web start technology the industry standard launching mechanism for distributing Java applications over the web Helpful Tools for building a user interface By using the rich Swing components included with Map Objects Java Edition you can quickly build applications that include functional toolbars dynamic symbol control query dialogs overview and insert maps and intelligent legends that make your custom applications easy to use and even easier to develop Server side JZEE Components The server side map component in Map Objects Java Edition allows developers to build map services Java Server Pages JSPs and servlets or custom Enterprise JavaBeans EJB Web based mapping applications Several extensive sample applications based on JSPs and EJBs are provided to demonstrate how to build robust Web applications with

Download Pdf Manuals

image

Related Search

Related Contents

  製品組立・取扱説明書  NPower ID - Credential Management System - AV-iQ  RCA M5504 User's Manual  Bedienungsanleitung - LTT  リコール製品で火災(ガスふろがま(無償点検・部品交換))等[PDF:229KB]  

Copyright © All rights reserved.
Failed to retrieve file